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 | Typedefs | Functions
test_utilities.h File Reference
#include <functional>
#include "includes/model_part.h"
Include dependency graph for test_utilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Typedefs

using Kratos::RansApplicationTestUtilities::IndexType = std::size_t
 

Functions

template<class TDataType >
void Kratos::RansApplicationTestUtilities::AssignRandomValues (TDataType &rValue, const std::string &rSeed, const double MinValue=0.0, const double MaxValue=1.0)
 
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)