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

Bounding particle position in a axis direction. The axis_direction must be 0, 1 for 2d and 0, 1, 2 for 3d. More...

#include <general_bounding.h>

Inherits SPH::ParticleDynamics< void >, and SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.

Inherited by SPH::MirrorBoundaryConditionInAxisDirection, SPH::MirrorBoundaryConditionInAxisDirection::MirrorBounding, SPH::OpenBoundaryConditionInAxisDirection::ParticleTypeTransfer, SPH::PeriodicConditionInAxisDirection::PeriodicBounding, and SPH::PeriodicConditionInAxisDirection::PeriodicCondition.

Public Member Functions

 BoundingInAxisDirection (RealBody &real_body, int axis_direction)
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
virtual void exec (Real dt=0.0)=0
 
virtual void parallel_exec (Real dt=0.0)=0
 
- Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >
 DataDelegateSimple (SPHBody &sph_body)
 
BodyType * getBody ()
 
ParticlesType * getParticles ()
 
MaterialType * getMaterial ()
 

Protected Attributes

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

Bounding particle position in a axis direction. The axis_direction must be 0, 1 for 2d and 0, 1, 2 for 3d.

Member Data Documentation

◆ axis_

const int SPH::BoundingInAxisDirection::axis_
protected

the axis directions for bounding

◆ body_domain_bounds_

BoundingBox SPH::BoundingInAxisDirection::body_domain_bounds_
protected

lower and upper bound for checking.

◆ cut_off_radius_max_

Real SPH::BoundingInAxisDirection::cut_off_radius_max_
protected

maximum cut off radius to avoid boundary particle depletion


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