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

Periodic bounding particle position in an axis direction. More...

#include <general_bounding.h>

Inherits SPH::BoundingInAxisDirection.

Public Member Functions

 PeriodicBounding (Vecd &periodic_translation, StdVec< CellLists > &bound_cells, RealBody &real_body, int axis_direction)
 
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 ()
 

Protected Member Functions

virtual void checkLowerBound (size_t index_i, Real dt=0.0)
 
virtual void checkUpperBound (size_t index_i, Real dt=0.0)
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Protected Attributes

Vecd & periodic_translation_
 
StdVec< CellLists > & bound_cells_
 
- 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

Periodic bounding particle position in an axis direction.

Member Function Documentation

◆ exec()

void SPH::PeriodicConditionInAxisDirection::PeriodicBounding::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: