SPHinXsys
alpha version
|
Computing the contact force from a rigid wall. Note that the body surface of the wall should be updated before computing the contact force. More...
#include <contact_dynamics.h>
Inherits SPH::PartInteractionDynamicsByParticle, and SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >.
Public Member Functions | |
ContactForceFromWall (SolidBodyRelationContact &solid_body_contact_relation) | |
Public Member Functions inherited from SPH::PartInteractionDynamicsByParticle | |
PartInteractionDynamicsByParticle (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) | |
SPHBody * | getSPHBody () |
Public Member Functions inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType > | |
DataDelegateContact (BaseBodyRelationContact &body_contact_relation) | |
Protected Member Functions | |
virtual void | Interaction (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< Real > & | contact_density_ |
StdLargeVec< Real > & | Vol_ |
StdLargeVec< Real > & | mass_ |
StdLargeVec< Vecd > & | acc_prior_ |
StdVec< StdLargeVec< Real > * > | contact_Vol_ |
Protected Attributes inherited from SPH::PartInteractionDynamicsByParticle | |
ParticleFunctor | functor_interaction_ |
Protected Attributes inherited from SPH::PartDynamicsByParticle | |
IndexVector & | body_part_particles_ |
Protected Attributes inherited from SPH::ParticleDynamics< void > | |
SPHBody * | sph_body_ |
SPHAdaptation * | sph_adaptation_ |
BaseParticles * | base_particles_ |
Protected Attributes inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType > | |
StdVec< ContactBodyType * > | contact_bodies_ |
StdVec< ContactParticlesType * > | contact_particles_ |
StdVec< ContactMaterialType * > | contact_material_ |
StdVec< ParticleConfiguration * > | contact_configuration_ |
Additional Inherited Members | |
Static Public Attributes inherited from SPH::GlobalStaticVariables | |
static Real | physical_time_ = 0.0 |
Computing the contact force from a rigid wall. Note that the body surface of the wall should be updated before computing the contact force.
|
overrideprotectedvirtual |
Contact interaction.
Implements SPH::PartInteractionDynamicsByParticle.