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::ZeroDerivatives< TNumNodes, TBlockSize > Class Template Reference

This provides zero derivatives for given any variable. More...

#include <fluid_adjoint_derivatives.h>

Collaboration diagram for Kratos::ZeroDerivatives< TNumNodes, TBlockSize >:

Public Member Functions

Public static operations
template<IndexType TSize, class... TArgs>
void CalculateGaussPointResidualsDerivativeContributions (BoundedVector< double, TSize > &rResidualDerivative, TArgs &... rArgs) const
 

Local type definitions

using IndexType = std::size_t
 
constexpr static IndexType NumNodes = TNumNodes
 
constexpr static IndexType BlockSize = TBlockSize
 

Detailed Description

template<unsigned int TNumNodes, unsigned int TBlockSize>
class Kratos::ZeroDerivatives< TNumNodes, TBlockSize >

This provides zero derivatives for given any variable.

This class can be used to represent the derivative computation when interested residualdoes not have dependence on the derivative variable which results in zero derivatives analytically.

Template Parameters
TNumNodesNumber of nodes in the element
TBlockSizeBlock size of the dofs

Member Typedef Documentation

◆ IndexType

template<unsigned int TNumNodes, unsigned int TBlockSize>
using Kratos::ZeroDerivatives< TNumNodes, TBlockSize >::IndexType = std::size_t

Member Function Documentation

◆ CalculateGaussPointResidualsDerivativeContributions()

template<unsigned int TNumNodes, unsigned int TBlockSize>
template<IndexType TSize, class... TArgs>
void Kratos::ZeroDerivatives< TNumNodes, TBlockSize >::CalculateGaussPointResidualsDerivativeContributions ( BoundedVector< double, TSize > &  rResidualDerivative,
TArgs &...  rArgs 
) const
inline

Member Data Documentation

◆ BlockSize

template<unsigned int TNumNodes, unsigned int TBlockSize>
constexpr static IndexType Kratos::ZeroDerivatives< TNumNodes, TBlockSize >::BlockSize = TBlockSize
staticconstexpr

◆ NumNodes

template<unsigned int TNumNodes, unsigned int TBlockSize>
constexpr static IndexType Kratos::ZeroDerivatives< TNumNodes, TBlockSize >::NumNodes = TNumNodes
staticconstexpr

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