73 virtual void Initialize()
override;
77 virtual void CalculateGradient(
const Condition& rAdjointCondition,
78 const Matrix& rResidualGradient,
82 virtual double CalculateValue(
ModelPart& rModelPart)
override;
106 unsigned int mGradientMode;
A base class for adjoint response functions.
Definition: adjoint_response_function.h:39
virtual void CalculateGradient(const Element &rAdjointElement, const Matrix &rResidualGradient, Vector &rResponseGradient, const ProcessInfo &rProcessInfo)
Calculate the local gradient w.r.t. primal solution.
Definition: adjoint_response_function.h:88
AdjointStructuralResponseFunction.
Definition: adjoint_structural_response_function.h:39
std::size_t IndexType
Definition: adjoint_structural_response_function.h:46
virtual ~AdjointStructuralResponseFunction() override
Destructor.
Definition: adjoint_structural_response_function.h:61
KRATOS_CLASS_POINTER_DEFINITION(AdjointStructuralResponseFunction)
ModelPart & mrModelPart
Definition: adjoint_structural_response_function.h:90
std::size_t SizeType
Definition: adjoint_structural_response_function.h:48
Base class for all Conditions.
Definition: condition.h:59
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21