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

the state of a ghost particle updated according to its corresponding real particle More...

#include <general_bounding.h>

Inherits SPH::MirrorBoundaryConditionInAxisDirection::MirrorBounding.

Public Member Functions

 UpdatingGhostStates (IndexVector &ghost_particles, CellLists &bound_cells, RealBody &real_body, int axis_direction, bool positive)
 
virtual void exec (Real dt=0.0) override
 
virtual void parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::MirrorBoundaryConditionInAxisDirection::MirrorBounding
 MirrorBounding (CellLists &bound_cells, RealBody &real_body, int axis_direction, bool positive)
 
- Public Member Functions inherited from SPH::BoundingInAxisDirection
 BoundingInAxisDirection (RealBody &real_body, int axis_direction)
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >
 DataDelegateSimple (SPHBody &sph_body)
 
BodyType * getBody ()
 
ParticlesType * getParticles ()
 
MaterialType * getMaterial ()
 

Protected Member Functions

void checkLowerBound (size_t index_i, Real dt=0.0) override
 
void checkUpperBound (size_t index_i, Real dt=0.0) override
 
- Protected Member Functions inherited from SPH::MirrorBoundaryConditionInAxisDirection::MirrorBounding
void mirrorInAxisDirection (size_t particle_index_i, Vecd body_bound, int axis_direction)
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Protected Attributes

IndexVectorghost_particles_
 
ParticleFunctor checking_bound_update_
 
- Protected Attributes inherited from SPH::MirrorBoundaryConditionInAxisDirection::MirrorBounding
CellListsbound_cells_
 
ParticleFunctor checking_bound_
 
StdLargeVec< Vecd > & vel_
 
- Protected Attributes inherited from SPH::BoundingInAxisDirection
const int axis_
 
BoundingBox body_domain_bounds_
 
StdLargeVec< Vecd > & pos_
 
BaseCellLinkedListcell_linked_list_
 
Real cut_off_radius_max_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 
- Protected Attributes inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >
BodyType * body_
 
ParticlesType * particles_
 
MaterialType * material_
 
StdLargeVec< size_t > & sorted_id_
 
StdLargeVec< size_t > & unsorted_id_
 

Additional Inherited Members

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

Detailed Description

the state of a ghost particle updated according to its corresponding real particle

Member Function Documentation

◆ exec()

void SPH::MirrorBoundaryConditionInAxisDirection::UpdatingGhostStates::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::MirrorBoundaryConditionInAxisDirection::MirrorBounding.


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