# DATA# object instanciation
from Modules.Properties.Data import Data
data0= Data()

# instance settings
data0.Description ='surface flag, bit0=1 => on SC, bit1=1 => is a thin surface (2D), bit3=1 => on boundary '
data0.Id =1
data0.Local =2
data0.LockedValue =1
data0.Name ='SurfFlag'
data0.Type ='Int*1'
data0.Unit =''
data0.Value =1
# object instanciation
from Modules.Properties.Data import Data
data1= Data()

# instance settings
data1.Description ='edge flag, bit0=1 => on SC, bit1=1 => is a thin surface (2D), bit2=1 => is a wire (1D), bit3=1 => on boundary'
data1.Id =2
data1.Local =1
data1.LockedValue =1
data1.Name ='EdgeFlag'
data1.Type ='Int*1'
data1.Unit =''
data1.Value =1
# object instanciation
from Modules.Properties.Data import Data
data2= Data()

# instance settings
data2.Description ='node flag, bit0=1 => on SC, bit1=1 => is a thin surface (2D), bit2=1 => is a wire (1D), bit3=1 => on boundary'
data2.Id =3
data2.Local =0
data2.LockedValue =1
data2.Name ='NodeFlag'
data2.Type ='Int*1'
data2.Unit =''
data2.Value =1
# object instanciation
from Modules.Properties.Data import Data
data3= Data()

# instance settings
data3.Description ='nodes coordinates'
data3.Id =4
data3.Local =0
data3.LockedValue =1
data3.Name ='Xyz'
data3.Type ='Int*3'
data3.Unit ='[m]'
data3.Value =[0.0, 0.0, 0.0]
# object instanciation
from Modules.Properties.Data import Data
data4= Data()

# instance settings
data4.Description ='If 1, volume interaction is computed in that region (typically charge exchange)'
data4.Id =5
data4.Local =3
data4.LockedValue =1
data4.Name ='VolInteracFlag'
data4.Type ='INT'
data4.Unit =''
data4.Value =0
# object instanciation
from Modules.Properties.Data import Data
data5= Data()

# instance settings
data5.Description ='Fixed background density used to compute volume interaction (typically: neutral density)'
data5.Id =6
data5.Local =3
data5.LockedValue =1
data5.Name ='BackGroundDens'
data5.Type ='FLOAT'
data5.Unit ='[m-3]'
data5.Value =0.0
# object instanciation
from Modules.Properties.Data import Data
data6= Data()

# instance settings
data6.Description ='surface flag of a surface mesh, bit1=0 => a thin surface'
data6.Id =1
data6.Local =2
data6.LockedValue =1
data6.Name ='SurfFlagS'
data6.Type ='Int*1'
data6.Unit =''
data6.Value =0
# object instanciation
from Modules.Properties.Data import Data
data7= Data()

# instance settings
data7.Description ='surface real physical thickness in case it is considered as thin from the mesh viewpoint (thickness not meshed)'
data7.Id =2
data7.Local =2
data7.LockedValue =1
data7.Name ='SurfThicknessS'
data7.Type ='Int*1'
data7.Unit =''
data7.Value =0
# object instanciation
from Modules.Properties.Data import Data
data8= Data()

# instance settings
data8.Description ='edge flag of a surface mesh, bit0=1 => is on a wire, bit1=1 => is on a thin surface'
data8.Id =3
data8.Local =1
data8.LockedValue =1
data8.Name ='EdgeFlagS'
data8.Type ='Int*1'
data8.Unit =''
data8.Value =0
# object instanciation
from Modules.Properties.Data import Data
data9= Data()

# instance settings
data9.Description ='real physical wire radius in case this edge is indeed a wire (wire cylinder not meshed)'
data9.Id =4
data9.Local =1
data9.LockedValue =1
data9.Name ='EdgeRadiusS'
data9.Type ='Int*1'
data9.Unit ='[m]'
data9.Value =0
# object instanciation
from Modules.Properties.Data import Data
data10= Data()

# instance settings
data10.Description ='node flag of a surface mesh, bit0=1 => node of a wire, bit1=1 => node of thin surface'
data10.Id =5
data10.Local =0
data10.LockedValue =1
data10.Name ='NodeFlagS'
data10.Type ='Int*1'
data10.Unit =''
data10.Value =0
# object instanciation
from Modules.Properties.Data import Data
data11= Data()

# instance settings
data11.Description ='nodes coordinates'
data11.Id =6
data11.Local =0
data11.LockedValue =1
data11.Name ='XyzS'
data11.Type ='Int*3'
data11.Unit ='[m]'
data11.Value =[0.0, 0.0, 0.0]
# object instanciation
from Modules.Properties.Data import Data
data12= Data()

# instance settings
data12.Description ='If 1, Dirichlet condition for Poisson equation on SC (fixed potential)'
data12.Id =7
data12.Local =0
data12.LockedValue =1
data12.Name ='SCDiriFlag'
data12.Type ='INT'
data12.Unit =''
data12.Value =1
# object instanciation
from Modules.Properties.Data import Data
data13= Data()

# instance settings
data13.Description ='The potential to be used for Dirichlet condition'
data13.Id =8
data13.Local =0
data13.LockedValue =1
data13.Name ='SCDiriPot'
data13.Type ='FLOAT'
data13.Unit ='[V]'
data13.Value =0.0
# object instanciation
from Modules.Properties.Data import Data
data14= Data()

# instance settings
data14.Description ='The potential to be used for Dirichlet condition, localised on surfaces'
data14.Id =9
data14.Local =1
data14.LockedValue =1
data14.Name ='SCDiriPotEdge'
data14.Type ='FLOAT'
data14.Unit ='[V]'
data14.Value =0.0
# object instanciation
from Modules.Properties.Data import Data
data15= Data()

# instance settings
data15.Description ='The potential to be used for Dirichlet condition, localised on surfaces'
data15.Id =10
data15.Local =2
data15.LockedValue =1
data15.Name ='SCDiriPotSurf'
data15.Type ='FLOAT'
data15.Unit ='[V]'
data15.Value =0.0
# object instanciation
from Modules.Properties.Data import Data
data16= Data()

# instance settings
data16.Description ='If 1, Fourier condition for Poisson equation on SC: alpha pot + d(pot)/dn = value'
data16.Id =11
data16.Local =2
data16.LockedValue =1
data16.Name ='SCFourFlag'
data16.Type ='INT'
data16.Unit =''
data16.Value =0
# object instanciation
from Modules.Properties.Data import Data
data17= Data()

# instance settings
data17.Description ='Alpha parameter in Fourier condition:alpha pot + d(pot)/dn = value'
data17.Id =12
data17.Local =2
data17.LockedValue =1
data17.Name ='SCFourAlpha'
data17.Type ='FLOAT'
data17.Unit ='[m-1]'
data17.Value =1.0
# object instanciation
from Modules.Properties.Data import Data
data18= Data()

# instance settings
data18.Description ='Right hand side parameter in Fourier condition : alpha pot + d(pot)/dn = value NB: note the centring different from other Fourier parameters'
data18.Id =13
data18.Local =0
data18.LockedValue =1
data18.Name ='SCFourValue'
data18.Type ='FLOAT'
data18.Unit ='[V/m]'
data18.Value =0.0
# object instanciation
from Modules.Properties.Data import Data
data19= Data()

# instance settings
data19.Description ='Id/type of an artificial plasma source defined on the spacecraft (e.g. thruster or ion gun)'
data19.Id =14
data19.Local =2
data19.LockedValue =1
data19.Name ='SourceId'
data19.Type ='INT'
data19.Unit =''
data19.Value =-1
# object instanciation
from Modules.Properties.Data import Data
data20= Data()

# instance settings
data20.Description ='Current of an artificial source defined on the spacecraft (NB: for some sources the unit can be different, e.g. the particle number, or the total current)'
data20.Id =15
data20.Local =2
data20.LockedValue =1
data20.Name ='SourceCurrent'
data20.Type ='FLOAT'
data20.Unit ='[A/m2]'
data20.Value =0.0
# object instanciation
from Modules.Properties.Data import Data
data21= Data()

# instance settings
data21.Description ='Temperature of the emitted Maxwellian distribution'
data21.Id =16
data21.Local =2
data21.LockedValue =1
data21.Name ='SourceTemp'
data21.Type ='FLOAT'
data21.Unit ='[eV]'
data21.Value =1.0
# object instanciation
from Modules.Properties.Data import Data
data22= Data()

# instance settings
data22.Description ='Source Mach number (0 => Lambertian)'
data22.Id =17
data22.Local =2
data22.LockedValue =1
data22.Name ='SourceMach'
data22.Type ='FLOAT'
data22.Unit ='[-]'
data22.Value =0.0

# Be carefull:SAVED DATA STRUCTURE, program generated script!
# DO NOT EDIT, if you are not sure of what you are doing

# object instanciation
from Modules.Properties.DataList import DataList
dataList= DataList()

# instance settings
dataList.IdList =[1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
dataList.List =[data0,data1,data2,data3,data4,data5,data6,data7,data8,data9,data10,data11,data12,data13,data14,data15,data16,data17,data18,data19,data20,data21,data22]
dataList.NbData =23

# Be carefull:SAVED DATA STRUCTURE, program generated script!
# DO NOT EDIT, if you are not sure of what you are doing

# object instanciation
from Modules.Properties.Plasma import Plasma
plasma= Plasma()

# instance settings
plasma.DataList =dataList
plasma.Description ='Default SC settings: 0 Dirichlet potential, no source'
plasma.Id =200
plasma.Name ='Spacecraft, default'
