KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Namespaces | Functions
rans_variable_utilities.cpp File Reference
#include <cmath>
#include <limits>
#include "includes/define.h"
#include "utilities/variable_utils.h"
#include "utilities/parallel_utilities.h"
#include "utilities/reduction_utilities.h"
#include "rans_application_variables.h"
#include "rans_variable_utilities.h"
Include dependency graph for rans_variable_utilities.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::RansVariableUtilities
 

Functions

std::tuple< unsigned int, unsigned int > Kratos::RansVariableUtilities::ClipScalarVariable (const double MinimumValue, const double MaximumValue, const Variable< double > &rVariable, ModelPart &rModelPart)
 Clipping scalar variable for given lower and upper bounds. More...
 
double Kratos::RansVariableUtilities::GetMinimumScalarValue (const ModelPart &rModelPart, const Variable< double > &rVariable)
 
double Kratos::RansVariableUtilities::GetMaximumScalarValue (const ModelPart &rModelPart, const Variable< double > &rVariable)
 
void Kratos::RansVariableUtilities::GetNodalVariablesVector (Vector &rValues, const ModelPart::NodesContainerType &rNodes, const Variable< double > &rVariable)
 
void Kratos::RansVariableUtilities::GetNodalArray (Vector &rNodalValues, const Element &rElement, const Variable< double > &rVariable)
 
void Kratos::RansVariableUtilities::SetNodalVariables (ModelPart::NodesContainerType &rNodes, const Vector &rValues, const Variable< double > &rVariable)
 
void Kratos::RansVariableUtilities::CopyNodalSolutionStepVariablesList (ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart)
 
template<typename TDataType >
void Kratos::RansVariableUtilities::AssignConditionVariableValuesToNodes (ModelPart &rModelPart, const Variable< TDataType > &rVariable, const Flags &rFlag, const bool FlagValue)
 
void Kratos::RansVariableUtilities::AddAnalysisStep (ModelPart &rModelPart, const std::string &rStepName)
 
bool Kratos::RansVariableUtilities::IsAnalysisStepCompleted (const ModelPart &rModelPart, const std::string &rStepName)
 
void Kratos::RansVariableUtilities::AssignBoundaryFlagsToGeometries (ModelPart &rModelPart)
 
template<>
double Kratos::RansVariableUtilities::GetVariableValueNorm (const double &rValue)
 
template<>
double Kratos::RansVariableUtilities::GetVariableValueNorm (const array_1d< double, 3 > &rValue)
 
template<typename TDataType >
std::tuple< double, double > Kratos::RansVariableUtilities::CalculateTransientVariableConvergence (const ModelPart &rModelPart, const Variable< TDataType > &rVariable)
 
void Kratos::RansVariableUtilities::SetElementConstitutiveLaws (ModelPart::ElementsContainerType &rElements)
 
template void Kratos::RansVariableUtilities::AssignConditionVariableValuesToNodes< double > (ModelPart &, const Variable< double > &, const Flags &, const bool)
 
template void Kratos::RansVariableUtilities::AssignConditionVariableValuesToNodes< array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const Flags &, const bool)
 
template std::tuple< double, double > Kratos::RansVariableUtilities::CalculateTransientVariableConvergence< double > (const ModelPart &, const Variable< double > &)
 
template std::tuple< double, double > Kratos::RansVariableUtilities::CalculateTransientVariableConvergence< array_1d< double, 3 > > (const ModelPart &, const Variable< array_1d< double, 3 >> &)