10 #if !defined(KRATOS_STATIC_METHOD_H_INCLUDED)
11 #define KRATOS_STATIC_METHOD_H_INCLUDED
49 template<
class TVariableType,
class TValueType>
83 StaticMethod(
const TVariableType& rVariable,
const TVariableType& rFirstDerivative,
const TVariableType& rSecondDerivative) :
BaseType(rVariable,rFirstDerivative,rSecondDerivative) {}
86 StaticMethod(
const TVariableType& rVariable,
const TVariableType& rFirstDerivative,
const TVariableType& rSecondDerivative,
const TVariableType& rPrimaryVariable) :
BaseType(rVariable,rFirstDerivative,rSecondDerivative,rPrimaryVariable) {}
141 std::string
Info()
const override
143 std::stringstream buffer;
144 buffer <<
"StaticMethod";
151 rOStream <<
"StaticMethod";
157 rOStream <<
"StaticMethod Data";
225 void save(
Serializer& rSerializer)
const override
257 template<
class TVariableType,
class TValueType>
263 template<
class TVariableType,
class TValueType>
266 return rOStream << rThis.
Info();
This class defines the node.
Definition: node.h:65
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Short class definition.
Definition: static_method.hpp:51
StaticMethod(StaticMethod &rOther)
Copy Constructor.
Definition: static_method.hpp:89
void Predict(NodeType &rNode) override
Definition: static_method.hpp:116
BaseType::VariablePointer VariablePointer
KratosVariable or KratosVariableComponent.
Definition: static_method.hpp:67
BaseType::NodeType NodeType
NodeType.
Definition: static_method.hpp:64
BasePointerType Clone() override
Clone.
Definition: static_method.hpp:92
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: static_method.hpp:149
void Assign(NodeType &rNode) override
Definition: static_method.hpp:110
StaticMethod(const TVariableType &rVariable, const TVariableType &rFirstDerivative, const TVariableType &rSecondDerivative)
Constructor.
Definition: static_method.hpp:83
std::string Info() const override
Turn back information as a string.
Definition: static_method.hpp:141
void Update(NodeType &rNode) override
Definition: static_method.hpp:122
BaseType::Pointer BasePointerType
BasePointerType.
Definition: static_method.hpp:61
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: static_method.hpp:155
~StaticMethod() override
Destructor.
Definition: static_method.hpp:98
TimeIntegrationMethod< TVariableType, TValueType > BaseType
BaseType.
Definition: static_method.hpp:58
StaticMethod()
Default Constructor.
Definition: static_method.hpp:77
KRATOS_CLASS_POINTER_DEFINITION(StaticMethod)
StaticMethod(const TVariableType &rVariable, const TVariableType &rFirstDerivative, const TVariableType &rSecondDerivative, const TVariableType &rPrimaryVariable)
Constructor.
Definition: static_method.hpp:86
StaticMethod(const TVariableType &rVariable)
Constructor.
Definition: static_method.hpp:80
Short class definition.
Definition: time_integration_method.hpp:55
const TVariableType * VariablePointer
KratosVariable or KratosVariableComponent.
Definition: time_integration_method.hpp:65
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
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
def load(f)
Definition: ode_solve.py:307