SPHinXsys  alpha version
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SPH::CombinedInteractionDynamics Class Reference

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)
 
SPHBodygetSPHBody ()
 

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

InteractionDynamicsdynamics_a_
 
InteractionDynamicsdynamics_b_
 
- Protected Attributes inherited from SPH::InteractionDynamics
ParticleFunctor functor_interaction_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_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
 

Detailed Description

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.

Member Function Documentation

◆ setupDynamics()

void SPH::CombinedInteractionDynamics::setupDynamics ( Real  dt = 0.0)
overrideprotectedvirtual

the function for set global parameters for the particle dynamics

Reimplemented from SPH::ParticleDynamics< void >.


The documentation for this class was generated from the following files: