diff --git a/README b/README index 1cab50b..5872cc0 100755 --- a/README +++ b/README @@ -70,6 +70,26 @@ E.g. "scattering_angle_example.json" shows the four different types of scattering angle distributions that can be used in the code and how they are to be structured in a working parameter file. +INPUT OF THE SIMULATION (HDF5 files): +For several groups in the JSON input file it is possible to read data from an external +HDF5 file, these groups are those that specify a Vector Field, Function or a Scattering Angle Distribution. + +For the Scattering Angle Distribution it is necessary that the HDF5 files contain the +three objects "energies(eV)", "angles(rad)" and "cross_sections(m-2)". The first two +both have to be one dimensional arrays, containing the energies in eV and angles in rad +where the cross sections are defined respectivley. The thrid key has to contain a +two-dimensional array containing the actual values of the cross section in m^2, with the +first dimension being the energy and the second dimension being the angle. + +In case of the Vector Field or the Function the structure of the input HDF5 file +is not as rigid, since the keys to the specific objects in the file have to be provided +in the JSON object. +The necessary structure in the JSON file for these two types types +of objects can either be found in the provided example JSON files or in the comments +in the corresponding generator files (i.e. "include/generators/vector_field_generator.h" +and "include/generators/function_generator.h"). + + NOTES: Kommentare in den files: position_binning.*, current_collector.*, kinematic.*, sim_constants.h, mover.*, simulation_output.*, functions.*, injector_generator.h, ionization.h, recombination.cpp und species_generator überprüfen lassen