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

indicate the particles near the interface of a fluid-fluid interaction and computing norm More...

#include <fluid_dynamics_multi_phase.h>

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

Public Member Functions

 MultiPhaseColorFunctionGradient (BaseBodyRelationContact &contact_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::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

Real rho0_
 
StdVec< Real > contact_rho0_
 
StdLargeVec< Real > & Vol_
 
StdLargeVec< Real > & pos_div_
 
StdLargeVec< int > & surface_indicator_
 
StdLargeVec< Vecd > color_grad_
 
StdLargeVec< Vecd > surface_norm_
 
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::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

- 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

indicate the particles near the interface of a fluid-fluid interaction and computing norm

Member Function Documentation

◆ Interaction()

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

Norm of interface.

Implements SPH::InteractionDynamics.


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