SPHinXsys
alpha version
|
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) | |
SPHBody * | getSPHBody () |
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 | |
CellLists & | body_part_cells_ |
ParticleFunctor | functor_update_ |
Protected Attributes inherited from SPH::ParticleDynamics< void > | |
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 |
Abstract class for imposing Eulerian constrain to a body. The constrained particles are in the tagged cells .
|
overridevirtual |
The only two functions can be called from outside One is for sequential execution, the other is for parallel.
Implements SPH::ParticleDynamics< void >.