13 #ifndef KRATOS_MANNING_LAW_H_INCLUDED
14 #define KRATOS_MANNING_LAW_H_INCLUDED
139 std::string
Info()
const override
141 std::stringstream buffer;
142 buffer <<
"ManningLaw";
193 rOStream << std::endl;
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
The base class for the bottom and surface friction laws.
Definition: manning_law.h:60
virtual ~ManningLaw()
Initialize the friction law variables.
Definition: manning_law.h:87
void Initialize(const GeometryType &rGeometry, const Properties &rProperty, const ProcessInfo &rProcessInfo) override
Initialize the friction law variables.
Definition: manning_law.cpp:36
array_1d< double, 3 > CalculateRHS(const double &rHeight, const array_1d< double, 3 > &rVelocity) override
Calculate the RHS coefficient for the given data.
Definition: manning_law.cpp:52
std::string Info() const override
Turn back information as a string.
Definition: manning_law.h:139
double mEpsilon
Definition: manning_law.h:155
double CalculateLHS(const double &rHeight, const array_1d< double, 3 > &rVelocity) override
Calculate the LHS coefficient for the given data.
Definition: manning_law.cpp:46
double mManning2
Definition: manning_law.h:153
KRATOS_CLASS_POINTER_DEFINITION(ManningLaw)
ManningLaw()
Default Constructor.
Definition: manning_law.h:74
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