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::Python::PyAdjointResponseFunction Class Reference
Inheritance diagram for Kratos::Python::PyAdjointResponseFunction:
Collaboration diagram for Kratos::Python::PyAdjointResponseFunction:

Public Member Functions

void Initialize () override
 
void InitializeSolutionStep () override
 
void FinalizeSolutionStep () override
 
double CalculateValue (ModelPart &rModelPart) override
 Calculate the scalar valued response function. More...
 
 AdjointResponseFunction ()
 Constructor. More...
 
- Public Member Functions inherited from Kratos::AdjointResponseFunction
 KRATOS_CLASS_POINTER_DEFINITION (AdjointResponseFunction)
 
 AdjointResponseFunction ()
 Constructor. More...
 
virtual ~AdjointResponseFunction ()
 Destructor. More...
 
virtual void CalculateGradient (const Element &rAdjointElement, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo)
 Calculate the local gradient w.r.t. primal solution. More...
 
virtual void CalculateGradient (const Condition &rAdjointCondition, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo)
 Calculate the local gradient w.r.t. primal solution. More...
 
virtual void CalculateFirstDerivativesGradient (const Element &rAdjointElement, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo)
 Calculate the local gradient w.r.t. first derivatives of primal solution. More...
 
virtual void CalculateFirstDerivativesGradient (const Condition &rAdjointCondition, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo)
 Calculate the local gradient w.r.t. first derivatives of primal solution. More...
 
virtual void CalculateSecondDerivativesGradient (const Element &rAdjointElement, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo)
 Calculate the local gradient w.r.t. second derivatives of primal solution. More...
 
virtual void CalculateSecondDerivativesGradient (const Condition &rAdjointCondition, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo)
 Calculate the local gradient w.r.t. second derivatives of primal solution. More...
 
virtual void CalculatePartialSensitivity (Element &rAdjointElement, const Variable< double > &rVariable, const Matrix &rSensitivityMatrix, Vector &rSensitivityGradient, const ProcessInfo &rProcessInfo)
 Calculate the partial sensitivity w.r.t. design variable. More...
 
virtual void CalculatePartialSensitivity (Condition &rAdjointCondition, const Variable< double > &rVariable, const Matrix &rSensitivityMatrix, Vector &rSensitivityGradient, const ProcessInfo &rProcessInfo)
 Calculate the partial sensitivity w.r.t. design variable. More...
 
virtual void CalculatePartialSensitivity (Element &rAdjointElement, const Variable< array_1d< double, 3 >> &rVariable, const Matrix &rSensitivityMatrix, Vector &rSensitivityGradient, const ProcessInfo &rProcessInfo)
 Calculate the partial sensitivity w.r.t. design variable. More...
 
virtual void CalculatePartialSensitivity (Condition &rAdjointCondition, const Variable< array_1d< double, 3 >> &rVariable, const Matrix &rSensitivityMatrix, Vector &rSensitivityGradient, const ProcessInfo &rProcessInfo)
 Calculate the partial sensitivity w.r.t. design variable. More...
 

Member Function Documentation

◆ AdjointResponseFunction()

Kratos::AdjointResponseFunction::AdjointResponseFunction
inline

Constructor.

◆ CalculateValue()

double Kratos::Python::PyAdjointResponseFunction::CalculateValue ( ModelPart rModelPart)
inlineoverridevirtual

Calculate the scalar valued response function.

Implements Kratos::AdjointResponseFunction.

◆ FinalizeSolutionStep()

void Kratos::Python::PyAdjointResponseFunction::FinalizeSolutionStep ( )
inlineoverridevirtual

Reimplemented from Kratos::AdjointResponseFunction.

◆ Initialize()

void Kratos::Python::PyAdjointResponseFunction::Initialize ( )
inlineoverridevirtual

Reimplemented from Kratos::AdjointResponseFunction.

◆ InitializeSolutionStep()

void Kratos::Python::PyAdjointResponseFunction::InitializeSolutionStep ( )
inlineoverridevirtual

Reimplemented from Kratos::AdjointResponseFunction.


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