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 |
using | NodeType = ModelPart::NodeType |
Functions | |
template<class TDataType > | |
std::function< double &(NodeType &, const IndexType)> | GetPerturbationMethod (const Variable< TDataType > &rPerturbationVariable) |
template<> | |
std::function< double &(ModelPart::NodeType &, const IndexType)> | GetPerturbationMethod (const Variable< double > &rPerturbationVariable) |
template<> | |
std::function< double &(ModelPart::NodeType &, const IndexType)> | GetPerturbationMethod (const Variable< array_1d< double, 3 >> &rPerturbationVariable) |
template<class TDataType > | |
IndexType | GetVariableDimension (const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo) |
template<> | |
IndexType | GetVariableDimension (const Variable< double > &rVariable, const ProcessInfo &rProcessInfo) |
template<> | |
IndexType | GetVariableDimension (const Variable< array_1d< double, 3 >> &rVariable, const ProcessInfo &rProcessInfo) |
template<class TEntityType > | |
void | CalculateResidual (Vector &residual, TEntityType &rEntity, const ProcessInfo &rProcessInfo) |
template<class TContainerType , class TDataType > | |
void | RunAdjointEntityDerivativesTest (ModelPart &rPrimalModelPart, ModelPart &rAdjointModelPart, const std::function< void(ModelPart &)> &rUpdateModelPart, const Variable< TDataType > &rVariable, const std::function< void(Matrix &, typename TContainerType::data_type &, const ProcessInfo &)> &rCalculateElementResidualDerivatives, const IndexType EquationOffset, const IndexType DerivativeOffset, const double Delta, const double Tolerance) |
using Kratos::FluidAdjointTestUtilitiesHelper::IndexType = typedef std::size_t |
using Kratos::FluidAdjointTestUtilitiesHelper::NodeType = typedef ModelPart::NodeType |
void Kratos::FluidAdjointTestUtilitiesHelper::CalculateResidual | ( | Vector & | residual, |
TEntityType & | rEntity, | ||
const ProcessInfo & | rProcessInfo | ||
) |
std::function<double&(ModelPart::NodeType&, const IndexType)> Kratos::FluidAdjointTestUtilitiesHelper::GetPerturbationMethod | ( | const Variable< array_1d< double, 3 >> & | rPerturbationVariable | ) |
std::function<double&(ModelPart::NodeType&, const IndexType)> Kratos::FluidAdjointTestUtilitiesHelper::GetPerturbationMethod | ( | const Variable< double > & | rPerturbationVariable | ) |
std::function<double&(NodeType&, const IndexType)> Kratos::FluidAdjointTestUtilitiesHelper::GetPerturbationMethod | ( | const Variable< TDataType > & | rPerturbationVariable | ) |
IndexType Kratos::FluidAdjointTestUtilitiesHelper::GetVariableDimension | ( | const Variable< array_1d< double, 3 >> & | rVariable, |
const ProcessInfo & | rProcessInfo | ||
) |
IndexType Kratos::FluidAdjointTestUtilitiesHelper::GetVariableDimension | ( | const Variable< double > & | rVariable, |
const ProcessInfo & | rProcessInfo | ||
) |
IndexType Kratos::FluidAdjointTestUtilitiesHelper::GetVariableDimension | ( | const Variable< TDataType > & | rVariable, |
const ProcessInfo & | rProcessInfo | ||
) |
void Kratos::FluidAdjointTestUtilitiesHelper::RunAdjointEntityDerivativesTest | ( | ModelPart & | rPrimalModelPart, |
ModelPart & | rAdjointModelPart, | ||
const std::function< void(ModelPart &)> & | rUpdateModelPart, | ||
const Variable< TDataType > & | rVariable, | ||
const std::function< void(Matrix &, typename TContainerType::data_type &, const ProcessInfo &)> & | rCalculateElementResidualDerivatives, | ||
const IndexType | EquationOffset, | ||
const IndexType | DerivativeOffset, | ||
const double | Delta, | ||
const double | Tolerance | ||
) |