WARPXM v1.10.0
|
Information that constrain the time step. More...
#include <timestep_constraint.h>
Information that constrain the time step.
e.g. dt, x, and physics.
Public Member Functions | |
TimestepConstraint () | |
TimestepConstraint (real dt, std::shared_ptr< std::string > physics) | |
TimestepConstraint (real dt, std::array< real, 3 > x, std::shared_ptr< std::string > physics) | |
void | setDt (const real dt) |
real | getDt () const |
const std::array< real, 3 > & | getX () const |
const std::shared_ptr< std::string > & | getPhysics () const |
std::string | str () const |
Static Public Member Functions | |
static const TimestepConstraint & | minDt (const TimestepConstraint &a, const TimestepConstraint &b) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
std::string TimestepConstraint::str | ( | ) | const |