13 #ifndef KRATOS_FRICTION_LAW_H_INCLUDED
14 #define KRATOS_FRICTION_LAW_H_INCLUDED
168 virtual std::string
Info()
const
170 std::stringstream buffer;
171 buffer <<
"FrictionLaw";
226 inline std::istream&
operator >> (std::istream& rIStream,
230 inline std::ostream&
operator << (std::ostream& rOStream,
231 const FrictionLaw& rThis)
233 rThis.PrintInfo(rOStream);
234 rOStream << std::endl;
235 rThis.PrintData(rOStream);
Short class definition.
Definition: friction_law.hpp:52
FrictionLaw()
Default constructor.
Definition: friction_law.h:80
virtual std::string Info() const
Turn back information as a string.
Definition: friction_law.h:168
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: friction_law.h:186
virtual double CalculateLHS(const double &rHeight, const array_1d< double, 3 > &rVelocity)
Calculate the LHS coefficient for the given data.
Definition: friction_law.h:116
virtual double CalculateLHS(const array_1d< double, 3 > &rInnerLayer)
Calculate the LHS coefficient for the given data.
Definition: friction_law.h:137
virtual array_1d< double, 3 > CalculateRHS(const array_1d< double, 3 > &rInnerLayer)
Calculate the RHS coefficient for the given data.
Definition: friction_law.h:147
Node NodeType
Definition: friction_law.h:71
Geometry< NodeType > GeometryType
Definition: friction_law.h:73
virtual int Check()
Check on the completeness of the input.
Definition: friction_law.h:97
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: friction_law.h:178
KRATOS_CLASS_POINTER_DEFINITION(FrictionLaw)
virtual array_1d< double, 3 > CalculateRHS(const double &rHeight, const array_1d< double, 3 > &rVelocity)
Calculate the RHS coefficient for the given data.
Definition: friction_law.h:127
virtual void Initialize(const GeometryType &rGeometry, const Properties &rProperty, const ProcessInfo &rProcessInfo)
Initialize the friction law variables.
Definition: friction_law.h:105
virtual ~FrictionLaw()
Destructor.
Definition: friction_law.h:83
Geometry base class.
Definition: geometry.h:71
This class defines the node.
Definition: node.h:65
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
KratosZeroVector< double > ZeroVector
Definition: amatrix_interface.h:561
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432