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
@@ -7,10 +7,21 @@
namespace generator {
// create a shared_ptr to a DriftVelocity object described by the json-object in parameter at the
// path "path_to_drift_velocity"
// has to consist of a json-object "VectorField" or "null"
// if "VectorField" is specified: has to follow the form described by "buildVectorField" (in "generators/vector_field_generator.h")
// if "null" is specified: nothing more has to be specified, simply returns a nullptr
// (examples in "simulation_config/drift_velocity_examples.json")
std::shared_ptr<DriftVelocity> buildDriftVelocity(
Parameter& parameter,
const json_path& path_to_drift_velocity);
// create a shared_ptr to a DriftVelocity object described by the json-object in parameter at the
// path "path_to_drift_velocity"
// if a json-array called "CreateSameAs" exists: has to consist of the path to the DriftVelocity
// json-object that should be used (e.g. ["Object1", "Object2", ..., "DriftVelocity"], has to start at the root)
// otherwise same specifications as "buildDriftVelocity"
std::shared_ptr<DriftVelocity> buildDriftVelocityIncludingRedirection(
Parameter& parameter, const json_path& path_to_drift_velocity);
};