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.
|
This function computes the wave height at a given point. More...
#include <calculate_wave_height_utility.h>
Public Types | |
Type Definitions | |
typedef Node | NodeType |
typedef Geometry< NodeType > | GeometryType |
Public Member Functions | |
Pointer Definition | |
KRATOS_CLASS_POINTER_DEFINITION (CalculateWaveHeightUtility) | |
Life Cycle | |
CalculateWaveHeightUtility (ModelPart &rThisModelPart, Parameters ThisParameters) | |
Constructor with ModelPart and Parameters. More... | |
~CalculateWaveHeightUtility () | |
Destructor. More... | |
Operations | |
double | Calculate (const array_1d< double, 3 > &rCoordinates) const |
Calculate the wave height. More... | |
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 information about this object. More... | |
This function computes the wave height at a given point.
The direction is taken from the gravity variable in the ProcessInfo
Kratos::CalculateWaveHeightUtility::CalculateWaveHeightUtility | ( | ModelPart & | rThisModelPart, |
Parameters | ThisParameters | ||
) |
Constructor with ModelPart and Parameters.
|
inline |
Destructor.
double Kratos::CalculateWaveHeightUtility::Calculate | ( | const array_1d< double, 3 > & | rCoordinates | ) | const |
Calculate the wave height.
|
inline |
Turn back information as a string.
Kratos::CalculateWaveHeightUtility::KRATOS_CLASS_POINTER_DEFINITION | ( | CalculateWaveHeightUtility | ) |
|
inline |
Print information about this object.
|
inline |
Print information about this object.