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

computing density by summation More...

#include <fluid_dynamics_inner.h>

Inherits SPH::InteractionDynamicsWithUpdate, and SPH::DataDelegateInner< BodyType, ParticlesType, MaterialType, BaseDataDelegateType >.

Inherited by SPH::fluid_dynamics::DensitySummationFreeSurfaceInner.

Public Member Functions

 DensitySummationInner (BaseBodyRelationInner &inner_relation)
 
- Public Member Functions inherited from SPH::InteractionDynamicsWithUpdate
 InteractionDynamicsWithUpdate (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)
 

Protected Member Functions

virtual void Interaction (size_t index_i, Real dt=0.0) override
 
virtual void Update (size_t index_i, Real dt=0.0) override
 
virtual Real ReinitializedDensity (Real rho_sum, Real rho_0, Real rho_n)
 
- Protected Member Functions inherited from SPH::ParticleDynamics< void >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Protected Attributes

Real W0_
 
Real rho0_
 
Real inv_sigma0_
 
StdLargeVec< Real > & Vol_
 
StdLargeVec< Real > & rho_
 
StdLargeVec< Real > & mass_
 
StdLargeVec< Real > & rho_sum_
 
- Protected Attributes inherited from SPH::InteractionDynamicsWithUpdate
ParticleFunctor functor_update_
 
- 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_
 

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

computing density by summation

Member Function Documentation

◆ Interaction()

void SPH::fluid_dynamics::DensitySummationInner::Interaction ( size_t  index_i,
Real  dt = 0.0 
)
overrideprotectedvirtual

Inner interaction.

Implements SPH::InteractionDynamics.


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