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.
|
Typedefs | |
using | IndexType = std::size_t |
Functions | |
int | RandomGenerator (const int X0, const int A, const int M, const int C, const int L, const int Count=0) |
template<> | |
void | AssignRandomValues (double &rValue, const std::string &rSeed, const double MinValue, const double MaxValue) |
template<> | |
void | AssignRandomValues (array_1d< double, 3 > &rValue, const std::string &rSeed, const double MinValue, const double MaxValue) |
ModelPart & | 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 & | 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 | RandomFillNodalHistoricalVariable (ModelPart &rModelPart, const Variable< TDataType > &rVariable, const double MinValue, const double MaxValue, const int Step) |
template<class TContainerType , class TDataType > | |
void | RandomFillContainerVariable (ModelPart &rModelPart, const Variable< TDataType > &rVariable, const double MinValue, const double MaxValue) |
template<class TContainerType > | |
void | TestEquationIdVector (ModelPart &rModelPart) |
template<class TContainerType > | |
void | TestGetDofList (ModelPart &rModelPart, const Variable< double > &rVariable) |
void | CheckElementsAndConditions (const ModelPart &rModelPart) |
template void | TestEquationIdVector< ModelPart::ElementsContainerType > (ModelPart &) |
template void | TestEquationIdVector< ModelPart::ConditionsContainerType > (ModelPart &) |
template void | TestGetDofList< ModelPart::ElementsContainerType > (ModelPart &, const Variable< double > &) |
template void | TestGetDofList< ModelPart::ConditionsContainerType > (ModelPart &, const Variable< double > &) |
template void | RandomFillNodalHistoricalVariable< double > (ModelPart &, const Variable< double > &, const double, const double, const int) |
template void | RandomFillNodalHistoricalVariable< array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double, const int) |
template void | RandomFillContainerVariable< ModelPart::NodesContainerType, array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double) |
template void | RandomFillContainerVariable< ModelPart::ConditionsContainerType, array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double) |
template void | RandomFillContainerVariable< ModelPart::ElementsContainerType, array_1d< double, 3 > > (ModelPart &, const Variable< array_1d< double, 3 >> &, const double, const double) |
template void | RandomFillContainerVariable< ModelPart::NodesContainerType, double > (ModelPart &, const Variable< double > &, const double, const double) |
template void | RandomFillContainerVariable< ModelPart::ConditionsContainerType, double > (ModelPart &, const Variable< double > &, const double, const double) |
template void | RandomFillContainerVariable< ModelPart::ElementsContainerType, double > (ModelPart &, const Variable< double > &, const double, const double) |
template<class TDataType > | |
void | AssignRandomValues (TDataType &rValue, const std::string &rSeed, const double MinValue=0.0, const double MaxValue=1.0) |
using Kratos::RansApplicationTestUtilities::IndexType = typedef std::size_t |
void Kratos::RansApplicationTestUtilities::AssignRandomValues | ( | array_1d< double, 3 > & | rValue, |
const std::string & | rSeed, | ||
const double | MinValue, | ||
const double | MaxValue | ||
) |
void Kratos::RansApplicationTestUtilities::AssignRandomValues | ( | double & | rValue, |
const std::string & | rSeed, | ||
const double | MinValue, | ||
const double | MaxValue | ||
) |
void Kratos::RansApplicationTestUtilities::AssignRandomValues | ( | TDataType & | rValue, |
const std::string & | rSeed, | ||
const double | MinValue = 0.0 , |
||
const double | MaxValue = 1.0 |
||
) |
void Kratos::RansApplicationTestUtilities::CheckElementsAndConditions | ( | const ModelPart & | rModelPart | ) |
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 | ||
) |
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 | ||
) |
void Kratos::RansApplicationTestUtilities::RandomFillContainerVariable | ( | ModelPart & | rModelPart, |
const Variable< TDataType > & | rVariable, | ||
const double | MinValue, | ||
const double | MaxValue | ||
) |
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::ConditionsContainerType, double > | ( | ModelPart & | , |
const Variable< double > & | , | ||
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::ElementsContainerType, double > | ( | ModelPart & | , |
const Variable< double > & | , | ||
const double | , | ||
const double | |||
) |
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::NodesContainerType, double > | ( | ModelPart & | , |
const Variable< double > & | , | ||
const double | , | ||
const double | |||
) |
void Kratos::RansApplicationTestUtilities::RandomFillNodalHistoricalVariable | ( | ModelPart & | rModelPart, |
const Variable< TDataType > & | rVariable, | ||
const double | MinValue, | ||
const double | MaxValue, | ||
const int | Step | ||
) |
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::RandomFillNodalHistoricalVariable< double > | ( | ModelPart & | , |
const Variable< double > & | , | ||
const double | , | ||
const double | , | ||
const int | |||
) |
int Kratos::RansApplicationTestUtilities::RandomGenerator | ( | const int | X0, |
const int | A, | ||
const int | M, | ||
const int | C, | ||
const int | L, | ||
const int | Count = 0 |
||
) |
void Kratos::RansApplicationTestUtilities::TestEquationIdVector | ( | ModelPart & | rModelPart | ) |
template void Kratos::RansApplicationTestUtilities::TestEquationIdVector< ModelPart::ConditionsContainerType > | ( | ModelPart & | ) |
template void Kratos::RansApplicationTestUtilities::TestEquationIdVector< ModelPart::ElementsContainerType > | ( | ModelPart & | ) |
void Kratos::RansApplicationTestUtilities::TestGetDofList | ( | ModelPart & | rModelPart, |
const Variable< double > & | rVariable | ||
) |
template void Kratos::RansApplicationTestUtilities::TestGetDofList< ModelPart::ConditionsContainerType > | ( | ModelPart & | , |
const Variable< double > & | |||
) |
template void Kratos::RansApplicationTestUtilities::TestGetDofList< ModelPart::ElementsContainerType > | ( | ModelPart & | , |
const Variable< double > & | |||
) |