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

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)
 
SPHBodygetSPHBody ()
 
std::string BodyPartName ()
 

Public Attributes

Vec3d initial_mass_center_
 
SimTK::MassProperties * body_part_mass_properties_
 
- Public Attributes inherited from SPH::BodyRegionByParticle
Shapebody_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_
 
SolidParticlessolid_particles_
 
- Protected Attributes inherited from SPH::BodyPartByParticle
BaseParticlesbase_particles_
 
BoundingBox body_part_bounds_
 
bool body_part_bounds_set_
 
- Protected Attributes inherited from SPH::BodyPart
SPHBodysph_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)
 

Detailed Description

A SolidBodyPart for coupling with Simbody. The mass, origin, and unit inertial matrix are computed. Note: In Simbody, all spatial vectors are three dimensional.


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