SPH
Public Member Functions | List of all members
GhostParticlesData Class Reference

Provides a way to access ghost particle data outside the solver. More...

#include <Boundary.h>

Inheritance diagram for GhostParticlesData:
IStorageUserData Polymorphic

Public Member Functions

 GhostParticlesData (Array< Ghost > &&ghosts)
 
GhostgetGhost (const Size idx)
 Returns the reference to ghost particle with given index. More...
 
Size size () const
 Returns the total number of ghost particles. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Provides a way to access ghost particle data outside the solver.

Definition at line 48 of file Boundary.h.

Constructor & Destructor Documentation

◆ GhostParticlesData()

GhostParticlesData::GhostParticlesData ( Array< Ghost > &&  ghosts)
inlineexplicit

Definition at line 53 of file Boundary.h.

Member Function Documentation

◆ getGhost()

Ghost& GhostParticlesData::getGhost ( const Size  idx)
inline

Returns the reference to ghost particle with given index.

Definition at line 57 of file Boundary.h.

◆ size()

Size GhostParticlesData::size ( ) const
inline

Returns the total number of ghost particles.

Definition at line 62 of file Boundary.h.


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