SPHinXsys
alpha version
|
Compute the force acting on the solid body part for applying to simbody forces latter. More...
#include <constraint_dynamics.h>
Inherits SPH::PartDynamicsByParticleReduce< SimTK::SpatialVec, ReduceSum< SimTK::SpatialVec > >, and SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.
Public Member Functions | |
TotalForceOnSolidBodyPartForSimBody (SolidBody &solid_body, SolidBodyPartForSimbody &body_part, SimTK::MultibodySystem &MBsystem, SimTK::MobilizedBody &mobod, SimTK::Force::DiscreteForces &force_on_bodies, SimTK::RungeKuttaMersonIntegrator &integ) | |
Public Member Functions inherited from SPH::PartDynamicsByParticleReduce< SimTK::SpatialVec, ReduceSum< SimTK::SpatialVec > > | |
PartDynamicsByParticleReduce (SPHBody &sph_body, BodyPartByParticle &body_part) | |
SimTK::SpatialVec | InitialReference () |
std::string | QuantityName () |
virtual SimTK::SpatialVec | exec (Real dt=0.0) override |
virtual SimTK::SpatialVec | parallel_exec (Real dt=0.0) override |
Public Member Functions inherited from SPH::ParticleDynamics< SimTK::SpatialVec > | |
ParticleDynamics (SPHBody &sph_body) | |
SPHBody * | getSPHBody () |
Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType > | |
DataDelegateSimple (SPHBody &sph_body) | |
BodyType * | getBody () |
ParticlesType * | getParticles () |
MaterialType * | getMaterial () |
Protected Member Functions | |
virtual void | SetupReduce () override |
virtual SimTK::SpatialVec | ReduceFunction (size_t index_i, Real dt=0.0) override |
Protected Member Functions inherited from SPH::PartDynamicsByParticleReduce< SimTK::SpatialVec, ReduceSum< SimTK::SpatialVec > > | |
virtual SimTK::SpatialVec | OutputResult (SimTK::SpatialVec reduced_value) |
Protected Member Functions inherited from SPH::ParticleDynamics< SimTK::SpatialVec > | |
void | setBodyUpdated () |
virtual void | setupDynamics (Real dt=0.0) |
Protected Attributes | |
StdLargeVec< Real > & | mass_ |
StdLargeVec< Vecd > & | acc_ |
StdLargeVec< Vecd > & | acc_prior_ |
StdLargeVec< Vecd > & | pos_ |
SimTK::MultibodySystem & | MBsystem_ |
SimTK::MobilizedBody & | mobod_ |
SimTK::Force::DiscreteForces & | force_on_bodies_ |
SimTK::RungeKuttaMersonIntegrator & | integ_ |
const SimTK::State * | simbody_state_ |
Vec3d | current_mobod_origin_location_ |
Protected Attributes inherited from SPH::PartDynamicsByParticleReduce< SimTK::SpatialVec, ReduceSum< SimTK::SpatialVec > > | |
ReduceSum< SimTK::SpatialVec > | reduce_operation_ |
IndexVector & | body_part_particles_ |
std::string | quantity_name_ |
SimTK::SpatialVec | initial_reference_ |
Protected Attributes inherited from SPH::ParticleDynamics< SimTK::SpatialVec > | |
SPHBody * | sph_body_ |
SPHAdaptation * | sph_adaptation_ |
BaseParticles * | base_particles_ |
Protected Attributes inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType > | |
BodyType * | body_ |
ParticlesType * | particles_ |
MaterialType * | material_ |
StdLargeVec< size_t > & | sorted_id_ |
StdLargeVec< size_t > & | unsorted_id_ |
Additional Inherited Members | |
Static Public Attributes inherited from SPH::GlobalStaticVariables | |
static Real | physical_time_ = 0.0 |
Compute the force acting on the solid body part for applying to simbody forces latter.