14 #ifndef ADJOINT_POTENTIAL_RESPONSE_FUNCTION_H
15 #define ADJOINT_POTENTIAL_RESPONSE_FUNCTION_H
70 void Initialize()
override;
74 void CalculateGradient(
const Condition& rAdjointCondition,
75 const Matrix& rResidualGradient,
79 double CalculateValue(
ModelPart& rModelPart)
override;
103 unsigned int mGradientMode;
Definition: adjoint_potential_response_function.h:36
A base class for adjoint response functions.
Definition: adjoint_response_function.h:39
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
ModelPart & mrModelPart
Definition: adjoint_potential_response_function.h:87
~AdjointPotentialResponseFunction() override
Destructor.
Definition: adjoint_potential_response_function.h:58
std::size_t SizeType
Definition: adjoint_potential_response_function.h:45
std::size_t IndexType
Definition: adjoint_potential_response_function.h:43
KRATOS_CLASS_POINTER_DEFINITION(AdjointPotentialResponseFunction)
void InitializeSolutionStep(ConstructionUtility &rThisUtil, std::string ThermalSubModelPartName, std::string MechanicalSubModelPartName, std::string HeatFluxSubModelPartName, std::string HydraulicPressureSubModelPartName, bool thermal_conditions, bool mechanical_conditions, int phase)
Definition: add_custom_utilities_to_python.cpp:45
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21