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

The method imposing periodic boundary condition in an axis direction by using ghost particles. It includes three different steps, i.e. imposing periodic bounding, creating ghosts and update ghost state. The first step is carried out before update cell linked list and the second and third after the updating. If the exec or parallel_exec is called directly, error message will be given. Note that, currently, this class is not for periodic condition in combined directions, such as periodic condition in both x and y directions. More...

#include <general_bounding.h>

Inherits SPH::PeriodicConditionInAxisDirection.

Classes

class  CreatPeriodicGhostParticles
 create ghost particles in an axis direction More...
 
class  UpdatePeriodicGhostParticles
 update ghost particles in an axis direction More...
 

Public Member Functions

 PeriodicConditionInAxisDirectionUsingGhostParticles (RealBody &real_body, int axis_direction)
 
- Public Member Functions inherited from SPH::PeriodicConditionInAxisDirection
 PeriodicConditionInAxisDirection (RealBody &real_body, int axis_direction)
 

Public Attributes

PeriodicBounding bounding_
 
CreatPeriodicGhostParticles ghost_creation_
 
UpdatePeriodicGhostParticles ghost_update_
 

Protected Attributes

StdVec< IndexVectorghost_particles_
 
- Protected Attributes inherited from SPH::PeriodicConditionInAxisDirection
Vecd periodic_translation_
 
StdVec< CellListsbound_cells_
 

Additional Inherited Members

- Protected Member Functions inherited from SPH::PeriodicConditionInAxisDirection
void setPeriodicTranslation (BoundingBox &body_domain_bounds, int axis_direction)
 

Detailed Description

The method imposing periodic boundary condition in an axis direction by using ghost particles. It includes three different steps, i.e. imposing periodic bounding, creating ghosts and update ghost state. The first step is carried out before update cell linked list and the second and third after the updating. If the exec or parallel_exec is called directly, error message will be given. Note that, currently, this class is not for periodic condition in combined directions, such as periodic condition in both x and y directions.


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