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
@@ -6,8 +6,15 @@
namespace generator {
// create an MagneticField object from a json_t pointer to an json object
// defining the magnetic field
// has to consist of a json-objects called "VectorField"
// as described in "generators/vector_field_generator.h" (function: "buildVectorField")
std::shared_ptr<MagneticField> magneticField(json_t* object);
// create an MagneticField object from the given Parameter object
// json file has to have a json object called "MagneticField" directly in the root object
// of the parameter file
std::shared_ptr<MagneticField> magneticField(Parameter& parameter);
}; // namespace generator