|
SPH
|
Extension of a generic SPH solver, including gravitational interactions of particles. More...
#include <GravitySolver.h>
Public Member Functions | |
| GravitySolver (IScheduler &scheduler, const RunSettings &settings, const EquationHolder &equations) | |
| Creates the gravity solver, used implementation of gravity given by settings parameters. More... | |
| GravitySolver (IScheduler &scheduler, const RunSettings &settings, const EquationHolder &equations, AutoPtr< IBoundaryCondition > &&bc) | |
| Creates the gravity solver by explicitly specifying the boundary conditions. More... | |
| GravitySolver (IScheduler &scheduler, const RunSettings &settings, const EquationHolder &equations, AutoPtr< IBoundaryCondition > &&bc, AutoPtr< IGravity > &&gravity) | |
| Creates the gravity solver by explicitly specifying the boundary conditions and gravity implementation. More... | |
| ~GravitySolver () | |
| GravitySolver (IScheduler &scheduler, const RunSettings &settings, const EquationHolder &equations, AutoPtr< IBoundaryCondition > &&bc, AutoPtr< IGravity > &&gravity) | |
Protected Member Functions | |
| virtual void | loop (Storage &storage, Statistics &stats) override |
| virtual void | sanityCheck (const Storage &storage) const override |
| virtual RawPtr< const IBasicFinder > | getFinder (ArrayView< const Vector > r) override |
| Accumulated & | getAccumulated () |
| Returns the accumulated storage, either thread-local or shared one based on SPH solver. More... | |
| Accumulated & | getAccumulated () |
| Accumulated & | getAccumulated () |
| Accumulated & | getAccumulated () |
| RawPtr< const IBasicFinder > | getFinder (ArrayView< const Vector > r) |
| RawPtr< const IBasicFinder > | getFinder (ArrayView< const Vector > r) |
| RawPtr< const IBasicFinder > | getFinder (ArrayView< const Vector > UNUSED(r)) |
Extension of a generic SPH solver, including gravitational interactions of particles.
Explicitly specialized for AsymmetricSolver, SymmetricSolver and EnergyConservingSolver.
Definition at line 22 of file GravitySolver.h.
| NAMESPACE_SPH_BEGIN GravitySolver< TSphSolver >::GravitySolver | ( | IScheduler & | scheduler, |
| const RunSettings & | settings, | ||
| const EquationHolder & | equations | ||
| ) |
Creates the gravity solver, used implementation of gravity given by settings parameters.
Definition at line 18 of file GravitySolver.cpp.
| GravitySolver< TSphSolver >::GravitySolver | ( | IScheduler & | scheduler, |
| const RunSettings & | settings, | ||
| const EquationHolder & | equations, | ||
| AutoPtr< IBoundaryCondition > && | bc | ||
| ) |
Creates the gravity solver by explicitly specifying the boundary conditions.
Definition at line 24 of file GravitySolver.cpp.
| GravitySolver< TSphSolver >::GravitySolver | ( | IScheduler & | scheduler, |
| const RunSettings & | settings, | ||
| const EquationHolder & | equations, | ||
| AutoPtr< IBoundaryCondition > && | bc, | ||
| AutoPtr< IGravity > && | gravity | ||
| ) |
Creates the gravity solver by explicitly specifying the boundary conditions and gravity implementation.
Definition at line 31 of file GravitySolver.cpp.
|
default |
| GravitySolver< SymmetricSolver< DIMENSIONS > >::GravitySolver | ( | IScheduler & | scheduler, |
| const RunSettings & | settings, | ||
| const EquationHolder & | equations, | ||
| AutoPtr< IBoundaryCondition > && | bc, | ||
| AutoPtr< IGravity > && | gravity | ||
| ) |
Definition at line 45 of file GravitySolver.cpp.
|
protected |
Definition at line 90 of file GravitySolver.cpp.
|
protected |
Definition at line 97 of file GravitySolver.cpp.
|
protected |
Definition at line 102 of file GravitySolver.cpp.
|
protected |
Returns the accumulated storage, either thread-local or shared one based on SPH solver.
|
protected |
Definition at line 107 of file GravitySolver.cpp.
|
protected |
Definition at line 118 of file GravitySolver.cpp.
|
overrideprotectedvirtual |
|
protected |
Definition at line 129 of file GravitySolver.cpp.
|
overrideprotectedvirtual |
Definition at line 64 of file GravitySolver.cpp.
|
overrideprotectedvirtual |
Definition at line 137 of file GravitySolver.cpp.