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

A body part with the cell lists near the surface of a prescribed shape. More...

#include <base_body_part.h>

Inherits SPH::BodyPartByCell.

Public Member Functions

 NearShapeSurface (RealBody &real_body, SharedPtr< Shape > shape_ptr)
 
 NearShapeSurface (RealBody &real_body)
 
 NearShapeSurface (RealBody &real_body, const std::string &shape_name)
 
- Public Member Functions inherited from SPH::BodyPartByCell
 BodyPartByCell (RealBody &real_body, const std::string &body_part_name)
 
- Public Member Functions inherited from SPH::BodyPart
 BodyPart (SPHBody &sph_body, const std::string &body_part_name)
 
SPHBodygetSPHBody ()
 
std::string BodyPartName ()
 

Public Attributes

LevelSetShapelevel_set_shape_
 
- Public Attributes inherited from SPH::BodyPartByCell
CellLists body_part_cells_
 

Additional Inherited Members

- Protected Types inherited from SPH::BodyPartByCell
typedef std::function< bool(Vecd, Real)> TaggingCellMethod
 
- Protected Member Functions inherited from SPH::BodyPartByCell
void tagCells (TaggingCellMethod &tagging_cell_method)
 
- Protected Attributes inherited from SPH::BodyPartByCell
BaseCellLinkedListcell_linked_list_
 
- Protected Attributes inherited from SPH::BodyPart
SPHBodysph_body_
 
std::string body_part_name_
 

Detailed Description

A body part with the cell lists near the surface of a prescribed shape.

Constructor & Destructor Documentation

◆ NearShapeSurface() [1/3]

SPH::NearShapeSurface::NearShapeSurface ( RealBody real_body,
SharedPtr< Shape shape_ptr 
)

for the case that the body part shape is not that of the body

◆ NearShapeSurface() [2/3]

SPH::NearShapeSurface::NearShapeSurface ( RealBody real_body)
explicit

for the case that the body part shape is the surface of the body shape

◆ NearShapeSurface() [3/3]

SPH::NearShapeSurface::NearShapeSurface ( RealBody real_body,
const std::string &  shape_name 
)

for the case that the body part shape is one part of the surface of the body shape


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