SPHinXsys
alpha version
|
This is the class for combining several interactions dynamics, which share the particle loop but are independent from each other, aiming to increase computing intensity under the data caching environment. More...
#include <particle_dynamics_algorithms.h>
Inherits SPH::InteractionDynamics.
Public Member Functions | |
CombinedInteractionDynamics (InteractionDynamics &dynamics_a, InteractionDynamics &dynamics_b) | |
Public Member Functions inherited from SPH::InteractionDynamics | |
InteractionDynamics (SPHBody &sph_body) | |
virtual void | exec (Real dt=0.0) override |
virtual void | parallel_exec (Real dt=0.0) override |
Public Member Functions inherited from SPH::ParticleDynamics< void > | |
ParticleDynamics (SPHBody &sph_body) | |
SPHBody * | getSPHBody () |
Protected Member Functions | |
virtual void | setupDynamics (Real dt=0.0) override |
virtual void | Interaction (size_t index_i, Real dt=0.0) override |
Protected Member Functions inherited from SPH::ParticleDynamics< void > | |
void | setBodyUpdated () |
Protected Attributes | |
InteractionDynamics & | dynamics_a_ |
InteractionDynamics & | dynamics_b_ |
Protected Attributes inherited from SPH::InteractionDynamics | |
ParticleFunctor | functor_interaction_ |
Protected Attributes inherited from SPH::ParticleDynamics< void > | |
SPHBody * | sph_body_ |
SPHAdaptation * | sph_adaptation_ |
BaseParticles * | base_particles_ |
Additional Inherited Members | |
Public Attributes inherited from SPH::InteractionDynamics | |
StdVec< ParticleDynamics< void > * > | pre_processes_ |
StdVec< ParticleDynamics< void > * > | post_processes_ |
Static Public Attributes inherited from SPH::GlobalStaticVariables | |
static Real | physical_time_ = 0.0 |
This is the class for combining several interactions dynamics, which share the particle loop but are independent from each other, aiming to increase computing intensity under the data caching environment.
|
overrideprotectedvirtual |
the function for set global parameters for the particle dynamics
Reimplemented from SPH::ParticleDynamics< void >.