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

Mirror bounding particle position and velocity in an axis direction Note that, currently, this class is not for mirror condition in combined directions, such as mirror condition in both x and y directions. More...

#include <general_bounding.h>

Inherits SPH::BoundingInAxisDirection.

Classes

class  CreatingGhostParticles
 ghost particle created according to its corresponding real particle More...
 
class  MirrorBounding
 
class  UpdatingGhostStates
 the state of a ghost particle updated according to its corresponding real particle More...
 

Public Member Functions

 MirrorBoundaryConditionInAxisDirection (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::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 ()
 

Public Attributes

MirrorBounding bounding_
 
CreatingGhostParticles creating_ghost_particles_
 
UpdatingGhostStates updating_ghost_states_
 

Protected Attributes

CellLists bound_cells_
 
IndexVector ghost_particles_
 
- 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
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Detailed Description

Mirror bounding particle position and velocity in an axis direction Note that, currently, this class is not for mirror condition in combined directions, such as mirror condition in both x and y directions.

Member Function Documentation

◆ exec()

virtual void SPH::MirrorBoundaryConditionInAxisDirection::exec ( Real  dt = 0.0)
inlineoverridevirtual

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 file: