SPHinXsys
alpha version
|
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) | |
SPHBody * | getSPHBody () |
std::string | BodyPartName () |
Public Attributes | |
LevelSetShape & | level_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 | |
BaseCellLinkedList * | cell_linked_list_ |
Protected Attributes inherited from SPH::BodyPart | |
SPHBody * | sph_body_ |
std::string | body_part_name_ |
A body part with the cell lists near the surface of a prescribed shape.
for the case that the body part shape is not that of the body
|
explicit |
for the case that the body part shape is the surface of the body shape
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