SPHinXsys
alpha version
|
A body part with the collection of particles within by a prescribed shape. More...
#include <base_body_part.h>
Inherits SPH::BodyPartByParticle.
Inherited by SPH::SolidBodyPartForSimbody.
Public Member Functions | |
BodyRegionByParticle (SPHBody &sph_body, SharedPtr< Shape > shape_ptr) | |
Public Member Functions inherited from SPH::BodyPartByParticle | |
BodyPartByParticle (SPHBody &sph_body, const std::string &body_part_name) | |
void | setBodyPartBounds (BoundingBox bbox) |
BoundingBox | getBodyPartBounds () |
Public Member Functions inherited from SPH::BodyPart | |
BodyPart (SPHBody &sph_body, const std::string &body_part_name) | |
SPHBody * | getSPHBody () |
std::string | BodyPartName () |
Public Attributes | |
Shape & | body_part_shape_ |
Public Attributes inherited from SPH::BodyPartByParticle | |
IndexVector | body_part_particles_ |
Additional Inherited Members | |
Protected Types inherited from SPH::BodyPartByParticle | |
typedef std::function< void(size_t)> | TaggingParticleMethod |
Protected Member Functions inherited from SPH::BodyPartByParticle | |
void | tagParticles (TaggingParticleMethod &tagging_particle_method) |
Protected Attributes inherited from SPH::BodyPartByParticle | |
BaseParticles * | base_particles_ |
BoundingBox | body_part_bounds_ |
bool | body_part_bounds_set_ |
Protected Attributes inherited from SPH::BodyPart | |
SPHBody * | sph_body_ |
std::string | body_part_name_ |
A body part with the collection of particles within by a prescribed shape.