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.
List of all members
Kratos::FluidAdjointTestUtilities Class Reference

#include <fluid_adjoint_test_utilities.h>

Collaboration diagram for Kratos::FluidAdjointTestUtilities:

Public Types

Type Definitions
using IndexType = std::size_t
 
using NodeType = ModelPart::NodeType
 
using ConditionType = ModelPart::ConditionType
 
using ElementType = ModelPart::ElementType
 

Static Public Member Functions

Static Operations
template<class TDataType >
static TDataType CalculateRelaxedVariableRate (const double BossakAlpha, const Variable< TDataType > &rVariable, const NodeType &rNode)
 
template<class TDataType >
static void RunAdjointEntityDerivativesTest (ModelPart &rPrimalModelPart, ModelPart &rAdjointModelPart, const std::function< void(ModelPart &)> &rUpdateModelPart, const Variable< TDataType > &rVariable, const std::function< void(Matrix &, ConditionType &, const ProcessInfo &)> &rCalculateElementResidualDerivatives, const IndexType EquationOffset, const IndexType DerivativeOffset, const double Delta, const double Tolerance)
 
template<class TDataType >
static void RunAdjointEntityDerivativesTest (ModelPart &rPrimalModelPart, ModelPart &rAdjointModelPart, const std::function< void(ModelPart &)> &rUpdateModelPart, const Variable< TDataType > &rVariable, const std::function< void(Matrix &, ElementType &, const ProcessInfo &)> &rCalculateElementResidualDerivatives, const IndexType EquationOffset, const IndexType DerivativeOffset, const double Delta, const double Tolerance)
 

Member Typedef Documentation

◆ ConditionType

◆ ElementType

◆ IndexType

◆ NodeType

Member Function Documentation

◆ CalculateRelaxedVariableRate()

template<class TDataType >
template array_1d< double, 3 > Kratos::FluidAdjointTestUtilities::CalculateRelaxedVariableRate ( const double  BossakAlpha,
const Variable< TDataType > &  rVariable,
const NodeType rNode 
)
static

◆ RunAdjointEntityDerivativesTest() [1/2]

template<class TDataType >
void Kratos::FluidAdjointTestUtilities::RunAdjointEntityDerivativesTest ( ModelPart rPrimalModelPart,
ModelPart rAdjointModelPart,
const std::function< void(ModelPart &)> &  rUpdateModelPart,
const Variable< TDataType > &  rVariable,
const std::function< void(Matrix &, ConditionType &, const ProcessInfo &)> &  rCalculateElementResidualDerivatives,
const IndexType  EquationOffset,
const IndexType  DerivativeOffset,
const double  Delta,
const double  Tolerance 
)
static

◆ RunAdjointEntityDerivativesTest() [2/2]

template<class TDataType >
void Kratos::FluidAdjointTestUtilities::RunAdjointEntityDerivativesTest ( ModelPart rPrimalModelPart,
ModelPart rAdjointModelPart,
const std::function< void(ModelPart &)> &  rUpdateModelPart,
const Variable< TDataType > &  rVariable,
const std::function< void(Matrix &, ElementType &, const ProcessInfo &)> &  rCalculateElementResidualDerivatives,
const IndexType  EquationOffset,
const IndexType  DerivativeOffset,
const double  Delta,
const double  Tolerance 
)
static

The documentation for this class was generated from the following files: