44#ifndef PFC_FIELD_MODIFIER_HPP
45#define PFC_FIELD_MODIFIER_HPP
243 std::string m_field_name =
"default";
244 std::string m_default_name =
"default";
303 void set_field_name(
const std::string &
field_name) {
305 throw std::invalid_argument(
"Field name cannot be empty");
334 const std::string &get_field_name()
const {
return m_field_name; }
Definition field_modifier.hpp:240
virtual const std::string & get_modifier_name() const
Get the name of the field modifier.
Definition field_modifier.hpp:344
virtual ~FieldModifier()=default
Destructor for the FieldModifier class.
virtual void apply(Model &model, double time)=0
Apply the field modification to the model (pure virtual)
The Model class represents the physics model for simulations in OpenPFC.
Definition model.hpp:95
Mathematical and physical constants.
Physics model abstraction for phase-field simulations.
Represents the global simulation domain (the "world").
Definition world.hpp:91