SPHinXsys
alpha version
|
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) | |
SPHBody * | getSPHBody () |
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 > | |
SPHBody * | sph_body_ |
SPHAdaptation * | sph_adaptation_ |
BaseParticles * | base_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) |
Computing the time step size based on diffusion coefficient and particle smoothing length.
|
inlineoverridevirtual |
The only two functions can be called from outside One is for sequential execution, the other is for parallel.
Implements SPH::ParticleDynamics< Real >.