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

Abstract class for imposing Eulerian constrain to a body. The constrained particles are in the tagged cells . More...

#include <particle_dynamics_bodypart.h>

Inherits SPH::ParticleDynamics< void >.

Inherited by SPH::fluid_dynamics::DampingBoundaryCondition, SPH::fluid_dynamics::FlowRelaxationBuffer, SPH::fluid_dynamics::StaticConfinementDensity, SPH::fluid_dynamics::StaticConfinementDensityRelaxation, SPH::fluid_dynamics::StaticConfinementPressureRelaxation, SPH::relax_dynamics::ShapeSurfaceBounding, and SPH::relax_dynamics::ShellMidSurfaceBounding.

Public Member Functions

 PartDynamicsByCell (SPHBody &sph_body, BodyPartByCell &body_part)
 
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 Update (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

CellListsbody_part_cells_
 
ParticleFunctor functor_update_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 

Additional Inherited Members

- Static Public Attributes inherited from SPH::GlobalStaticVariables
static Real physical_time_ = 0.0
 

Detailed Description

Abstract class for imposing Eulerian constrain to a body. The constrained particles are in the tagged cells .

Member Function Documentation

◆ exec()

void SPH::PartDynamicsByCell::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.

Implements SPH::ParticleDynamics< void >.


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