20 Float targetDensityDifference;
43 virtual void sanityCheck(
const Storage& storage)
const override;
uint32_t Size
Integral type used to index arrays (by default).
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
#define NAMESPACE_SPH_END
Basic SPH solver, evaluating all interactions symmetrically.
Container holding equation terms.
Material settings and functions specific for one material.
Interface that allows unified implementation of sequential and parallelized versions of algorithms.
Object holding various statistics about current run.
Container storing all quantities used within the simulations.
SPH solver using density and specific energy as independent variables.
virtual void create(Storage &storage, IMaterial &material) const override
Initializes all quantities needed by the solver in the storage.
SummationSolver(IScheduler &scheduler, const RunSettings &settings, const EquationHolder &additionalEquations={})
Basic solver for integration of SPH equations.
IScheduler & scheduler
Scheduler to parallelize the solver.
AutoPtr< IBoundaryCondition > bc
Boundary condition used by the solver.