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.
Public Member Functions | List of all members
Kratos::FluidAdjointUtilities< TDim > Class Template Reference

#include <fluid_adjoint_utilities.h>

Collaboration diagram for Kratos::FluidAdjointUtilities< TDim >:

Public Types

Type Definitions
using IndexType = std::size_t
 

Public Member Functions

std::array< const Variable< double > *, 2 > GetRelevantGradientVariableComponentList (const IndexType DirectionIndex, const Variable< double > &rVariable, const std::array< const Variable< double > *, 3 > &rAllGradientVariableComponents)
 
std::array< const Variable< double > *, 3 > GetRelevantGradientVariableComponentList (const IndexType DirectionIndex, const Variable< double > &rVariable, const std::array< const Variable< double > *, 3 > &rAllGradientVariableComponents)
 
const Variable< double > & GetRelevantVariable (const IndexType DirectionIndex, const Variable< array_1d< double, 3 >> &rVariable, const std::array< const Variable< double > *, 3 > &rAllVariableComponents)
 
const Variable< double > & GetRelevantVariable (const IndexType DirectionIndex, const Variable< array_1d< double, 3 >> &rVariable, const std::array< const Variable< double > *, 3 > &rAllVariableComponents)
 
std::array< const Variable< double > *, 2 > GetRelevantGradientVariableComponentList (const IndexType DirectionIndex, const Variable< array_1d< double, 3 >> &rVariable, const std::array< const Variable< double > *, 9 > &rAllGradientVariableComponents)
 
std::array< const Variable< double > *, 3 > GetRelevantGradientVariableComponentList (const IndexType DirectionIndex, const Variable< array_1d< double, 3 >> &rVariable, const std::array< const Variable< double > *, 9 > &rAllGradientVariableComponents)
 

Static Public Member Functions

Static Operations
template<class TDataType >
static const Variable< double > & GetRelevantVariable (const IndexType DirectionIndex, const Variable< TDataType > &rVariable, const std::array< const Variable< double > *, 3 > &rAllVariableComponents)
 
template<class TDataType , std::size_t TGradientVariableTotalDimensionality>
static std::array< const Variable< double > *, TDim > GetRelevantGradientVariableComponentList (const IndexType DirectionIndex, const Variable< TDataType > &rVariable, const std::array< const Variable< double > *, TGradientVariableTotalDimensionality > &rAllGradientVariableComponents)
 

Member Function Documentation

◆ GetRelevantGradientVariableComponentList() [1/4]

std::array< const Variable< double > *, 2 > Kratos::FluidAdjointUtilities< 2 >::GetRelevantGradientVariableComponentList< array_1d< double, 3 >, 9 > ( const IndexType  DirectionIndex,
const Variable< array_1d< double, 3 >> &  rVariable,
const std::array< const Variable< double > *, 9 > &  rAllGradientVariableComponents 
)

◆ GetRelevantGradientVariableComponentList() [2/4]

std::array< const Variable< double > *, 3 > Kratos::FluidAdjointUtilities< 3 >::GetRelevantGradientVariableComponentList< array_1d< double, 3 >, 9 > ( const IndexType  DirectionIndex,
const Variable< array_1d< double, 3 >> &  rVariable,
const std::array< const Variable< double > *, 9 > &  rAllGradientVariableComponents 
)

◆ GetRelevantGradientVariableComponentList() [3/4]

std::array< const Variable< double > *, 3 > Kratos::FluidAdjointUtilities< 3 >::GetRelevantGradientVariableComponentList< double, 3 > ( const IndexType  DirectionIndex,
const Variable< double > &  rVariable,
const std::array< const Variable< double > *, 3 > &  rAllGradientVariableComponents 
)

◆ GetRelevantGradientVariableComponentList() [4/4]

std::array< const Variable< double > *, 2 > Kratos::FluidAdjointUtilities< 2 >::GetRelevantGradientVariableComponentList< double, 3 > ( const IndexType  DirectionIndex,
const Variable< double > &  rVariable,
const std::array< const Variable< double > *, 3 > &  rAllGradientVariableComponents 
)

◆ GetRelevantVariable() [1/2]

const Variable< double > & Kratos::FluidAdjointUtilities< 2 >::GetRelevantVariable< array_1d< double, 3 > > ( const IndexType  DirectionIndex,
const Variable< array_1d< double, 3 >> &  rVariable,
const std::array< const Variable< double > *, 3 > &  rAllVariableComponents 
)

◆ GetRelevantVariable() [2/2]

const Variable< double > & Kratos::FluidAdjointUtilities< 3 >::GetRelevantVariable< array_1d< double, 3 > > ( const IndexType  DirectionIndex,
const Variable< array_1d< double, 3 >> &  rVariable,
const std::array< const Variable< double > *, 3 > &  rAllVariableComponents 
)

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