SPHinXsys  alpha version
Public Member Functions | Protected Attributes | List of all members
SPH::GetDiffusionTimeStepSize< BodyType, BaseParticlesType, BaseMaterialType > Class Template Reference

Computing the time step size based on diffusion coefficient and particle smoothing length. More...

#include <particle_dynamics_diffusion_reaction.h>

Inherits SPH::ParticleDynamics< Real >, and SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >.

Public Member Functions

 GetDiffusionTimeStepSize (BodyType &body)
 
virtual Real exec (Real dt=0.0) override
 
virtual Real parallel_exec (Real dt=0.0) override
 
- Public Member Functions inherited from SPH::ParticleDynamics< Real >
 ParticleDynamics (SPHBody &sph_body)
 
SPHBodygetSPHBody ()
 
- Public Member Functions inherited from SPH::DataDelegateSimple< BodyType, ParticlesType, MaterialType >
 DataDelegateSimple (SPHBody &sph_body)
 
BodyType * getBody ()
 
ParticlesType * getParticles ()
 
MaterialType * getMaterial ()
 

Protected Attributes

Real diff_time_step_
 
- Protected Attributes inherited from SPH::ParticleDynamics< Real >
SPHBodysph_body_
 
SPHAdaptationsph_adaptation_
 
BaseParticlesbase_particles_
 
- 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_
 

Additional Inherited Members

- Static Public Attributes inherited from SPH::GlobalStaticVariables
static Real physical_time_ = 0.0
 
- Protected Member Functions inherited from SPH::ParticleDynamics< Real >
void setBodyUpdated ()
 
virtual void setupDynamics (Real dt=0.0)
 

Detailed Description

template<class BodyType, class BaseParticlesType, class BaseMaterialType>
class SPH::GetDiffusionTimeStepSize< BodyType, BaseParticlesType, BaseMaterialType >

Computing the time step size based on diffusion coefficient and particle smoothing length.

Member Function Documentation

◆ exec()

template<class BodyType, class BaseParticlesType, class BaseMaterialType>
virtual Real SPH::GetDiffusionTimeStepSize< BodyType, BaseParticlesType, BaseMaterialType >::exec ( Real  dt = 0.0)
inlineoverridevirtual

The only two functions can be called from outside One is for sequential execution, the other is for parallel.

Implements SPH::ParticleDynamics< Real >.


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