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

create ghost particles in an axis direction More...

#include <general_bounding.h>

Inherits PeriodicBounding.

Public Member Functions

 CreatPeriodicGhostParticles (Vecd &periodic_translation, StdVec< CellLists > &bound_cells, StdVec< IndexVector > &ghost_particles, RealBody &real_body, int axis_direction)
 
virtual void parallel_exec (Real dt=0.0) override
 

Protected Member Functions

virtual void setupDynamics (Real dt=0.0) override
 
virtual void checkLowerBound (size_t index_i, Real dt=0.0) override
 
virtual void checkUpperBound (size_t index_i, Real dt=0.0) override
 

Protected Attributes

StdVec< IndexVector > & ghost_particles_
 

Detailed Description

create ghost particles in an axis direction

Member Function Documentation

◆ checkLowerBound()

void SPH::PeriodicConditionInAxisDirectionUsingGhostParticles::CreatPeriodicGhostParticles::checkLowerBound ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual

insert ghost particle to cell linked list

◆ checkUpperBound()

void SPH::PeriodicConditionInAxisDirectionUsingGhostParticles::CreatPeriodicGhostParticles::checkUpperBound ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual

insert ghost particle to cell linked list

◆ parallel_exec()

virtual void SPH::PeriodicConditionInAxisDirectionUsingGhostParticles::CreatPeriodicGhostParticles::parallel_exec ( Real  dt = 0.0)
inlineoverridevirtual

This class is only implemented in sequential due to memory conflicts. Because creating ghost particle allocate memory.


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