22 , path(path.native()) {}
56 , firstFile(firstFile.native()) {}
59 return "load sequence";
103 Float resolution = 1.e4_f;
104 Float level = 0.13_f;
105 Float smoothingMult = 1._f;
106 bool anisotropic =
false;
107 bool scaleToUnit =
false;
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
FlatMap< Size, Path > getFileSequence(const Path &firstFile)
@ PARTICLES
Job providing particles.
#define NAMESPACE_SPH_END
@ NBODY
Main N-body simulation, using initial conditions either from SPH (handoff) or manually specified.
virtual void evaluate(const RunSettings &global, IRunCallbacks &callbacks) override
Runs the operation provided by the job.
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.
FileSequenceJob(const std::string &name, const Path &firstFile=Path("file_0000.ssf"))
virtual VirtualSettings getSettings() override
Returns a settings object which allows to query and modify the state of the job.
Container of key-value pairs.
Base class for all jobs providing particle data.
Callbacks executed by the simulation to provide feedback to the user.
virtual void evaluate(const RunSettings &global, IRunCallbacks &callbacks) override
Runs the operation provided by the job.
virtual UnorderedMap< std::string, ExtJobType > getSlots() const override
Lists all potential inputs of the job.
LoadFileJob(const Path &path=Path("file.ssf"))
virtual VirtualSettings getSettings() override
Returns a settings object which allows to query and modify the state of the job.
virtual std::string className() const override
Name representing the type of the job (e.e. "SPH").
virtual std::string instanceName() const override
Unique name representing this job.
Object representing a path on a filesystem.
std::string native() const
Returns the native version of the path.
Path fileName() const
Returns the filename of the path.
SaveFileJob(const std::string &name)
virtual VirtualSettings getSettings() override
Returns a settings object which allows to query and modify the state of the job.
virtual void evaluate(const RunSettings &global, IRunCallbacks &callbacks) override
Runs the operation provided by the job.
virtual UnorderedMap< std::string, ExtJobType > getSlots() const override
Lists all potential inputs of the job.
virtual std::string instanceName() const override
Unique name representing this job.
virtual std::string className() const override
Name representing the type of the job (e.e. "SPH").
SaveMeshJob(const std::string &name)
virtual VirtualSettings getSettings() override
Returns a settings object which allows to query and modify the state of the job.
virtual void evaluate(const RunSettings &global, IRunCallbacks &UNUSED(callbacks)) override
virtual UnorderedMap< std::string, ExtJobType > getSlots() const override
Lists all potential inputs of the job.
virtual std::string className() const override
Name representing the type of the job (e.e. "SPH").
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.
Holds a map of virtual entries, associated with a unique name.
@ RUN_OUTPUT_NAME
File name of the output file (including extension), where d is a placeholder for output number.