Removed comments and added examples
This commit is contained in:
@@ -24,9 +24,8 @@ START OF A SIMULATION:
|
|||||||
The simulation needs a JSON file that describes the physical and numerical
|
The simulation needs a JSON file that describes the physical and numerical
|
||||||
parameters of the simulation. One such file is provided with the source code
|
parameters of the simulation. One such file is provided with the source code
|
||||||
(simulation_config/test_parameter.json).
|
(simulation_config/test_parameter.json).
|
||||||
The JSON file also contains the location for the simulation output. The default
|
The JSON file also contains the location for the simulation output. Before
|
||||||
directory for this is /tmp which only works for simulations on a single node.
|
running on a cluster you should
|
||||||
Before running on a cluster you should
|
|
||||||
|
|
||||||
edit the JSON file, adjust "folder" and "filename" in the "Output" section.
|
edit the JSON file, adjust "folder" and "filename" in the "Output" section.
|
||||||
|
|
||||||
|
|||||||
+3
-8
@@ -5,17 +5,12 @@ DEBUG_LEVEL = 0
|
|||||||
# Timer
|
# Timer
|
||||||
USE_TIMER = false
|
USE_TIMER = false
|
||||||
|
|
||||||
# Catch
|
|
||||||
CATCH_DIR = $(HOMEBASE)/external/catch
|
|
||||||
CATCH_INCLUDES = -I$(CATCH_DIR)
|
|
||||||
|
|
||||||
# Blitz
|
# Blitz
|
||||||
BLITZ_DIR = $(HOMEBASE)/external/blitz/build/
|
BLITZ_INC_DIR = /usr/include/blitz/
|
||||||
BLITZ_INC_DIR = $(BLITZ_DIR)include/
|
|
||||||
BLITZ_LIB_DIR = $(BLITZ_DIR)lib/
|
|
||||||
|
|
||||||
BLITZ_INCLUDES = -I$(BLITZ_INC_DIR)
|
BLITZ_INCLUDES = -I$(BLITZ_INC_DIR)
|
||||||
BLITZ_LIBS = -L$(BLITZ_LIB_DIR) -lblitz -lm
|
BLITZ_LIBS = -lblitz -lm
|
||||||
|
|
||||||
# HDF5
|
# HDF5
|
||||||
#HDF5_DIR = /usr/include/hdf5/
|
#HDF5_DIR = /usr/include/hdf5/
|
||||||
@@ -26,7 +21,7 @@ HDF5P_INCLUDES = -I$(HDF5P_INC_DIR)
|
|||||||
HDF5P_LIBRARIES = -L$(HDF5P_LIB_DIR) -lz -lhdf5_hl -lhdf5
|
HDF5P_LIBRARIES = -L$(HDF5P_LIB_DIR) -lz -lhdf5_hl -lhdf5
|
||||||
|
|
||||||
# Janson
|
# Janson
|
||||||
JANSON_DIR = $(HOMEBASE)/external/jansson/
|
JANSON_DIR = /usr/include/
|
||||||
JANSON_INC_DIR = $(JANSON_DIR)
|
JANSON_INC_DIR = $(JANSON_DIR)
|
||||||
JANSSON_LIBRARIES = -ljansson
|
JANSSON_LIBRARIES = -ljansson
|
||||||
JANSSON_INCLUDES = -I$(JANSON_INC_DIR)
|
JANSSON_INCLUDES = -I$(JANSON_INC_DIR)
|
||||||
|
|||||||
Vendored
-25
@@ -1,25 +0,0 @@
|
|||||||
dummy: all
|
|
||||||
# Auf Solaris muss blitz mit dem Sun Studio Compiler gebaut werden
|
|
||||||
# der ist zwar scheisse, funktioniert mit blitz aber. :)
|
|
||||||
ZIP = tar
|
|
||||||
|
|
||||||
|
|
||||||
NAME_TAR = blitz-1.0.2.tar.gz
|
|
||||||
NAME = blitz-1.0.2
|
|
||||||
|
|
||||||
BLITZ_FOLDER=/external/blitz/
|
|
||||||
|
|
||||||
all:
|
|
||||||
$(ZIP) -xf $(NAME_TAR)
|
|
||||||
mkdir -p build
|
|
||||||
mkdir -p build/include
|
|
||||||
mkdir -p build/lib
|
|
||||||
cd $(NAME) && autoreconf -fiv && autoconf && automake --add-missing
|
|
||||||
cd $(NAME) && ./configure --prefix=$(HOMEBASE)$(BLITZ_FOLDER)build/ --includedir=$(HOMEBASE)$(BLITZ_FOLDER)build/include/ --libdir=$(HOMEBASE)$(BLITZ_FOLDER)build/lib/
|
|
||||||
cd $(NAME) && $(MAKE)
|
|
||||||
cd $(NAME) && $(MAKE) lib
|
|
||||||
cd $(NAME) && $(MAKE) install
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-rm -rf $(HOMEBASE)$(BLITZ_FOLDER)blitz-1.0.2
|
|
||||||
-rm -rf $(HOMEBASE)$(BLITZ_FOLDER)build
|
|
||||||
Vendored
BIN
Binary file not shown.
Vendored
-17698
File diff suppressed because it is too large
Load Diff
Vendored
-24
@@ -1,24 +0,0 @@
|
|||||||
dummy: all
|
|
||||||
# Auf Solaris muss blitz mit dem Sun Studio Compiler gebaut werden
|
|
||||||
# der ist zwar scheisse, funktioniert mit blitz aber. :)
|
|
||||||
ZIP = tar
|
|
||||||
|
|
||||||
|
|
||||||
NAME_TAR = jansson-2.13.tar.gz
|
|
||||||
NAME = jansson-2.13
|
|
||||||
|
|
||||||
JANSSON_FOLDER=/external/jansson/
|
|
||||||
|
|
||||||
all:
|
|
||||||
$(ZIP) -xf $(NAME_TAR)
|
|
||||||
mkdir -p build
|
|
||||||
mkdir -p build/include
|
|
||||||
mkdir -p build/lib
|
|
||||||
#cd $(NAME) && autoreconf -fiv && automake --add-missing
|
|
||||||
cd $(NAME) && ./configure --prefix=$(HOMEBASE)$(JANSSON_FOLDER)build/ --includedir=$(HOMEBASE)$(JANSSON_FOLDER)build/include/ --libdir=$(HOMEBASE)$(JANSSON_FOLDER)build/lib/
|
|
||||||
cd $(NAME) && $(MAKE)
|
|
||||||
cd $(NAME) && $(MAKE) install
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-rm -rf $(HOMEBASE)$(JANSSON_FOLDER)$(NAME)
|
|
||||||
-rm -rf $(HOMEBASE)$(JANSSON_FOLDER)build
|
|
||||||
Vendored
BIN
Binary file not shown.
@@ -1,74 +0,0 @@
|
|||||||
{
|
|
||||||
"Functions": {
|
|
||||||
"1Dto1D examples": {
|
|
||||||
"f1": {
|
|
||||||
"PiecewiseLinear": {
|
|
||||||
"xValues": [0, 1.43, 3],
|
|
||||||
"yValues": [5E-4, 0.002, 0.02],
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"f2": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"f3": {
|
|
||||||
"Product": [
|
|
||||||
{
|
|
||||||
"Constant": {
|
|
||||||
"constant": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Constant": {
|
|
||||||
"constant": 3
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"f4": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "path/relative",
|
|
||||||
"Filename": "data.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/xvalues",
|
|
||||||
"yValuesKey": "/yvalues",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"f5": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "AbsolutPath",
|
|
||||||
"RelativePath": "/some/absolut/path",
|
|
||||||
"Filename": "data.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/xvalues",
|
|
||||||
"yValuesKey": "/yvalues",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"3dto1D examples": {
|
|
||||||
"f1": {
|
|
||||||
"Constant3D": {
|
|
||||||
"constant": 2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"f2": {
|
|
||||||
"Product": {
|
|
||||||
"fi": { "Constant": {"constant": 2 }},
|
|
||||||
"fj": { "Constant": {"constant": 2 }},
|
|
||||||
"fk": { "PiecewiseLinear": {
|
|
||||||
"xValues": [0, 1.43, 3],
|
|
||||||
"yValues": [5E-4, 0.002, 0.02],
|
|
||||||
"prefactor": 1 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,214 +0,0 @@
|
|||||||
{
|
|
||||||
"e- standart interactions":
|
|
||||||
{
|
|
||||||
"elastic_example1": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "T2",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "eT2_elastic_scattering"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"elastic_example2": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "T2",
|
|
||||||
"CrossSection": {
|
|
||||||
"1dFunction": {
|
|
||||||
"Constant":{
|
|
||||||
"constant": 1E-20
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ionization_example1": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevNonDiss",
|
|
||||||
"Target": "T2",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T2+"
|
|
||||||
},
|
|
||||||
"ionization_example2": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToGround",
|
|
||||||
"Target": "T2",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"ionization_example3": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToFirstExcited",
|
|
||||||
"Target": "T2",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"excitation_example0": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_B1"
|
|
||||||
},
|
|
||||||
"excitation_example1": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_B1prime"
|
|
||||||
},
|
|
||||||
"excitation_example2": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_B1primeprime"
|
|
||||||
},
|
|
||||||
"excitation_example3": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_C1"
|
|
||||||
},
|
|
||||||
"excitation_example4": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_D1"
|
|
||||||
},
|
|
||||||
"excitation_example5": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_D1prime"
|
|
||||||
},
|
|
||||||
"excitation_example6": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_EF1"
|
|
||||||
},
|
|
||||||
"excitation_example7": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_HHb"
|
|
||||||
},
|
|
||||||
"excitation_example8": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_GK1"
|
|
||||||
},
|
|
||||||
"excitation_example9": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_I1"
|
|
||||||
},
|
|
||||||
"excitation_example10": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_triplet_A3"
|
|
||||||
},
|
|
||||||
"excitation_example11": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_triplet_B3"
|
|
||||||
},
|
|
||||||
"excitation_example12": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_triplet_C3"
|
|
||||||
},
|
|
||||||
"excitation_example13": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_triplet_E3"
|
|
||||||
},
|
|
||||||
"excitation_example14": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_triplet_D3"
|
|
||||||
},
|
|
||||||
"excitation_example15": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_vibrational_first"
|
|
||||||
},
|
|
||||||
"excitation_example16": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "janev_vibrational_second"
|
|
||||||
},
|
|
||||||
"excitation_example17": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "england_rotational_j0_to_j2"
|
|
||||||
},
|
|
||||||
"excitation_example18": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "T2",
|
|
||||||
"ExcitationState": "england_rotational_j1_to_j3"
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T+ standart interactions": {
|
|
||||||
"elasitc scattering": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "T2",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_elasitc_scattering_tabata"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering1": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "T2",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_clustering_radiative_ascendion_pasil"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering2": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "T2",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_clustering_tertiary_ascendion_pasil"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T2+ standart interactions": {
|
|
||||||
"charge exchange": {
|
|
||||||
"Type": "ChargeExchange",
|
|
||||||
"Target": "T2",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T2pT2_charge_exchange_janev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "T2",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T2pT2_clustering_janev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T3+ standart interactions":{
|
|
||||||
"elastic scattering": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "T2",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T3pT2_elasitc_scattering_tabata"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,841 +0,0 @@
|
|||||||
{
|
|
||||||
"GlobalPositionBinning": {
|
|
||||||
"CylinderBinning": {
|
|
||||||
"Radial": {
|
|
||||||
"NumberOfBins": 15,
|
|
||||||
"MaxRadius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Longitudinal": {
|
|
||||||
"NumberOfBins": 1657,
|
|
||||||
"MaxLength": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Azimuthal": {
|
|
||||||
"NumberOfBins": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"SourceGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Species": {
|
|
||||||
"Background": {
|
|
||||||
"TritiumGas": {
|
|
||||||
"ParticleType": "T2",
|
|
||||||
"ConstantDensityField": {
|
|
||||||
"ScalarField": {
|
|
||||||
"ScalarFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/densityDistributions/T2",
|
|
||||||
"Filename": "T2_n_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/n(m3)",
|
|
||||||
"prefactor": 1E20
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"MaxwellBoltzmann": {
|
|
||||||
"Temperature": {
|
|
||||||
"value": 80,
|
|
||||||
"unit": "K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "T2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocityDistributions/T2_vz/KuckertPaper",
|
|
||||||
"Filename": "T2_vz_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/vz(ms)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Tracked": {
|
|
||||||
"e-": {
|
|
||||||
"ParticleType": "electron",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-12,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"ReflectorDPS": {
|
|
||||||
"position_z": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 20E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elastic": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "eT2_elastic_scattering"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"CompositeAngleDistribution": {
|
|
||||||
"LowerDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
},
|
|
||||||
"HigherDistribution": {
|
|
||||||
"AngleDistributionFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/crossSections/eT2_elastic_scattering",
|
|
||||||
"Filename": "eT2_elastic_cross_section_scattering_angle.h5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DeciderEnergy": {
|
|
||||||
"value": 10,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ionization1": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevNonDiss",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T2+"
|
|
||||||
},
|
|
||||||
"ionization2": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToGround",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"ionization3": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToFirstExcited",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"excitation0": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_B1"
|
|
||||||
},
|
|
||||||
"excitation1": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_B1prime"
|
|
||||||
},
|
|
||||||
"excitation2": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_B1primeprime"
|
|
||||||
},
|
|
||||||
"excitation3": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_C1"
|
|
||||||
},
|
|
||||||
"excitation4": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_D1"
|
|
||||||
},
|
|
||||||
"excitation5": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_D1prime"
|
|
||||||
},
|
|
||||||
"excitation6": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_EF1"
|
|
||||||
},
|
|
||||||
"excitation7": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_HHb"
|
|
||||||
},
|
|
||||||
"excitation8": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_GK1"
|
|
||||||
},
|
|
||||||
"excitation9": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_I1"
|
|
||||||
},
|
|
||||||
"excitation10": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_A3"
|
|
||||||
},
|
|
||||||
"excitation11": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_B3"
|
|
||||||
},
|
|
||||||
"excitation12": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_C3"
|
|
||||||
},
|
|
||||||
"excitation13": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_E3"
|
|
||||||
},
|
|
||||||
"excitation14": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_D3"
|
|
||||||
},
|
|
||||||
"excitation15": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_vibrational_first"
|
|
||||||
},
|
|
||||||
"excitation16": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_vibrational_second"
|
|
||||||
},
|
|
||||||
"excitation17": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "england_rotational_j0_to_j2"
|
|
||||||
},
|
|
||||||
"excitation18": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "england_rotational_j1_to_j3"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T2+": {
|
|
||||||
"ParticleType": "T2+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"charge exchange": {
|
|
||||||
"Type": "ChargeExchange",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T2pT2_charge_exchange_janev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T2pT2_clustering_janev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T+": {
|
|
||||||
"ParticleType": "T+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elasitc scattering": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_elasitc_scattering_tabata"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering1": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_clustering_radiative_ascendion_pasil"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering2": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_clustering_tertiary_ascendion_pasil"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T3+": {
|
|
||||||
"ParticleType": "T3+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elastic scattering": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T3pT2_elasitc_scattering_tabata"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Injector": {
|
|
||||||
"CreatedSpecies": {
|
|
||||||
"specie1": {
|
|
||||||
"TrackedSpecieName": "e-",
|
|
||||||
"CreationVelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"TritiumBetaDecay": {}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "electron"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"specie2": {
|
|
||||||
"TrackedSpecieName": "T2+",
|
|
||||||
"CreationVelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"MaxwellBoltzmann": {
|
|
||||||
"Temperature": {
|
|
||||||
"value": 80,
|
|
||||||
"unit": "K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "T2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"EventPositionDistribution": {
|
|
||||||
"ScalarField": {
|
|
||||||
"ScalarFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/densityDistributions/T2",
|
|
||||||
"Filename": "T2_n_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/n(m3)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DensityLimit": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 1
|
|
||||||
},
|
|
||||||
"PositionLimits": {
|
|
||||||
"rPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 0.045
|
|
||||||
},
|
|
||||||
"phiPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 6.28318530718
|
|
||||||
},
|
|
||||||
"zPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 16.57
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MotherDriftVelocity": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocityDistributions/T2_vz/KuckertPaper",
|
|
||||||
"Filename": "T2_vz_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/vz(ms)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Activity": {
|
|
||||||
"value": 1E15,
|
|
||||||
"unit": "Bq"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ElectricField": {
|
|
||||||
"Background": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"constant": {
|
|
||||||
"vector": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "V/m"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Dynamic": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"constant": {
|
|
||||||
"vector": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "V/m"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MagneticField": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/magneticField/Kassiopeia",
|
|
||||||
"Filename": "B_vs_z_kassiopeia_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/B(T)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"PoissonSolver": {
|
|
||||||
"UseInSimulation": "false"
|
|
||||||
},
|
|
||||||
"Simulation": {
|
|
||||||
"SimulatedEvents": 1000000,
|
|
||||||
"EventStride": 10
|
|
||||||
},
|
|
||||||
"Output": {
|
|
||||||
"folder": "output",
|
|
||||||
"filename": "karl_output",
|
|
||||||
"DensityFields": {
|
|
||||||
"Species": "all",
|
|
||||||
"Intervall": 1,
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
},
|
|
||||||
"CurrentBorders": {
|
|
||||||
"Species": "all",
|
|
||||||
"Intervall": "EachSync",
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
},
|
|
||||||
"DeletionLogger": {
|
|
||||||
"Species": "all",
|
|
||||||
"Intervall": "EachSync",
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"RandomNumbers": {
|
|
||||||
"Seed": 1337
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"Example1": {
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Example2": {
|
|
||||||
"ReflectorDPS": {
|
|
||||||
"position_z": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"ScalarFields": {
|
|
||||||
"field1": {
|
|
||||||
"ScalarFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Constant3D": {
|
|
||||||
"constant": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
{
|
|
||||||
"Distribution1": {
|
|
||||||
"Isotropic": {}
|
|
||||||
},
|
|
||||||
"Distribution2": {
|
|
||||||
"AngleDistributionFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocity/distributions",
|
|
||||||
"Filename": "drift_velocity.h5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Distribution3":{
|
|
||||||
"AngleDistributionFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "AbsolutePath",
|
|
||||||
"AbsoluteFolderPath": "/data/velocity/distributions",
|
|
||||||
"Filename": "drift_velocity.h5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Distribution4": {
|
|
||||||
"CompositeAngleDistribution": {
|
|
||||||
"LowerDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
},
|
|
||||||
"HigherDistribution": {
|
|
||||||
"AngleDistributionFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocity/distributions",
|
|
||||||
"Filename": "drift_velocity.h5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DeciderEnergy": {
|
|
||||||
"value": 10,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,607 +0,0 @@
|
|||||||
{
|
|
||||||
"GlobalPositionBinning": {
|
|
||||||
"CylinderBinning": {
|
|
||||||
"Radial": {
|
|
||||||
"NumberOfBins": 15,
|
|
||||||
"MaxRadius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Longitudinal": {
|
|
||||||
"NumberOfBins": 160,
|
|
||||||
"MaxLength": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Azimuthal": {
|
|
||||||
"NumberOfBins": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"SourceGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Species": {
|
|
||||||
"Background": {
|
|
||||||
"TritiumGas": {
|
|
||||||
"ParticleType": "T2",
|
|
||||||
"ConstantDensityField": {
|
|
||||||
"ScalarField": {
|
|
||||||
"ScalarFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinear": {
|
|
||||||
"xValues": [
|
|
||||||
0,
|
|
||||||
1.43,
|
|
||||||
3,
|
|
||||||
8,
|
|
||||||
13,
|
|
||||||
14.57,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"yValues": [
|
|
||||||
5E-4,
|
|
||||||
0.002,
|
|
||||||
0.02,
|
|
||||||
1,
|
|
||||||
0.02,
|
|
||||||
0.002,
|
|
||||||
5E-4
|
|
||||||
],
|
|
||||||
"prefactor": 1E20
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"MaxwellBoltzmann": {
|
|
||||||
"Temperature": {
|
|
||||||
"value": 80,
|
|
||||||
"unit": "K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "T2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinear": {
|
|
||||||
"xValues": [
|
|
||||||
0,
|
|
||||||
7.99,
|
|
||||||
8.01,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"yValues": [
|
|
||||||
-100,
|
|
||||||
-100,
|
|
||||||
100,
|
|
||||||
100
|
|
||||||
],
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Tracked": {
|
|
||||||
"e-": {
|
|
||||||
"ParticleType": "electron",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-12,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"ReflectorDPS": {
|
|
||||||
"position_z": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 20E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elastic": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "eT2_elastic_scattering_constant"
|
|
||||||
},
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"janev_non_diss": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevNonDiss",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T2+"
|
|
||||||
},
|
|
||||||
"janev_diss_to_ground": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToGround",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"janev_diss_to_first_excited": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToFirstExcited",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T2+": {
|
|
||||||
"ParticleType": "T2+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"name1": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T+": {
|
|
||||||
"ParticleType": "T+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"name1": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Injector": {
|
|
||||||
"CreatedSpecies": {
|
|
||||||
"specie1": {
|
|
||||||
"TrackedSpecieName": "e-",
|
|
||||||
"CreationVelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"TritiumBetaDecay": {}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "electron"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"specie2": {
|
|
||||||
"TrackedSpecieName": "T2+",
|
|
||||||
"CreationVelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"MaxwellBoltzmann": {
|
|
||||||
"Temperature": {
|
|
||||||
"value": 80,
|
|
||||||
"unit": "K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "T2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"EventPositionDistribution": {
|
|
||||||
"ScalarField": {
|
|
||||||
"ScalarFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinear": {
|
|
||||||
"xValues": [
|
|
||||||
0,
|
|
||||||
1.43,
|
|
||||||
3,
|
|
||||||
8,
|
|
||||||
13,
|
|
||||||
14.57,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"yValues": [
|
|
||||||
5E-4,
|
|
||||||
0.002,
|
|
||||||
0.02,
|
|
||||||
1,
|
|
||||||
0.02,
|
|
||||||
0.002,
|
|
||||||
5E-4
|
|
||||||
],
|
|
||||||
"prefactor": 1E15
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DensityLimit": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 1E15
|
|
||||||
},
|
|
||||||
"PositionLimits": {
|
|
||||||
"rPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 0.045
|
|
||||||
},
|
|
||||||
"phiPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 6.28318530718
|
|
||||||
},
|
|
||||||
"zPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 16.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MotherDriftVelocity": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"constant": {
|
|
||||||
"vector": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "m/s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Activity": {
|
|
||||||
"value": 1E15,
|
|
||||||
"unit": "Bq"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ElectricField": {
|
|
||||||
"Background": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"constant": {
|
|
||||||
"vector": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "V/m"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Dynamic": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"constant": {
|
|
||||||
"vector": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "V/m"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MagneticField": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Constant3D": {
|
|
||||||
"constant": 2.5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"PoissonSolver": {
|
|
||||||
"UseInSimulation": "false"
|
|
||||||
},
|
|
||||||
"Simulation": {
|
|
||||||
"SimulatedEvents": 1,
|
|
||||||
"EventStride": 1
|
|
||||||
},
|
|
||||||
"Output": {
|
|
||||||
"folder": "output",
|
|
||||||
"filename": "test",
|
|
||||||
"DensityFields": {
|
|
||||||
"Species": "all",
|
|
||||||
"Intervall": 1,
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
},
|
|
||||||
"CurrentBorders": {
|
|
||||||
"Species": [
|
|
||||||
"e-",
|
|
||||||
"T2+"
|
|
||||||
],
|
|
||||||
"Intervall": "EachSync",
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
},
|
|
||||||
"DeletionLogger": {
|
|
||||||
"Species": [
|
|
||||||
"all"
|
|
||||||
],
|
|
||||||
"Intervall": "EachSync",
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"RandomNumbers": {
|
|
||||||
"Seed": 1337
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
{
|
|
||||||
"VectorFields": {
|
|
||||||
"field1": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"Constant": {
|
|
||||||
"vector": [
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
3
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"field2": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Constant3D": {
|
|
||||||
"constant": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"field3": {
|
|
||||||
"VectorFieldFromArray": {
|
|
||||||
"ReadArrayFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "path/relative",
|
|
||||||
"Filename": "filename.h5"
|
|
||||||
},
|
|
||||||
"Keys": ["/vr", "/vphi", "/vz"]
|
|
||||||
},
|
|
||||||
"Radius": 0.045,
|
|
||||||
"Length": 16
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"field4": {
|
|
||||||
"VectorFieldFromArray": {
|
|
||||||
"ReadArrayFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "AbsolutePath",
|
|
||||||
"AbsoluteFolderPath": "/path/absolut",
|
|
||||||
"Filename": "gilesabe.h5"
|
|
||||||
},
|
|
||||||
"Keys": ["/vr", "/vphi", "/vz"]
|
|
||||||
},
|
|
||||||
"Radius": 0.045,
|
|
||||||
"Length": 16
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"VelocityDistribution 1": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"MaxwellBoltzmann": {
|
|
||||||
"Temperature": {
|
|
||||||
"value": 80,
|
|
||||||
"unit": "K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "T2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution2": {
|
|
||||||
"null" : {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#ifndef NEUTRAL_GAS_H
|
|
||||||
#define NEUTRAL_GAS_H
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* NEUTRAL_GAS_H */
|
|
||||||
@@ -9,9 +9,6 @@ namespace particle {
|
|||||||
|
|
||||||
class Particle {
|
class Particle {
|
||||||
public:
|
public:
|
||||||
// Particle(std::shared_ptr<species::TrackedSpecie> specie,
|
|
||||||
// Coordinate* position,
|
|
||||||
// Vector* velocity);
|
|
||||||
Particle(std::shared_ptr<species::TrackedSpecie> specie,
|
Particle(std::shared_ptr<species::TrackedSpecie> specie,
|
||||||
const Coordinate& position,
|
const Coordinate& position,
|
||||||
const Vector& velocity);
|
const Vector& velocity);
|
||||||
|
|||||||
@@ -25,22 +25,4 @@ class VelocityDistributionFromFunction : public VelocityDistribution {
|
|||||||
std::shared_ptr<VelocityDistributionFunction> fv_;
|
std::shared_ptr<VelocityDistributionFunction> fv_;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
todo: implement this for direct interactions of simulated particles
|
|
||||||
|
|
||||||
class DensityField;
|
|
||||||
|
|
||||||
class VelocityDistributionFromDensityField : public VelocityDistribution {
|
|
||||||
public:
|
|
||||||
VelocityDistributionFromDensityField(
|
|
||||||
std::shared_ptr<DensityField> density_field);
|
|
||||||
CartesianVector driftVelocity_ms(const CylinderVector& position);
|
|
||||||
CartesianVector rollVelocity_ms(
|
|
||||||
const CylinderVector& position, std::mt19937* engine);
|
|
||||||
private:
|
|
||||||
std::shared_ptr<DensityField> density_field_;
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
|
|
||||||
#endif /* VELOCITY_DISTRIBUTION_H */
|
#endif /* VELOCITY_DISTRIBUTION_H */
|
||||||
|
|||||||
@@ -2,8 +2,6 @@ dummy: all
|
|||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
PROJECT_DIR = $(HOMEBASE)
|
PROJECT_DIR = $(HOMEBASE)
|
||||||
|
|
||||||
TEST_DIR = $(PROJECT_DIR)/test
|
|
||||||
CONFIG_DIR = $(PROJECT_DIR)/config
|
CONFIG_DIR = $(PROJECT_DIR)/config
|
||||||
BUILD_DIR = $(PROJECT_DIR)/build
|
BUILD_DIR = $(PROJECT_DIR)/build
|
||||||
BIN_DIR = $(PROJECT_DIR)/bin
|
BIN_DIR = $(PROJECT_DIR)/bin
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"DriftVelocity1": {
|
"DriftVelocityExample1": {
|
||||||
"DriftVelocity": {
|
"DriftVelocity": {
|
||||||
"VectorField": {
|
"VectorField": {
|
||||||
"VectorFieldFunctionInZ": {
|
"VectorFieldFunctionInZ": {
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"DriftVelocity2": {
|
"DriftVelocityExample2": {
|
||||||
"null": {}
|
"null": {}
|
||||||
}
|
}
|
||||||
|
|
||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"EnergyDistributionFunction1": {
|
"EnergyDistributionFunctionExample1": {
|
||||||
"MaxwellBoltzmann": {
|
"MaxwellBoltzmann": {
|
||||||
"Temperature": {
|
"Temperature": {
|
||||||
"value": 80,
|
"value": 80,
|
||||||
@@ -7,10 +7,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"EnergyDistributionFunction2": {
|
"EnergyDistributionFunctionExample2": {
|
||||||
"TritiumBetaDecay": {}
|
"TritiumBetaDecay": {}
|
||||||
},
|
},
|
||||||
"EnergyDistributionFunction3": {
|
"EnergyDistributionFunctionExample3": {
|
||||||
"Constant": {
|
"Constant": {
|
||||||
"constant": {
|
"constant": {
|
||||||
"value": 1
|
"value": 1
|
||||||
@@ -1,104 +1,74 @@
|
|||||||
{
|
{
|
||||||
"Functions": {
|
"Functions": {
|
||||||
"1Dto1D examples": {
|
"1Dto1D examples": {
|
||||||
"f1": {
|
"f1": {
|
||||||
"PiecewiseLinear": {
|
"PiecewiseLinear": {
|
||||||
"xValues": [
|
"xValues": [0, 1.43, 3],
|
||||||
0,
|
"yValues": [5E-4, 0.002, 0.02],
|
||||||
1.43,
|
"prefactor": 1
|
||||||
3,
|
}
|
||||||
8,
|
},
|
||||||
13,
|
"f2": {
|
||||||
14.57,
|
"Constant": {
|
||||||
16
|
"constant": 1
|
||||||
],
|
}
|
||||||
"yValues": [
|
},
|
||||||
5E-4,
|
"f3": {
|
||||||
0.002,
|
"Product": [
|
||||||
0.02,
|
{
|
||||||
1,
|
"Constant": {
|
||||||
0.02,
|
"constant": 2
|
||||||
0.002,
|
}
|
||||||
5E-4
|
},
|
||||||
],
|
{
|
||||||
"prefactor": 1
|
"Constant": {
|
||||||
}
|
"constant": 3
|
||||||
},
|
}
|
||||||
"f2": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"f3": {
|
|
||||||
"Product": [
|
|
||||||
{
|
|
||||||
"Constant": {
|
|
||||||
"constant": 2
|
|
||||||
}
|
}
|
||||||
},
|
]
|
||||||
{
|
},
|
||||||
"Constant": {
|
"f4": {
|
||||||
"constant": 3
|
"PiecewiseLinearFromFile": {
|
||||||
}
|
"PathToH5": {
|
||||||
|
"Type": "RelativeToHomebase",
|
||||||
|
"RelativePath": "path/relative",
|
||||||
|
"Filename": "data.h5"
|
||||||
|
},
|
||||||
|
"xValuesKey": "/xvalues",
|
||||||
|
"yValuesKey": "/yvalues",
|
||||||
|
"prefactor": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"f5": {
|
||||||
|
"PiecewiseLinearFromFile": {
|
||||||
|
"PathToH5": {
|
||||||
|
"Type": "AbsolutPath",
|
||||||
|
"RelativePath": "/some/absolut/path",
|
||||||
|
"Filename": "data.h5"
|
||||||
|
},
|
||||||
|
"xValuesKey": "/xvalues",
|
||||||
|
"yValuesKey": "/yvalues",
|
||||||
|
"prefactor": 1
|
||||||
}
|
}
|
||||||
]
|
|
||||||
},
|
|
||||||
"f4": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocityDistributions/T2_vz/KuckertPaper",
|
|
||||||
"Filename": "T2_vz_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/vz(ms)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"3dto1D examples": {
|
|
||||||
"f1": {
|
|
||||||
"Constant3D": {
|
|
||||||
"constant": 2
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"f2": {
|
"3dto1D examples": {
|
||||||
"Product": {
|
"f1": {
|
||||||
"fi": {
|
"Constant3D": {
|
||||||
"Constant": {
|
"constant": 2
|
||||||
"constant": 2
|
}
|
||||||
}
|
},
|
||||||
},
|
"f2": {
|
||||||
"fj": {
|
"Product": {
|
||||||
"Constant": {
|
"fi": { "Constant": {"constant": 2 }},
|
||||||
"constant": 2
|
"fj": { "Constant": {"constant": 2 }},
|
||||||
}
|
"fk": { "PiecewiseLinear": {
|
||||||
},
|
"xValues": [0, 1.43, 3],
|
||||||
"fk": {
|
"yValues": [5E-4, 0.002, 0.02],
|
||||||
"PiecewiseLinear": {
|
"prefactor": 1 }
|
||||||
"xValues": [
|
|
||||||
0,
|
|
||||||
1.43,
|
|
||||||
3,
|
|
||||||
8,
|
|
||||||
13,
|
|
||||||
14.57,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"yValues": [
|
|
||||||
5E-4,
|
|
||||||
0.002,
|
|
||||||
0.02,
|
|
||||||
1,
|
|
||||||
0.02,
|
|
||||||
0.002,
|
|
||||||
5E-4
|
|
||||||
],
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -8,6 +8,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"MoverExample2":{
|
"MoverExample2":{
|
||||||
|
"Drift": {
|
||||||
|
"MaximalMovedDistance": {
|
||||||
|
"value": 0.001,
|
||||||
|
"unit": "m"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,841 +0,0 @@
|
|||||||
{
|
|
||||||
"GlobalPositionBinning": {
|
|
||||||
"CylinderBinning": {
|
|
||||||
"Radial": {
|
|
||||||
"NumberOfBins": 15,
|
|
||||||
"MaxRadius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Longitudinal": {
|
|
||||||
"NumberOfBins": 1657,
|
|
||||||
"MaxLength": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Azimuthal": {
|
|
||||||
"NumberOfBins": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"SourceGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Species": {
|
|
||||||
"Background": {
|
|
||||||
"TritiumGas": {
|
|
||||||
"ParticleType": "T2",
|
|
||||||
"ConstantDensityField": {
|
|
||||||
"ScalarField": {
|
|
||||||
"ScalarFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/densityDistributions/T2",
|
|
||||||
"Filename": "T2_n_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/n(m3)",
|
|
||||||
"prefactor": 1E20
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"MaxwellBoltzmann": {
|
|
||||||
"Temperature": {
|
|
||||||
"value": 80,
|
|
||||||
"unit": "K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "T2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocityDistributions/T2_vz/KuckertPaper",
|
|
||||||
"Filename": "T2_vz_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/vz(ms)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Tracked": {
|
|
||||||
"e-": {
|
|
||||||
"ParticleType": "electron",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-12,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"ReflectorDPS": {
|
|
||||||
"position_z": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 20E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elastic": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "eT2_elastic_scattering"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"CompositeAngleDistribution": {
|
|
||||||
"LowerDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
},
|
|
||||||
"HigherDistribution": {
|
|
||||||
"AngleDistributionFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/crossSections/eT2_elastic_scattering",
|
|
||||||
"Filename": "eT2_elastic_cross_section_scattering_angle.h5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DeciderEnergy": {
|
|
||||||
"value": 10,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ionization1": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevNonDiss",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T2+"
|
|
||||||
},
|
|
||||||
"ionization2": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToGround",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"ionization3": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToFirstExcited",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"excitation0": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_B1"
|
|
||||||
},
|
|
||||||
"excitation1": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_B1prime"
|
|
||||||
},
|
|
||||||
"excitation2": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_B1primeprime"
|
|
||||||
},
|
|
||||||
"excitation3": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_C1"
|
|
||||||
},
|
|
||||||
"excitation4": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_D1"
|
|
||||||
},
|
|
||||||
"excitation5": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_D1prime"
|
|
||||||
},
|
|
||||||
"excitation6": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_EF1"
|
|
||||||
},
|
|
||||||
"excitation7": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_HHb"
|
|
||||||
},
|
|
||||||
"excitation8": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_GK1"
|
|
||||||
},
|
|
||||||
"excitation9": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_singlet_symmetry_forbidden_I1"
|
|
||||||
},
|
|
||||||
"excitation10": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_A3"
|
|
||||||
},
|
|
||||||
"excitation11": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_B3"
|
|
||||||
},
|
|
||||||
"excitation12": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_C3"
|
|
||||||
},
|
|
||||||
"excitation13": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_E3"
|
|
||||||
},
|
|
||||||
"excitation14": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_triplet_D3"
|
|
||||||
},
|
|
||||||
"excitation15": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_vibrational_first"
|
|
||||||
},
|
|
||||||
"excitation16": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "janev_vibrational_second"
|
|
||||||
},
|
|
||||||
"excitation17": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "england_rotational_j0_to_j2"
|
|
||||||
},
|
|
||||||
"excitation18": {
|
|
||||||
"Type": "Excitation",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ExcitationState": "england_rotational_j1_to_j3"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T2+": {
|
|
||||||
"ParticleType": "T2+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"charge exchange": {
|
|
||||||
"Type": "ChargeExchange",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T2pT2_charge_exchange_janev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T2pT2_clustering_janev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T+": {
|
|
||||||
"ParticleType": "T+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elasitc scattering": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_elasitc_scattering_tabata"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering1": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_clustering_radiative_ascendion_pasil"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"clustering2": {
|
|
||||||
"Type": "Clustering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"Product": "T3+",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "TpT2_clustering_tertiary_ascendion_pasil"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T3+": {
|
|
||||||
"ParticleType": "T3+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1657,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 1E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elastic scattering": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "T3pT2_elasitc_scattering_tabata"
|
|
||||||
},
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"free_movement_example": {
|
|
||||||
"Type": "FreeMovement"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Injector": {
|
|
||||||
"CreatedSpecies": {
|
|
||||||
"specie1": {
|
|
||||||
"TrackedSpecieName": "e-",
|
|
||||||
"CreationVelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"TritiumBetaDecay": {}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "electron"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"specie2": {
|
|
||||||
"TrackedSpecieName": "T2+",
|
|
||||||
"CreationVelocityDistribution": {
|
|
||||||
"VelocityDistributionFromFunction": {
|
|
||||||
"VelocityDistributionFunction": {
|
|
||||||
"IsotropicDistribution": {
|
|
||||||
"EnergyDistributionFunction": {
|
|
||||||
"MaxwellBoltzmann": {
|
|
||||||
"Temperature": {
|
|
||||||
"value": 80,
|
|
||||||
"unit": "K"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Mass": {
|
|
||||||
"FromParticleType": "T2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"EventPositionDistribution": {
|
|
||||||
"ScalarField": {
|
|
||||||
"ScalarFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/densityDistributions/T2",
|
|
||||||
"Filename": "T2_n_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/n(m3)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DensityLimit": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 1
|
|
||||||
},
|
|
||||||
"PositionLimits": {
|
|
||||||
"rPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 0.045
|
|
||||||
},
|
|
||||||
"phiPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 6.28318530718
|
|
||||||
},
|
|
||||||
"zPosition": {
|
|
||||||
"min": 0,
|
|
||||||
"max": 16.57
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MotherDriftVelocity": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Product": {
|
|
||||||
"fi": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fj": {
|
|
||||||
"Constant": {
|
|
||||||
"constant": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fk": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocityDistributions/T2_vz/KuckertPaper",
|
|
||||||
"Filename": "T2_vz_vs_z_kuckert_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/vz(ms)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Activity": {
|
|
||||||
"value": 1E15,
|
|
||||||
"unit": "Bq"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ElectricField": {
|
|
||||||
"Background": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"constant": {
|
|
||||||
"vector": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "V/m"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Dynamic": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldConstant": {
|
|
||||||
"constant": {
|
|
||||||
"vector": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"unit": "V/m"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MagneticField": {
|
|
||||||
"VectorField": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"PiecewiseLinearFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/magneticField/Kassiopeia",
|
|
||||||
"Filename": "B_vs_z_kassiopeia_approximated.h5"
|
|
||||||
},
|
|
||||||
"xValuesKey": "/z_position(m)",
|
|
||||||
"yValuesKey": "/B(T)",
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"PoissonSolver": {
|
|
||||||
"UseInSimulation": "false"
|
|
||||||
},
|
|
||||||
"Simulation": {
|
|
||||||
"SimulatedEvents": 1000000,
|
|
||||||
"EventStride": 10
|
|
||||||
},
|
|
||||||
"Output": {
|
|
||||||
"folder": "output",
|
|
||||||
"filename": "karl_output",
|
|
||||||
"DensityFields": {
|
|
||||||
"Species": "all",
|
|
||||||
"Intervall": 1,
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
},
|
|
||||||
"CurrentBorders": {
|
|
||||||
"Species": "all",
|
|
||||||
"Intervall": "EachSync",
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
},
|
|
||||||
"DeletionLogger": {
|
|
||||||
"Species": "all",
|
|
||||||
"Intervall": "EachSync",
|
|
||||||
"OverwriteLast": "true"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"RandomNumbers": {
|
|
||||||
"Seed": 1337
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"Example1": {
|
|
||||||
"Reflector": {
|
|
||||||
"NoReflector": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Example2": {
|
|
||||||
"ReflectorDPS": {
|
|
||||||
"position_z": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +1,9 @@
|
|||||||
{
|
{
|
||||||
"ScalarFields": {
|
"ScalarFieldsExample1": {
|
||||||
"field1": {
|
"ScalarFieldFunctionInZ": {
|
||||||
"ScalarFieldFunctionInZ": {
|
"zFunction": {
|
||||||
"zFunction": {
|
"Constant3D": {
|
||||||
"Constant3D": {
|
"constant": 2
|
||||||
"constant": 2
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"GlobalPositionBinning": {
|
"GlobalPositionBinning": {
|
||||||
"CylinderBinning": {
|
"CylinderBinning": {
|
||||||
"Radial": {
|
"Radial": {
|
||||||
"NumberOfBins": 15,
|
"NumberOfBins": 1,
|
||||||
"MaxRadius": {
|
"MaxRadius": {
|
||||||
"value": 4.5,
|
"value": 4.5,
|
||||||
"unit": "cm"
|
"unit": "cm"
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Azimuthal": {
|
"Azimuthal": {
|
||||||
"NumberOfBins": 4
|
"NumberOfBins": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -55,23 +55,21 @@
|
|||||||
"PiecewiseLinear": {
|
"PiecewiseLinear": {
|
||||||
"xValues": [
|
"xValues": [
|
||||||
0,
|
0,
|
||||||
1.43,
|
7.4999,
|
||||||
3,
|
7.5,
|
||||||
8,
|
8.5,
|
||||||
13,
|
8.5001,
|
||||||
14.57,
|
|
||||||
16
|
16
|
||||||
],
|
],
|
||||||
"yValues": [
|
"yValues": [
|
||||||
5E-4,
|
0,
|
||||||
0.002,
|
0,
|
||||||
0.02,
|
|
||||||
1,
|
1,
|
||||||
0.02,
|
1,
|
||||||
0.002,
|
0,
|
||||||
5E-4
|
0
|
||||||
],
|
],
|
||||||
"prefactor": 1E20
|
"prefactor": 1E22
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,20 +112,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fk": {
|
"fk": {
|
||||||
"PiecewiseLinear": {
|
"Constant": {
|
||||||
"xValues": [
|
"constant": 0
|
||||||
0,
|
|
||||||
7.99,
|
|
||||||
8.01,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"yValues": [
|
|
||||||
-100,
|
|
||||||
-100,
|
|
||||||
100,
|
|
||||||
100
|
|
||||||
],
|
|
||||||
"prefactor": 1
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -141,122 +127,10 @@
|
|||||||
"e-": {
|
"e-": {
|
||||||
"ParticleType": "electron",
|
"ParticleType": "electron",
|
||||||
"Mover": {
|
"Mover": {
|
||||||
"Boris": {
|
"Drift": {
|
||||||
"BorisStepsPerMovementCylce": 10,
|
"MaximalMovedDistance": {
|
||||||
"MaximalTimestepLength": {
|
"value": 0.001,
|
||||||
"value": 1E-12,
|
"unit": "m"
|
||||||
"unit": "s"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Terminator": {
|
|
||||||
"MaximumInteractions": 1E6,
|
|
||||||
"MaxTimeAlive": {
|
|
||||||
"value": 1,
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"BoundaryGeometry": {
|
|
||||||
"Cylinder": {
|
|
||||||
"Radius": {
|
|
||||||
"value": 4.5,
|
|
||||||
"unit": "cm"
|
|
||||||
},
|
|
||||||
"Height": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Reflector": {
|
|
||||||
"ReflectorDPS": {
|
|
||||||
"position_z": {
|
|
||||||
"value": 1600,
|
|
||||||
"unit": "cm"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"DensityField": {
|
|
||||||
"DynamicDensityField": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"EnergyBinning": {
|
|
||||||
"Type": "Logarithmic",
|
|
||||||
"NumberOfBins": 100,
|
|
||||||
"MinEnergy": {
|
|
||||||
"value": 1E-6,
|
|
||||||
"unit": "eV"
|
|
||||||
},
|
|
||||||
"MaxEnergy": {
|
|
||||||
"value": 20E3,
|
|
||||||
"unit": "eV"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"VelocityDistribution": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"DriftVelocity": {
|
|
||||||
"null": {}
|
|
||||||
},
|
|
||||||
"Loggers": {
|
|
||||||
"Deletion": {
|
|
||||||
"Type": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"CurrentCollector": {
|
|
||||||
"PositionBinning": {
|
|
||||||
"CreateSameAs": [
|
|
||||||
"GlobalPositionBinning"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Interactions": {
|
|
||||||
"elastic": {
|
|
||||||
"Type": "ElasticScattering",
|
|
||||||
"CrossSection": {
|
|
||||||
"PredefinedFunction": "eT2_elastic_scattering_constant"
|
|
||||||
},
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"ScatteringAngleDistribution": {
|
|
||||||
"Isotropic": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"janev_non_diss": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevNonDiss",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T2+"
|
|
||||||
},
|
|
||||||
"janev_diss_to_ground": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToGround",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
},
|
|
||||||
"janev_diss_to_first_excited": {
|
|
||||||
"Type": "ElectronIonization",
|
|
||||||
"IonizationModel": "JanevDissToFirstExcited",
|
|
||||||
"Target": "TritiumGas",
|
|
||||||
"OutgoingElectron": "e-",
|
|
||||||
"OutgoingIon": "T+"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"T2+": {
|
|
||||||
"ParticleType": "T2+",
|
|
||||||
"Mover": {
|
|
||||||
"Boris": {
|
|
||||||
"BorisStepsPerMovementCylce": 10,
|
|
||||||
"MaximalTimestepLength": {
|
|
||||||
"value": 1E-8,
|
|
||||||
"unit": "s"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -297,7 +171,7 @@
|
|||||||
"unit": "eV"
|
"unit": "eV"
|
||||||
},
|
},
|
||||||
"MaxEnergy": {
|
"MaxEnergy": {
|
||||||
"value": 1E3,
|
"value": 1E2,
|
||||||
"unit": "eV"
|
"unit": "eV"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -322,19 +196,32 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Interactions": {
|
"Interactions": {
|
||||||
"name1": {
|
"free": {
|
||||||
"Type": "FreeMovement"
|
"Type": "FreeMovement"
|
||||||
|
},
|
||||||
|
"elastic": {
|
||||||
|
"Type": "ElasticScattering",
|
||||||
|
"CrossSection": {
|
||||||
|
"1dFunction": {
|
||||||
|
"Constant": {
|
||||||
|
"constant": 1.412E-19
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Target": "TritiumGas",
|
||||||
|
"ScatteringAngleDistribution": {
|
||||||
|
"Isotropic": {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"T+": {
|
"T+": {
|
||||||
"ParticleType": "T+",
|
"ParticleType": "T+",
|
||||||
"Mover": {
|
"Mover": {
|
||||||
"Boris": {
|
"Drift": {
|
||||||
"BorisStepsPerMovementCylce": 10,
|
"MaximalMovedDistance": {
|
||||||
"MaximalTimestepLength": {
|
"value": 0.001,
|
||||||
"value": 1E-8,
|
"unit": "m"
|
||||||
"unit": "s"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -400,8 +287,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Interactions": {
|
"Interactions": {
|
||||||
"name1": {
|
"free": {
|
||||||
"Type": "FreeMovement"
|
"Type": "FreeMovement"
|
||||||
|
},
|
||||||
|
"elastic": {
|
||||||
|
"Type": "ElasticScattering",
|
||||||
|
"CrossSection": {
|
||||||
|
"1dFunction": {
|
||||||
|
"Constant": {
|
||||||
|
"constant": 1.412E-19
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Target": "TritiumGas",
|
||||||
|
"ScatteringAngleDistribution": {
|
||||||
|
"Isotropic": {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -414,12 +315,24 @@
|
|||||||
"CreationVelocityDistribution": {
|
"CreationVelocityDistribution": {
|
||||||
"VelocityDistributionFromFunction": {
|
"VelocityDistributionFromFunction": {
|
||||||
"VelocityDistributionFunction": {
|
"VelocityDistributionFunction": {
|
||||||
"IsotropicDistribution": {
|
"DirectedDistribution": {
|
||||||
"EnergyDistributionFunction": {
|
"EnergyDistributionFunction": {
|
||||||
"TritiumBetaDecay": {}
|
"Constant": {
|
||||||
|
"constant": {
|
||||||
|
"value": 8E-3,
|
||||||
|
"unit": "eV"
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"Mass": {
|
"Mass": {
|
||||||
"FromParticleType": "electron"
|
"FromParticleType": "electron"
|
||||||
|
},
|
||||||
|
"Direction": {
|
||||||
|
"vector": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
-1
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -427,21 +340,28 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"specie2": {
|
"specie2": {
|
||||||
"TrackedSpecieName": "T2+",
|
"TrackedSpecieName": "T+",
|
||||||
"CreationVelocityDistribution": {
|
"CreationVelocityDistribution": {
|
||||||
"VelocityDistributionFromFunction": {
|
"VelocityDistributionFromFunction": {
|
||||||
"VelocityDistributionFunction": {
|
"VelocityDistributionFunction": {
|
||||||
"IsotropicDistribution": {
|
"DirectedDistribution": {
|
||||||
"EnergyDistributionFunction": {
|
"EnergyDistributionFunction": {
|
||||||
"MaxwellBoltzmann": {
|
"Constant": {
|
||||||
"Temperature": {
|
"constant": {
|
||||||
"value": 80,
|
"value": 20E-2,
|
||||||
"unit": "K"
|
"unit": "eV"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Mass": {
|
"Mass": {
|
||||||
"FromParticleType": "T2"
|
"FromParticleType": "T+"
|
||||||
|
},
|
||||||
|
"Direction": {
|
||||||
|
"vector": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
-1
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -465,26 +385,8 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fk": {
|
"fk": {
|
||||||
"PiecewiseLinear": {
|
"Constant": {
|
||||||
"xValues": [
|
"constant": 0.5
|
||||||
0,
|
|
||||||
1.43,
|
|
||||||
3,
|
|
||||||
8,
|
|
||||||
13,
|
|
||||||
14.57,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"yValues": [
|
|
||||||
5E-4,
|
|
||||||
0.002,
|
|
||||||
0.02,
|
|
||||||
1,
|
|
||||||
0.02,
|
|
||||||
0.002,
|
|
||||||
5E-4
|
|
||||||
],
|
|
||||||
"prefactor": 1E15
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -493,7 +395,7 @@
|
|||||||
},
|
},
|
||||||
"DensityLimit": {
|
"DensityLimit": {
|
||||||
"min": 0,
|
"min": 0,
|
||||||
"max": 1E15
|
"max": 1
|
||||||
},
|
},
|
||||||
"PositionLimits": {
|
"PositionLimits": {
|
||||||
"rPosition": {
|
"rPosition": {
|
||||||
@@ -505,8 +407,8 @@
|
|||||||
"max": 6.28318530718
|
"max": 6.28318530718
|
||||||
},
|
},
|
||||||
"zPosition": {
|
"zPosition": {
|
||||||
"min": 0,
|
"min": 7.94,
|
||||||
"max": 16.0
|
"max": 7.96
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -574,8 +476,8 @@
|
|||||||
"UseInSimulation": "false"
|
"UseInSimulation": "false"
|
||||||
},
|
},
|
||||||
"Simulation": {
|
"Simulation": {
|
||||||
"SimulatedEvents": 1,
|
"SimulatedEvents": 100,
|
||||||
"EventStride": 1
|
"EventStride": 100
|
||||||
},
|
},
|
||||||
"Output": {
|
"Output": {
|
||||||
"folder": "output",
|
"folder": "output",
|
||||||
@@ -588,15 +490,13 @@
|
|||||||
"CurrentBorders": {
|
"CurrentBorders": {
|
||||||
"Species": [
|
"Species": [
|
||||||
"e-",
|
"e-",
|
||||||
"T2+"
|
"T+"
|
||||||
],
|
],
|
||||||
"Intervall": "EachSync",
|
"Intervall": "EachSync",
|
||||||
"OverwriteLast": "true"
|
"OverwriteLast": "true"
|
||||||
},
|
},
|
||||||
"DeletionLogger": {
|
"DeletionLogger": {
|
||||||
"Species": [
|
"Species": "all",
|
||||||
"all"
|
|
||||||
],
|
|
||||||
"Intervall": "EachSync",
|
"Intervall": "EachSync",
|
||||||
"OverwriteLast": "true"
|
"OverwriteLast": "true"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,45 +1,39 @@
|
|||||||
{
|
{
|
||||||
"VectorFields": {
|
"VectorfieldExample1": {
|
||||||
"field1": {
|
"VectorFieldConstant": {
|
||||||
"VectorFieldConstant": {
|
"Constant": {
|
||||||
"Constant": {
|
"vector": [ 1, 2, 3]
|
||||||
"vector": [
|
|
||||||
1,
|
|
||||||
2,
|
|
||||||
3
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"field2": {
|
|
||||||
"VectorFieldFunctionInZ": {
|
|
||||||
"zFunction": {
|
|
||||||
"Constant3D": {
|
|
||||||
"constant": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"field3": {
|
|
||||||
"VectorFieldFromArray": {
|
|
||||||
"ReadArrayFromFile": {
|
|
||||||
"PathToH5": {
|
|
||||||
"Type": "RelativeToHomebase",
|
|
||||||
"RelativePath": "data/velocity/distributions",
|
|
||||||
"Filename": "drift_velocity.h5"
|
|
||||||
},
|
|
||||||
"Keys": [
|
|
||||||
"/vr",
|
|
||||||
"/vphi",
|
|
||||||
"/vz"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Radius": 0.045,
|
|
||||||
"Length": 16
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"field4": {
|
"VectorfieldExample2": {
|
||||||
|
"VectorFieldFunctionInZ": {
|
||||||
|
"zFunction": {
|
||||||
|
"Constant3D": {
|
||||||
|
"constant": 2
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"VectorfieldExample3": {
|
||||||
|
"VectorFieldFromArray": {
|
||||||
|
"ReadArrayFromFile": {
|
||||||
|
"PathToH5": {
|
||||||
|
"Type": "RelativeToHomebase",
|
||||||
|
"RelativePath": "data/velocity/distributions",
|
||||||
|
"Filename": "drift_velocity.h5"
|
||||||
|
},
|
||||||
|
"Keys": [
|
||||||
|
"/vr",
|
||||||
|
"/vphi",
|
||||||
|
"/vz"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Radius": 0.045,
|
||||||
|
"Length": 16
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"VectorfieldExample4": {
|
||||||
"VectorFieldFromArray": {
|
"VectorFieldFromArray": {
|
||||||
"ReadArrayFromFile": {
|
"ReadArrayFromFile": {
|
||||||
"PathToH5": {
|
"PathToH5": {
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"VelocityDistributionFunction1": {
|
"VelocityDistributionFunctionExample1": {
|
||||||
"IsotropicDistribution": {
|
"IsotropicDistribution": {
|
||||||
"EnergyDistributionFunction": {
|
"EnergyDistributionFunction": {
|
||||||
"MaxwellBoltzmann": {
|
"MaxwellBoltzmann": {
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"VelocityDistributionFunction2": {
|
"VelocityDistributionFunctionExample2": {
|
||||||
"DirectedDistribution": {
|
"DirectedDistribution": {
|
||||||
"EnergyDistributionFunction": {
|
"EnergyDistributionFunction": {
|
||||||
"MaxwellBoltzmann": {
|
"MaxwellBoltzmann": {
|
||||||
@@ -74,14 +74,12 @@ blitz::Array<double, 2> Hdf5Reader::readD2Double(std::string path) {
|
|||||||
blitz::Array<double, 1> Hdf5Reader::readD1Double(std::string path) {
|
blitz::Array<double, 1> Hdf5Reader::readD1Double(std::string path) {
|
||||||
hid_t file = H5Fopen(absolute_filename_.c_str(), H5F_ACC_RDONLY, H5P_DEFAULT);
|
hid_t file = H5Fopen(absolute_filename_.c_str(), H5F_ACC_RDONLY, H5P_DEFAULT);
|
||||||
|
|
||||||
// H5Eset_auto(H5E_DEFAULT, NULL, NULL);
|
|
||||||
hid_t dataset = H5Dopen2(file, path.c_str(), H5P_DEFAULT);
|
hid_t dataset = H5Dopen2(file, path.c_str(), H5P_DEFAULT);
|
||||||
hid_t dataspace = H5Dget_space(dataset);
|
hid_t dataspace = H5Dget_space(dataset);
|
||||||
if (dataset < 0) {
|
if (dataset < 0) {
|
||||||
ERROR("The given dataset could not be opened");
|
ERROR("The given dataset could not be opened");
|
||||||
}
|
}
|
||||||
// turn error report back onby hdf5 because of check H5Dopen2
|
// turn error report back onby hdf5 because of check H5Dopen2
|
||||||
// H5Eset_auto(H5E_DEFAULT, H5E_DEFAULT, H5E_DEFAULT);
|
|
||||||
|
|
||||||
const int ndims = H5Sget_simple_extent_ndims(dataspace);
|
const int ndims = H5Sget_simple_extent_ndims(dataspace);
|
||||||
hsize_t dims[ndims];
|
hsize_t dims[ndims];
|
||||||
|
|||||||
@@ -41,12 +41,10 @@ std::function<double(double)> function1D(json_t* object) {
|
|||||||
std::string x_values_key = json_string(
|
std::string x_values_key = json_string(
|
||||||
json_object_by_path(object, {"PiecewiseLinearFromFile", "xValuesKey"}));
|
json_object_by_path(object, {"PiecewiseLinearFromFile", "xValuesKey"}));
|
||||||
blitz::Array<double, 1> x_values_array = reader.readD1Double(x_values_key);
|
blitz::Array<double, 1> x_values_array = reader.readD1Double(x_values_key);
|
||||||
// DEBUG_LEVEL_3("with x values: " + x_values_array);
|
|
||||||
|
|
||||||
std::string y_values_key = json_string(
|
std::string y_values_key = json_string(
|
||||||
json_object_by_path(object, {"PiecewiseLinearFromFile", "yValuesKey"}));
|
json_object_by_path(object, {"PiecewiseLinearFromFile", "yValuesKey"}));
|
||||||
blitz::Array<double, 1> y_values_array = reader.readD1Double(y_values_key);
|
blitz::Array<double, 1> y_values_array = reader.readD1Double(y_values_key);
|
||||||
// DEBUG_LEVEL_3("with y values: " + y_values_array);
|
|
||||||
|
|
||||||
std::vector<double> x_values(x_values_array.begin(), x_values_array.end());
|
std::vector<double> x_values(x_values_array.begin(), x_values_array.end());
|
||||||
std::vector<double> y_values(y_values_array.begin(), y_values_array.end());
|
std::vector<double> y_values(y_values_array.begin(), y_values_array.end());
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ InteractionOutput Recombination::performInteraction(
|
|||||||
RandomNumbers* generator) {
|
RandomNumbers* generator) {
|
||||||
DEBUG_LEVEL_3("Perform recombination.");
|
DEBUG_LEVEL_3("Perform recombination.");
|
||||||
|
|
||||||
// energy dependent deletions in the future
|
|
||||||
const double energy_eV = 0.;
|
const double energy_eV = 0.;
|
||||||
recombination_target_->dynamicDensityField()->logDeletion(particle.position(),
|
recombination_target_->dynamicDensityField()->logDeletion(particle.position(),
|
||||||
energy_eV);
|
energy_eV);
|
||||||
|
|||||||
@@ -135,23 +135,6 @@ void BorisMover::movementStep(
|
|||||||
u_plus_z + (q * electric_field(2) * maximal_time_step_s_) / (2. * m);
|
u_plus_z + (q * electric_field(2) * maximal_time_step_s_) / (2. * m);
|
||||||
const blitz::TinyVector<double, 3> u_new(u_new_x, u_new_y, u_new_z);
|
const blitz::TinyVector<double, 3> u_new(u_new_x, u_new_y, u_new_z);
|
||||||
|
|
||||||
/*
|
|
||||||
Might be slower, but essentially the same code
|
|
||||||
const blitz::TinyVector<double, 3> u_minus =
|
|
||||||
v + (q * electric_field * maximal_time_step_s_) / (2. * m);
|
|
||||||
const double gamma = kinematic::relativisticGamma(u_minus);;
|
|
||||||
const blitz::TinyVector<double, 3> temp_1 =
|
|
||||||
(q * magnetic_field * maximal_time_step_s_) / (2. * m * gamma);
|
|
||||||
const blitz::TinyVector<double, 3> u_prime =
|
|
||||||
u_minus + (blitz::cross(u_minus, temp_1));
|
|
||||||
const blitz::TinyVector<double, 3> temp_2 =
|
|
||||||
(2. * temp_1) / (1. + (blitz::dot(temp_1, temp_1)));
|
|
||||||
const blitz::TinyVector<double, 3> u_plus =
|
|
||||||
u_minus + (blitz::cross(u_prime, temp_2));
|
|
||||||
const blitz::TinyVector<double, 3> u_new =
|
|
||||||
u_plus + (q * electric_field * maximal_time_step_s_) / (2. * m);
|
|
||||||
*/
|
|
||||||
|
|
||||||
particle->velocity(CartesianVector(u_new));
|
particle->velocity(CartesianVector(u_new));
|
||||||
|
|
||||||
const CartesianCoordinate distance(u_new * maximal_time_step_s_);
|
const CartesianCoordinate distance(u_new * maximal_time_step_s_);
|
||||||
@@ -196,8 +179,6 @@ void DriftMover::move(particle::Particle* particle,
|
|||||||
const blitz::TinyVector<double, 3> B =
|
const blitz::TinyVector<double, 3> B =
|
||||||
magnetic_field->value(old_position).cartesianEntries(old_position);
|
magnetic_field->value(old_position).cartesianEntries(old_position);
|
||||||
const double B_norm = kinematic::norm(B);
|
const double B_norm = kinematic::norm(B);
|
||||||
// Todo: add calculation of divB here
|
|
||||||
// use Kassiopeia paper for reference
|
|
||||||
|
|
||||||
const blitz::TinyVector<double, 3> v_parallel =
|
const blitz::TinyVector<double, 3> v_parallel =
|
||||||
kinematic::parallelVector(old_velocity.cartesianEntries(), B);
|
kinematic::parallelVector(old_velocity.cartesianEntries(), B);
|
||||||
|
|||||||
@@ -3,20 +3,6 @@
|
|||||||
#include "simulation/species.h"
|
#include "simulation/species.h"
|
||||||
|
|
||||||
namespace particle {
|
namespace particle {
|
||||||
/*
|
|
||||||
Particle::Particle(std::shared_ptr<species::TrackedSpecie> specie,
|
|
||||||
Coordinate* position,
|
|
||||||
Vector* velocity)
|
|
||||||
: specie_(specie),
|
|
||||||
position_(CylinderCoordinate(*position)),
|
|
||||||
velocity_(CartesianVector(*velocity, *position)),
|
|
||||||
id_(this->last_id_),
|
|
||||||
time_alive_s_(0.),
|
|
||||||
time_in_bin_s_(0.),
|
|
||||||
interaction_counter_(0) {
|
|
||||||
last_id_++;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
Particle::Particle(std::shared_ptr<species::TrackedSpecie> specie,
|
Particle::Particle(std::shared_ptr<species::TrackedSpecie> specie,
|
||||||
const Coordinate& position,
|
const Coordinate& position,
|
||||||
|
|||||||
@@ -228,7 +228,6 @@ void Simulation::processUntilTermination(
|
|||||||
std::to_string(particle.kineticEnergy_eV()));
|
std::to_string(particle.kineticEnergy_eV()));
|
||||||
std::stringstream output_ss;
|
std::stringstream output_ss;
|
||||||
output_ss << "Position (cyl): " << particle.position().cylinderEntries();
|
output_ss << "Position (cyl): " << particle.position().cylinderEntries();
|
||||||
// output_ss << "\n (cart): " << particle.position().cartesianEntries();
|
|
||||||
DEBUG_LEVEL_3(output_ss.str());
|
DEBUG_LEVEL_3(output_ss.str());
|
||||||
|
|
||||||
SimulationTimer::eventStartPoint(std::string("Interaction"));
|
SimulationTimer::eventStartPoint(std::string("Interaction"));
|
||||||
|
|||||||
Reference in New Issue
Block a user