#ifndef ELECTRIC_FIELD_GENERATOR_H #define ELECTRIC_FIELD_GENERATOR_H #include "simulation/electromagnetic_field.h" #include "simulation/parameter.h" namespace generator { // create an ElectricField object from a json_t pointer to an json object // defining the electric field // has to consist of two json-objects "Background" and "Dynamic" defining the vector fields // as described in "generators/vector_field_generator.h" (function: "buildVectorField") std::shared_ptr electricField(json_t* object); // create an ElectricField object from the given Parameter object // json file has to have a json object called "ElectricField" directly in the json root object // of the parameter file std::shared_ptr electricField(Parameter& parameter); }; // namespace generator #endif /* ELECTRIC_FIELD_GENERATOR_H */