KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Utility to estimate the time step in terms of the courant number. More...
#include <estimate_dt_utility.h>
Public Member Functions | |
Life Cycle | |
EstimateTimeStepUtility (ModelPart &rThisModelPart, Parameters ThisParameters) | |
Constructor. More... | |
~EstimateTimeStepUtility () | |
Destructor. More... | |
Operations | |
double | Execute () const |
Input and output | |
std::string | Info () const |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Type Definitions | |
typedef Node | NodeType |
typedef Geometry< NodeType > | GeometryType |
KRATOS_CLASS_POINTER_DEFINITION (EstimateTimeStepUtility) | |
Pointer definition of EstimateTimeStepUtility. More... | |
Utility to estimate the time step in terms of the courant number.
The velocity can be the sum of the convective velocity and the wave speed
Kratos::EstimateTimeStepUtility::EstimateTimeStepUtility | ( | ModelPart & | rThisModelPart, |
Parameters | ThisParameters | ||
) |
Constructor.
|
inline |
Destructor.
double Kratos::EstimateTimeStepUtility::Execute | ( | ) | const |
std::string Kratos::EstimateTimeStepUtility::Info | ( | ) | const |
Turn back information as a string.
Kratos::EstimateTimeStepUtility::KRATOS_CLASS_POINTER_DEFINITION | ( | EstimateTimeStepUtility | ) |
Pointer definition of EstimateTimeStepUtility.
void Kratos::EstimateTimeStepUtility::PrintData | ( | std::ostream & | rOStream | ) | const |
Print object's data.
void Kratos::EstimateTimeStepUtility::PrintInfo | ( | std::ostream & | rOStream | ) | const |
Print information about this object.