![]() |
Peano
|
#include "GlobalTimeStepping.cpph"
Go to the source code of this file.
Namespaces | |
namespace | swift2 |
This file is part of the SWIFT 2 project. | |
namespace | swift2::timestepping |
Functions | |
template<typename Particle > | |
void | swift2::timestepping::computeAdmissibleTimeStepSizeFromGlobalMeshSizeAndMaximumVelocity (double cflFactor, double initialTimeStepSize, double maxRelativeGrowth=0.1) |
Determine a total admissible time step size which is determined through the maximum velocity within the mesh and the minimum cell size. | |
template<typename Particle > | |
void | swift2::timestepping::computeCFLTimeStepSizeSPH () |
Determines the maximum global time step size dt allowed by the CLF condition in SPH simulations. | |