14 #ifndef ADJOINT_LIFT_FAR_FIELD_RESPONSE_FUNCTION_H
15 #define ADJOINT_LIFT_FAR_FIELD_RESPONSE_FUNCTION_H
82 double CalculateValue(
ModelPart& rModelPart)
override;
84 void CalculateGradient(
const Element& rAdjointElement,
85 const Matrix& rResidualGradient,
89 void CalculateGradient(
const Condition& rAdjointCondition,
90 const Matrix& rResidualGradient,
94 void CalculatePartialSensitivity(
Element& rAdjointElement,
96 const Matrix& rSensitivityMatrix,
97 Vector& rSensitivityGradient,
100 void CalculatePartialSensitivity(
Condition& rAdjointCondition,
102 const Matrix& rSensitivityMatrix,
103 Vector& rSensitivityGradient,
106 void CalculatePartialSensitivity(
Element& rAdjointElement,
108 const Matrix& rSensitivityMatrix,
109 Vector& rSensitivityGradient,
112 void CalculatePartialSensitivity(
Condition& rAdjointCondition,
114 const Matrix& rSensitivityMatrix,
115 Vector& rSensitivityGradient,
175 double mReferenceChord;
176 double mDynamicPressure;
178 std::string mFarFieldModelPartName;
AdjointLiftFarFieldResponseFunction.
Definition: adjoint_far_field_lift_response_function.h:53
KRATOS_CLASS_POINTER_DEFINITION(AdjointLiftFarFieldResponseFunction)
Definition: adjoint_potential_response_function.h:36
Base class for all Conditions.
Definition: condition.h:59
Base class for all Elements.
Definition: element.h:60
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
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