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

compute relaxation acceleration while consider the present of contact bodies with considering contact interaction this is usually used for fluid like bodies More...

#include <relax_dynamics.h>

Inherits SPH::InteractionDynamics, and SPH::DataDelegateComplex< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType >.

Inherited by SPH::relax_dynamics::RelaxationAccelerationComplexWithLevelSetCorrection.

Public Member Functions

 RelaxationAccelerationComplex (ComplexBodyRelation &body_complex_relation)
 
- Public Member Functions inherited from SPH::InteractionDynamics
 InteractionDynamics (SPHBody &sph_body)
 
virtual void exec (Real dt=0.0) override
 
virtual void parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateComplex< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType >
 DataDelegateComplex (ComplexBodyRelation &body_complex_relation)
 
- Public Member Functions inherited from SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType >
 DataDelegateInner (BaseBodyRelationInner &body_inner_relation)
 
- Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >
 DataDelegateSimple (SPHBody &sph_body)
 
BodyType * getBody ()
 
ParticlesType * getParticles ()
 
MaterialType * getMaterial ()
 
- Public Member Functions inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, DataDelegateEmptyBase >
 DataDelegateContact (BaseBodyRelationContact &body_contact_relation)
 
- Public Member Functions inherited from SPH::DataDelegateEmptyBase
 DataDelegateEmptyBase (SPHBody &sph_body)
 

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 > & Vol_
 
StdLargeVec< Vecd > & acc_
 
StdLargeVec< Vecd > & pos_
 
StdVec< StdLargeVec< Real > * > contact_Vol_
 
- Protected Attributes inherited from SPH::InteractionDynamics
ParticleFunctor functor_interaction_
 
- Protected Attributes inherited from SPH::ParticleDynamics< void >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 
- Protected Attributes inherited from SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType >
ParticleConfigurationinner_configuration_
 
- 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_
 
- Protected Attributes inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, DataDelegateEmptyBase >
StdVec< ContactBodyType *> contact_bodies_
 
StdVec< ContactParticlesType *> contact_particles_
 
StdVec< ContactMaterialType *> contact_material_
 
StdVec< ParticleConfiguration *> contact_configuration_
 

Additional Inherited Members

- Public Attributes inherited from SPH::InteractionDynamics
StdVec< ParticleDynamics< void > * > pre_processes_
 
StdVec< ParticleDynamics< void > * > post_processes_
 
- Static Public Attributes inherited from SPH::GlobalStaticVariables
static Real physical_time_ = 0.0
 

Detailed Description

compute relaxation acceleration while consider the present of contact bodies with considering contact interaction this is usually used for fluid like bodies

Member Function Documentation

◆ Interaction()

void SPH::relax_dynamics::RelaxationAccelerationComplex::Interaction ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual

Contact interaction.

Implements SPH::InteractionDynamics.


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