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

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)
 
SPHBodygetSPHBody ()
 
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

BaseParticlesbase_particles_
 
BoundingBox body_part_bounds_
 
bool body_part_bounds_set_
 
- Protected Attributes inherited from SPH::BodyPart
SPHBodysph_body_
 
std::string body_part_name_
 

Detailed Description

A body part with a collection of particles.

Member Data Documentation

◆ body_part_particles_

IndexVector SPH::BodyPartByParticle::body_part_particles_

Collection particle in this body part.


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