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.
Classes | Functions
sensitivity_builder_cpp Namespace Reference

Classes

class  SetNonHistoricalValueToZeroFunctor
 
class  SetHistoricalValueToZeroFunctor
 
class  CalculateNodalSolutionStepSensitivityFunctor
 
class  CalculateNonHistoricalSensitivitiesFunctor
 

Functions

template<template< class T > class TFunctor, class... TArgs>
void ExecuteFunctor (const SensitivityBuilder::TSensitivityVariables &rVariables, TArgs &... rArgs)
 
template<template< class T > class TFunctor, class TContainer >
void ExecuteFunctorInContainer (const SensitivityBuilder::TSensitivityVariables &rVariables, TContainer &rContainer)
 
template<class TDerivativeEntityType >
bool HasSensitivityContributions (const Geometry< ModelPart::NodeType > &rGeometry)
 
template<>
bool HasSensitivityContributions< ModelPart::NodeType > (const Geometry< ModelPart::NodeType > &rGeometry)
 
template<class TDataType >
void GetDataFromVector (const Vector &rValues, const IndexType Position, const IndexType OutputSize, TDataType &rOutput)
 
template<>
void GetDataFromVector (const Vector &rValues, const IndexType Position, const IndexType OutputSize, double &rOutput)
 
template<>
void GetDataFromVector (const Vector &rValues, const IndexType Position, const IndexType OutputSize, array_1d< double, 3 > &rOutput)
 
template<class TContainerType , class TDataType , class TProxyType >
void AssembleContainerContributions (TContainerType &rContainer, AdjointResponseFunction &rResponseFunction, SensitivityBuilderScheme &rSensitivityBuilderScheme, TProxyType &rProxy, const Variable< TDataType > &rDesignVariable, const ProcessInfo &rProcessInfo)
 
void ReplaceDeprecatedNameIfExists (Parameters &rSettings, const std::string &rDeprecatedName, const std::string &rNewName)
 

Function Documentation

◆ AssembleContainerContributions()

template<class TContainerType , class TDataType , class TProxyType >
void sensitivity_builder_cpp::AssembleContainerContributions ( TContainerType &  rContainer,
AdjointResponseFunction rResponseFunction,
SensitivityBuilderScheme rSensitivityBuilderScheme,
TProxyType &  rProxy,
const Variable< TDataType > &  rDesignVariable,
const ProcessInfo rProcessInfo 
)

◆ ExecuteFunctor()

template<template< class T > class TFunctor, class... TArgs>
void sensitivity_builder_cpp::ExecuteFunctor ( const SensitivityBuilder::TSensitivityVariables rVariables,
TArgs &...  rArgs 
)

◆ ExecuteFunctorInContainer()

template<template< class T > class TFunctor, class TContainer >
void sensitivity_builder_cpp::ExecuteFunctorInContainer ( const SensitivityBuilder::TSensitivityVariables rVariables,
TContainer &  rContainer 
)

◆ GetDataFromVector() [1/3]

template<>
void sensitivity_builder_cpp::GetDataFromVector ( const Vector rValues,
const IndexType  Position,
const IndexType  OutputSize,
array_1d< double, 3 > &  rOutput 
)

◆ GetDataFromVector() [2/3]

template<>
void sensitivity_builder_cpp::GetDataFromVector ( const Vector rValues,
const IndexType  Position,
const IndexType  OutputSize,
double &  rOutput 
)

◆ GetDataFromVector() [3/3]

template<class TDataType >
void sensitivity_builder_cpp::GetDataFromVector ( const Vector rValues,
const IndexType  Position,
const IndexType  OutputSize,
TDataType &  rOutput 
)

◆ HasSensitivityContributions()

template<class TDerivativeEntityType >
bool sensitivity_builder_cpp::HasSensitivityContributions ( const Geometry< ModelPart::NodeType > &  rGeometry)

◆ HasSensitivityContributions< ModelPart::NodeType >()

◆ ReplaceDeprecatedNameIfExists()

void sensitivity_builder_cpp::ReplaceDeprecatedNameIfExists ( Parameters rSettings,
const std::string &  rDeprecatedName,
const std::string &  rNewName 
)