SPHinXsys
alpha version
|
A SolidBodyPart for coupling with Simbody. The mass, origin, and unit inertial matrix are computed. Note: In Simbody, all spatial vectors are three dimensional. More...
#include <solid_body.h>
Inherits SPH::BodyRegionByParticle.
Public Member Functions | |
SolidBodyPartForSimbody (SPHBody &body, SharedPtr< Shape > shape_ptr) | |
Public Member Functions inherited from SPH::BodyRegionByParticle | |
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 | |
Vec3d | initial_mass_center_ |
SimTK::MassProperties * | body_part_mass_properties_ |
Public Attributes inherited from SPH::BodyRegionByParticle | |
Shape & | body_part_shape_ |
Public Attributes inherited from SPH::BodyPartByParticle | |
IndexVector | body_part_particles_ |
Protected Attributes | |
UniquePtrKeeper< SimTK::MassProperties > | mass_properties_ptr_keeper_ |
Real | solid_body_density_ |
SolidParticles * | solid_particles_ |
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_ |
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) |
A SolidBodyPart for coupling with Simbody. The mass, origin, and unit inertial matrix are computed. Note: In Simbody, all spatial vectors are three dimensional.