SPHinXsys
alpha version
|
A body part with a collection of particles. More...
#include <base_body_part.h>
Inherits SPH::BodyPart.
Inherited by SPH::BodyRegionByParticle, SPH::BodySurface, SPH::BodySurfaceLayer, and SPH::TreeTerminates.
Public Member Functions | |
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 | |
IndexVector | body_part_particles_ |
Protected Types | |
typedef std::function< void(size_t)> | TaggingParticleMethod |
Protected Member Functions | |
void | tagParticles (TaggingParticleMethod &tagging_particle_method) |
Protected Attributes | |
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 a collection of particles.
IndexVector SPH::BodyPartByParticle::body_part_particles_ |
Collection particle in this body part.