Many, many more comments

This commit is contained in:
2024-12-04 17:15:04 +01:00
parent 8696517336
commit 03854339ca
100 changed files with 1702 additions and 49 deletions
+16
View File
@@ -7,6 +7,22 @@
namespace generator {
// return a shared_ptr to a Mover object described at the given path in the Parameter file
// the json-object at path_to_mover has to consist of a json-object called either "Boris", "Drift" or "Euler"
// if "Boris" exists:
// - has to contain a json-object "MaximalTimestepLength", which has to contain
// a json-double called "value" giving the maximum allowed timestep for the BorisMover
// in seconds
//
// if "Drift" is specified:
// - has to contain a json-object "MaximalMovedDistance" which has to follow the form
// described in json_read_length ("simulation/jansson_additionals.h")
// specifies the maximal distance a particle is allowed to move in one timestep
//
// if "Euler" is specified:
// - has to contain a json-object "MaximalMovedDistance" which has to follow the form
// described in json_read_length ("simulation/jansson_additionals.h")
// specifies the maximal distance a particle is allowed to move in one timestep
std::shared_ptr<Mover> buildMover(Parameter& parameter,
const json_path& path_to_mover);