13 #if !defined(KRATOS_GET_VALUE_FUNCTOR_H_INCLUDED )
14 #define KRATOS_GET_VALUE_FUNCTOR_H_INCLUDED
55 template<
class TVariableType >
71 const TVariableType& rVariable
73 : mrVariable(rVariable)
85 return gp->GetValue(mrVariable);
109 virtual std::string
Info()
const
111 std::stringstream buffer;
112 buffer <<
"GetValueFunctor" ;
117 virtual void PrintInfo(std::ostream& rOStream)
const {rOStream <<
"GetValueFunctor";}
174 const TVariableType& mrVariable;
217 template<
class TContainerType>
223 template<
class TContainerType>
228 rOStream << std::endl;
Short class definition.
Definition: get_value_functor.h:57
GetValueFunctor(const TVariableType &rVariable)
Default constructor.
Definition: get_value_functor.h:70
virtual std::string Info() const
Turn back information as a string.
Definition: get_value_functor.h:109
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: get_value_functor.h:117
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: get_value_functor.h:120
TVariableType::Type operator()(GlobalPointer< Node > &gp) const
Definition: get_value_functor.h:83
KRATOS_CLASS_POINTER_DEFINITION(GetValueFunctor)
Pointer definition of GetValueFunctor.
virtual ~GetValueFunctor()
Destructor.
Definition: get_value_functor.h:78
This class is a wrapper for a pointer to a data that is located in a different rank.
Definition: global_pointer.h:44
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