#ifndef SCALAR_FIELD_GENERATOR_H #define SCALAR_FIELD_GENERATOR_H #include #include "jansson.h" #include "simulation/scalar_field.h" namespace generator { // return a shared_ptr to a ScalarField object described in the json-object "object" // has to contain a json-object "ScalarFieldFunctionInZ" // - has to contain a json-object "zFunction" defined as in "function3D" (in "generators/function_generator.h") // (example in "simulation_config/scalar_fields_examples.json") std::shared_ptr buildScalarField(json_t* object); } #endif /* SCALAR_FIELD_GENERATOR_H */