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
test_utilities.cpp File Reference
#include <functional>
#include <sstream>
#include "containers/model.h"
#include "containers/global_pointers_vector.h"
#include "includes/checks.h"
#include "includes/model_part.h"
#include "includes/ublas_interface.h"
#include "includes/cfd_variables.h"
#include "custom_utilities/rans_calculation_utilities.h"
#include "custom_utilities/rans_variable_utilities.h"
#include "test_utilities.h"
Include dependency graph for test_utilities.cpp:

Namespaces

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

Functions

int Kratos::RansApplicationTestUtilities::RandomGenerator (const int X0, const int A, const int M, const int C, const int L, const int Count=0)
 
template<>
void Kratos::RansApplicationTestUtilities::AssignRandomValues (double &rValue, const std::string &rSeed, const double MinValue, const double MaxValue)
 
template<>
void Kratos::RansApplicationTestUtilities::AssignRandomValues (array_1d< double, 3 > &rValue, const std::string &rSeed, const double MinValue, const double MaxValue)
 
ModelPart & Kratos::RansApplicationTestUtilities::CreateTestModelPart (Model &rModel, const std::string &rElementName, const std::string &rConditionName, const std::function< void(ModelPart &rModelPart)> &rAddNodalSolutionStepVariablesFuncion, const std::function< void(ModelPart::NodeType &)> &rAddDofsFunction, const std::function< void(Properties &)> &rSetProperties, const int BufferSize)
 
ModelPart & Kratos::RansApplicationTestUtilities::CreateScalarVariableTestModelPart (Model &rModel, const std::string &rElementName, const std::string &rConditionName, const std::function< void(ModelPart &rModelPart)> &rAddNodalSolutionStepVariablesFuncion, const std::function< void(Properties &)> &rSetProperties, const Variable< double > &rDofVariable, const int BufferSize, const bool DoInitializeElements, const bool DoInitializeConditions)
 
template<class TDataType >
void Kratos::RansApplicationTestUtilities::RandomFillNodalHistoricalVariable (ModelPart &rModelPart, const Variable< TDataType > &rVariable, const double MinValue, const double MaxValue, const int Step)
 
template<class TContainerType , class TDataType >
void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable (ModelPart &rModelPart, const Variable< TDataType > &rVariable, const double MinValue, const double MaxValue)
 
template<class TContainerType >
void Kratos::RansApplicationTestUtilities::TestEquationIdVector (ModelPart &rModelPart)
 
template<class TContainerType >
void Kratos::RansApplicationTestUtilities::TestGetDofList (ModelPart &rModelPart, const Variable< double > &rVariable)
 
void Kratos::RansApplicationTestUtilities::CheckElementsAndConditions (const ModelPart &rModelPart)
 
template void Kratos::RansApplicationTestUtilities::TestEquationIdVector< ModelPart::ElementsContainerType > (ModelPart &)
 
template void Kratos::RansApplicationTestUtilities::TestEquationIdVector< ModelPart::ConditionsContainerType > (ModelPart &)
 
template void Kratos::RansApplicationTestUtilities::TestGetDofList< ModelPart::ElementsContainerType > (ModelPart &, const Variable< double > &)
 
template void Kratos::RansApplicationTestUtilities::TestGetDofList< ModelPart::ConditionsContainerType > (ModelPart &, const Variable< double > &)
 
template void Kratos::RansApplicationTestUtilities::RandomFillNodalHistoricalVariable< double > (ModelPart &, const Variable< double > &, const double, const double, const int)
 
template void Kratos::RansApplicationTestUtilities::RandomFillNodalHistoricalVariable< array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double, const int)
 
template void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable< ModelPart::NodesContainerType, array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double)
 
template void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable< ModelPart::ConditionsContainerType, array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double)
 
template void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable< ModelPart::ElementsContainerType, array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double)
 
template void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable< ModelPart::NodesContainerType, double > (ModelPart &, const Variable< double > &, const double, const double)
 
template void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable< ModelPart::ConditionsContainerType, double > (ModelPart &, const Variable< double > &, const double, const double)
 
template void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable< ModelPart::ElementsContainerType, double > (ModelPart &, const Variable< double > &, const double, const double)