SPHinXsys
alpha version
|
Base abstract class for reduce. More...
#include <particle_dynamics_algorithms.h>
Inherits SPH::ParticleDynamics< ReturnType >.
Public Member Functions | |
ParticleDynamicsReduce (SPHBody &sph_body) | |
ReturnType | InitialReference () |
std::string | QuantityName () |
virtual ReturnType | exec (Real dt=0.0) override |
virtual ReturnType | parallel_exec (Real dt=0.0) override |
Public Member Functions inherited from SPH::ParticleDynamics< ReturnType > | |
ParticleDynamics (SPHBody &sph_body) | |
SPHBody * | getSPHBody () |
Protected Member Functions | |
virtual void | SetupReduce () |
virtual ReturnType | ReduceFunction (size_t index_i, Real dt=0.0)=0 |
virtual ReturnType | OutputResult (ReturnType reduced_value) |
Protected Member Functions inherited from SPH::ParticleDynamics< ReturnType > | |
void | setBodyUpdated () |
virtual void | setupDynamics (Real dt=0.0) |
Protected Attributes | |
ReduceOperation | reduce_operation_ |
std::string | quantity_name_ |
ReturnType | initial_reference_ |
ReduceFunctor< ReturnType > | functor_reduce_function_ |
Protected Attributes inherited from SPH::ParticleDynamics< ReturnType > | |
SPHBody * | sph_body_ |
SPHAdaptation * | sph_adaptation_ |
BaseParticles * | base_particles_ |
Additional Inherited Members | |
Static Public Attributes inherited from SPH::GlobalStaticVariables | |
static Real | physical_time_ = 0.0 |
Base abstract class for reduce.
|
inlineoverridevirtual |
The only two functions can be called from outside One is for sequential execution, the other is for parallel.
Implements SPH::ParticleDynamics< ReturnType >.
|
protected |
initial or reference value