13 #ifndef KRATOS_CHEZY_LAW_H_INCLUDED
14 #define KRATOS_CHEZY_LAW_H_INCLUDED
139 std::string
Info()
const override
141 std::stringstream buffer;
142 buffer <<
"ChezyLaw";
195 rOStream << std::endl;
The base class for the bottom and surface friction laws.
Definition: chezy_law.h:60
double CalculateLHS(const double &rHeight, const array_1d< double, 3 > &rVelocity) override
Calculate the LHS coefficient for the given data.
Definition: chezy_law.cpp:46
ChezyLaw()
Default Constructor.
Definition: chezy_law.h:74
std::string Info() const override
Turn back information as a string.
Definition: chezy_law.h:139
array_1d< double, 3 > CalculateRHS(const double &rHeight, const array_1d< double, 3 > &rVelocity) override
Calculate the RHS coefficient for the given data.
Definition: chezy_law.cpp:52
KRATOS_CLASS_POINTER_DEFINITION(ChezyLaw)
void Initialize(const GeometryType &rGeometry, const Properties &rProperty, const ProcessInfo &rProcessInfo) override
Initialize the friction law variables.
Definition: chezy_law.cpp:36
virtual ~ChezyLaw()
Destructor.
Definition: chezy_law.h:87
Short class definition.
Definition: friction_law.hpp:52
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: friction_law.hpp:170
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: friction_law.hpp:164
Geometry base class.
Definition: geometry.h:71
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432