![]() |
GranOO
3.0
A robust and versatile workbench to build 3D dynamic simulations based on the Discrete Element Method
|
pure virtual class for modeling classes able to compute a critical time step More...
#include <CriticalTimeStep.hpp>
Public Member Functions | |
virtual double | compute_critical_time_step () const =0 |
a pure virtual method able to return the critical time step value More... | |
Static Public Member Functions | |
static const std::set< CriticalTimeStep * > & | get_all () |
Protected Member Functions | |
CriticalTimeStep () | |
constructor More... | |
virtual | ~CriticalTimeStep () |
destructor More... | |
Static Private Attributes | |
static std::set< CriticalTimeStep * > | _all = std::set<CriticalTimeStep*>() |
pure virtual class for modeling classes able to compute a critical time step
This class is mainly used by mechanical interactions which are able to compute the optimal time step using the well known formula $\sqrt(\frac{m}{k})$ where $m$ is the equivalent mass and $k$ is the equivalent interaction stiffness.
|
protected |
constructor
Construct a new CriticalTimeStep, The created object is automatically registered in the _all list
|
protectedvirtual |
destructor
Destruct the CriticalTimeStep object. The destroyed object is automatically removed
from the _all list
|
pure virtual |
a pure virtual method able to return the critical time step value
Implemented in GranOO3::Collision::CallBack< DEM::DiscreteElement, T >, GranOO3::Collision::CallBack< T1, T2 >, GranOO3::DEM::ContactLaw_Standard< T >, GranOO3::DEM::XBeam, GranOO3::DEM::Spring, GranOO3::DEM::SinterNeck, GranOO3::DEM::HertzSpring, GranOO3::DEM::FlatBond_Ortho, GranOO3::DEM::FlatBond, GranOO3::DEM::ContactBond, and GranOO3::DEM::Beam.
|
static |
Access to whole list of CriticalTimeStep objects (the _all list)
|
staticprivate |
A list that references all the CriticalTimeStep objects