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

Constrain a solid body part with prescribed motion. More...

#include <constraint_dynamics.h>

Inherits SPH::PartSimpleDynamicsByParticle, and SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.

Inherited by SPH::solid_dynamics::ConstrainSolidBodyRegionVelocity.

Public Member Functions

 ConstrainSolidBodyRegion (SPHBody &sph_body, BodyPartByParticle &body_part)
 
- Public Member Functions inherited from SPH::PartSimpleDynamicsByParticle
 PartSimpleDynamicsByParticle (SPHBody &sph_body, BodyPartByParticle &body_part)
 
virtual void exec (Real dt=0.0) override
 
virtual void parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::PartDynamicsByParticle
 PartDynamicsByParticle (SPHBody &sph_body, BodyPartByParticle &body_part)
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >
 DataDelegateSimple (SPHBody &sph_body)
 
BodyType * getBody ()
 
ParticlesType * getParticles ()
 
MaterialType * getMaterial ()
 

Protected Member Functions

virtual Vecd getDisplacement (Vecd &pos_0, Vecd &pos_n)
 
virtual Vecd getVelocity (Vecd &pos_0, Vecd &pos_n, Vecd &vel_n)
 
virtual Vecd getAcceleration (Vecd &pos_0, Vecd &pos_n, Vecd &acc)
 
virtual SimTK::Rotation getBodyRotation (Vecd &pos_0, Vecd &pos_n, Vecd &acc)
 
virtual void Update (size_t index_i, Real dt=0.0) override
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Protected Attributes

StdLargeVec< Vecd > & pos_
 
StdLargeVec< Vecd > & pos0_
 
StdLargeVec< Vecd > & n_
 
StdLargeVec< Vecd > & n0_
 
StdLargeVec< Vecd > & vel_
 
StdLargeVec< Vecd > & acc_
 
- Protected Attributes inherited from SPH::PartSimpleDynamicsByParticle
ParticleFunctor functor_update_
 
- Protected Attributes inherited from SPH::PartDynamicsByParticle
IndexVectorbody_part_particles_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_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
 

Detailed Description

Constrain a solid body part with prescribed motion.


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