SPHinXsys  alpha version
Public Member Functions | Protected Member Functions | List of all members
SPH::DampingBySplittingComplex< VariableType > Class Template Reference

Inherits SPH::DampingBySplittingInner< VariableType >, and SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >.

Public Member Functions

 DampingBySplittingComplex (ComplexBodyRelation &complex_relation, const std::string &variable_name, Real eta)
 
- Public Member Functions inherited from SPH::DampingBySplittingInner< VariableType >
 DampingBySplittingInner (BaseBodyRelationInner &inner_relation, const std::string &variable_name, Real eta)
 
void resetDampingCoefficient (Real reset_ratio)
 
- Public Member Functions inherited from SPH::InteractionDynamicsSplitting
 InteractionDynamicsSplitting (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::InteractionDynamics
 InteractionDynamics (SPHBody &sph_body)
 
- Public Member Functions inherited from SPH::ParticleDynamics< void >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >
 DataDelegateInner (BaseBodyRelationInner &body_inner_relation)
 
- Public Member Functions inherited from SPH::DataDelegateContact< BodyType, ParticlesType, MaterialType, ContactBodyType, ContactParticlesType, ContactMaterialType, BaseDataDelegateType >
 DataDelegateContact (BaseBodyRelationContact &body_contact_relation)
 

Protected Member Functions

virtual ErrorAndParameters< VariableTypecomputeErrorAndParameters (size_t index_i, Real dt=0.0) override
 
virtual void updateStates (size_t index_i, Real dt, const ErrorAndParameters< VariableType > &error_and_parameters) override
 
- Protected Member Functions inherited from SPH::DampingBySplittingInner< VariableType >
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)
 

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
 
- Protected Attributes inherited from SPH::DampingBySplittingInner< VariableType >
Real eta_
 
StdLargeVec< Real > & Vol_
 
StdLargeVec< Real > & mass_
 
StdLargeVec< VariableType > & variable_
 
- Protected Attributes inherited from SPH::InteractionDynamicsSplitting
RealBodyreal_body_
 
SplitCellListssplit_cell_lists_
 
- 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, BaseDataDelegateType >
ParticleConfigurationinner_configuration_
 
- 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_
 

Member Function Documentation

◆ computeErrorAndParameters()

template<typename VariableType >
ErrorAndParameters< VariableType > SPH::DampingBySplittingComplex< VariableType >::computeErrorAndParameters ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual

Contact interaction.

Reimplemented from SPH::DampingBySplittingInner< VariableType >.

◆ updateStates()

template<typename VariableType >
void SPH::DampingBySplittingComplex< VariableType >::updateStates ( size_t  index_i,
Real  dt,
const ErrorAndParameters< VariableType > &  error_and_parameters 
)
overrideprotectedvirtual

Contact interaction.

Reimplemented from SPH::DampingBySplittingInner< VariableType >.


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