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.
|
Contains the sensitivity design and output variables. More...
#include <sensitivity_builder.h>
Public Member Functions | |
SensitivityVariables (const std::string &rName) | |
Public Attributes | |
const Variable< TDataType > * | pDesignVariable = nullptr |
const Variable< TDataType > * | pOutputVariable = nullptr |
Contains the sensitivity design and output variables.
The design variable is passed to CalculateSensitivityMatrix() and CalculatePartialSensitivity() when calculating the local sensitivity contributions. The local sensitivities are assembled to the output variable.
Example 1: SensitivityVariables<double> vars("THICKNESS"); vars.pDesignVariable->Name(); // "THICKNESS" vars.pOutputVariable->Name(); // "THICKNESS_SENSITIVITY"
Example 2: SensitivityVariables<double> vars("THICKNESS_SENSITIVITY"); vars.pDesignVariable->Name(); // "THICKNESS_SENSITIVITY" vars.pOutputVariable->Name(); // "THICKNESS_SENSITIVITY"
|
inlineexplicit |
const Variable<TDataType>* Kratos::SensitivityBuilder::SensitivityVariables< TDataType >::pDesignVariable = nullptr |
const Variable<TDataType>* Kratos::SensitivityBuilder::SensitivityVariables< TDataType >::pOutputVariable = nullptr |