44 return "SPH stabilization";
56 bool isResumed =
false;
@ GEOMETRY
Job providing geometry.
@ PARTICLES
Job providing particles.
#define NAMESPACE_SPH_END
Wrapper of pointer that deletes the resource from destructor.
Base class for jobs running a simulation.
static RunSettings getDefaultSettings(const std::string &name)
virtual std::string className() const override
Name representing the type of the job (e.e. "SPH").
virtual UnorderedMap< std::string, ExtJobType > getSlots() const override
Lists all potential inputs of the job.
virtual AutoPtr< IRun > getRun(const RunSettings &overrides) const override
Returns the actual simulation object.
virtual VirtualSettings getSettings() override
Returns a settings object which allows to query and modify the state of the job.
NBodyJob(const std::string &name, const RunSettings &overrides=EMPTY_SETTINGS)
TValue get(const TEnum idx, std::enable_if_t<!std::is_enum< std::decay_t< TValue >>::value, int >=0) const
Returns a value of given type from the settings.
virtual AutoPtr< IRun > getRun(const RunSettings &overrides) const override
Returns the actual simulation object.
virtual UnorderedMap< std::string, ExtJobType > getSlots() const override
Lists all potential inputs of the job.
virtual VirtualSettings getSettings() override
Returns a settings object which allows to query and modify the state of the job.
virtual UnorderedMap< std::string, ExtJobType > requires() const override
List of slots that need to be connected to evaluate the job.
static RunSettings getDefaultSettings(const std::string &name)
virtual std::string className() const override
Name representing the type of the job (e.e. "SPH").
SphJob(const std::string &name, const RunSettings &overrides=EMPTY_SETTINGS)
virtual std::string className() const override
Name representing the type of the job (e.e. "SPH").
virtual VirtualSettings getSettings() override
Returns a settings object which allows to query and modify the state of the job.
virtual AutoPtr< IRun > getRun(const RunSettings &overrides) const override
Returns the actual simulation object.
Holds a map of virtual entries, associated with a unique name.
const EmptySettingsTag EMPTY_SETTINGS
@ NONE
Do not use any boundary conditions (= vacuum conditions)
@ DOMAIN_BOUNDARY
Type of boundary conditions.