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

This class includes an interaction and a update steps. More...

#include <particle_dynamics_algorithms.h>

Inherits SPH::InteractionDynamics.

Inherited by SPH::ParticleSmoothing< Vecd >, SPH::RelaxationOfAllDiffusionSpeciesInner< RealBody, SolidParticles, Solid >, SPH::eulerian_weakly_compressible_fluid_dynamics::FreeSurfaceIndicationInner, SPH::fluid_dynamics::DensitySummationInner, SPH::fluid_dynamics::FreeSurfaceIndicationInner, SPH::ParticleDynamics1Level, SPH::ParticleSmoothing< VariableType >, and SPH::RelaxationOfAllDiffusionSpeciesInner< BodyType, BaseParticlesType, BaseMaterialType >.

Public Member Functions

 InteractionDynamicsWithUpdate (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::InteractionDynamics
 InteractionDynamics (SPHBody &sph_body)
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 

Protected Member Functions

virtual void Update (size_t index_i, Real dt=0.0)=0
 
- Protected Member Functions inherited from SPH::InteractionDynamics
virtual void Interaction (size_t index_i, Real dt=0.0)=0
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Protected Attributes

ParticleFunctor functor_update_
 
- 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 class includes an interaction and a update steps.

Member Function Documentation

◆ exec()

void SPH::InteractionDynamicsWithUpdate::exec ( Real  dt = 0.0)
overridevirtual

The only two functions can be called from outside One is for sequential execution, the other is for parallel.

Reimplemented from SPH::InteractionDynamics.

Reimplemented in SPH::ParticleDynamics1Level.


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