13 #if !defined(KRATOS_RANS_VARIABLE_DIFFERENCE_NORM_CALCULATION_UTILITY_H_INCLUDED)
14 #define KRATOS_RANS_VARIABLE_DIFFERENCE_NORM_CALCULATION_UTILITY_H_INCLUDED
38 template <
typename TDataType>
56 : mrModelPart(rModelPart), mrVariable(rVariable)
72 void InitializeCalculation();
74 std::tuple<double, double> CalculateDifferenceNorm();
83 std::stringstream buffer;
84 buffer <<
"RansVariableDifferenceNormsCalculationUtility";
90 rOStream <<
"RansVariableDifferenceNormsCalculationUtility";
98 std::vector<TDataType> mData;
108 template <
typename TDataType>
110 std::istream& rIStream,
114 template <
typename TDataType>
116 std::ostream& rOStream,
120 rOStream <<
" : " << std::endl;
121 rThis.PrintData(rOStream);
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class is used to calculate difference norms of a given variable.
Definition: rans_variable_difference_norm_calculation_utility.h:40
RansVariableDifferenceNormsCalculationUtility(const ModelPart &rModelPart, const Variable< TDataType > &rVariable)
Definition: rans_variable_difference_norm_calculation_utility.h:53
void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: rans_variable_difference_norm_calculation_utility.h:88
~RansVariableDifferenceNormsCalculationUtility()
Definition: rans_variable_difference_norm_calculation_utility.h:63
std::string Info() const
Turn back information as a string.
Definition: rans_variable_difference_norm_calculation_utility.h:81
KRATOS_CLASS_POINTER_DEFINITION(RansVariableDifferenceNormsCalculationUtility)
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
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