Peano
Loading...
Searching...
No Matches
GlobalTimeStepping.h
Go to the documentation of this file.
1// This file is part of the SWIFT2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
6namespace swift2 {
7 namespace timestepping {
32 template <typename Particle>
34 double cflFactor,
35 double initialTimeStepSize,
36 double maxRelativeGrowth = 0.1
37 );
38
39
45 template <typename Particle> void computeCFLTimeStepSizeSPH();
46
47
48 } // namespace timestepping
49} // namespace swift2
50
51
void computeAdmissibleTimeStepSizeFromGlobalMeshSizeAndMaximumVelocity(double cflFactor, double initialTimeStepSize, double maxRelativeGrowth=0.1)
Determine a total admissible time step size which is determined through the maximum velocity within t...
void computeCFLTimeStepSizeSPH()
Determines the maximum global time step size dt allowed by the CLF condition in SPH simulations.
This file is part of the SWIFT 2 project.