@@ -2465,6 +2465,11 @@ class CSolver {
24652465 */
24662466 inline virtual su2double GetTotal_OFVolFrac () const { return 0 ; }
24672467
2468+ /* !
2469+ * \brief Retrieve the value of the discreteness objective function
2470+ */
2471+ inline virtual su2double GetTotal_OFDiscreteness () const { return 0 ; }
2472+
24682473 /* !
24692474 * \brief A virtual member.
24702475 * \return Value of the objective function for the structural compliance.
@@ -3630,41 +3635,6 @@ class CSolver {
36303635 CConfig *config,
36313636 int val_iter) { }
36323637
3633- /* !
3634- * \brief A virtual member.
3635- * \param[in] geometry - Geometrical definition of the problem.
3636- * \param[in] solver_container - Container vector with all the solutions.
3637- * \param[in] numerics - Description of the numerical method.
3638- * \param[in] config - Definition of the particular problem.
3639- */
3640- inline virtual void RefGeom_Sensitivity (CGeometry *geometry,
3641- CSolver **solver_container,
3642- CConfig *config){ }
3643-
3644- /* !
3645- * \brief A virtual member.
3646- * \param[in] geometry - Geometrical definition of the problem.
3647- * \param[in] solver_container - Container vector with all the solutions.
3648- * \param[in] numerics - Description of the numerical method.
3649- * \param[in] config - Definition of the particular problem.
3650- */
3651- inline virtual void DE_Sensitivity (CGeometry *geometry,
3652- CSolver **solver_container,
3653- CNumerics **numerics_container,
3654- CConfig *config) { }
3655-
3656- /* !
3657- * \brief A virtual member.
3658- * \param[in] geometry - Geometrical definition of the problem.
3659- * \param[in] solver_container - Container vector with all the solutions.
3660- * \param[in] numerics - Description of the numerical method.
3661- * \param[in] config - Definition of the particular problem.
3662- */
3663- inline virtual void Stiffness_Sensitivity (CGeometry *geometry,
3664- CSolver **solver_container,
3665- CNumerics **numerics_container,
3666- CConfig *config) { }
3667-
36683638 /* !
36693639 * \brief A virtual member.
36703640 * \param[in] iElem - element parameter.
@@ -3777,12 +3747,6 @@ class CSolver {
37773747 */
37783748 inline virtual void ExtractAdjoint_Geometry (CGeometry *geometry, CConfig *config) {}
37793749
3780- /* !
3781- * \brief A virtual member
3782- * \param[in] geometry - The geometrical definition of the problem.
3783- */
3784- inline virtual void RegisterObj_Func (CConfig *config){}
3785-
37863750 /* !
37873751 * \brief A virtual member.
37883752 * \param[in] geometry - Geometrical definition of the problem.
@@ -3798,13 +3762,6 @@ class CSolver {
37983762 */
37993763 inline virtual void SetSensitivity (CGeometry *geometry, CConfig *config, CSolver *target_solver = nullptr ){ }
38003764
3801- /* !
3802- * \brief A virtual member. Extract and set the derivative of objective function.
3803- * \param[in] geometry - Geometrical definition of the problem.
3804- * \param[in] config - Definition of the particular problem.
3805- */
3806- inline virtual void SetAdj_ObjFunc (CGeometry *geometry, CConfig *config) { }
3807-
38083765 /* !
38093766 * \brief A virtual member.
38103767 * \param[in] Set value of interest: 0 - Initial value, 1 - Current value.
0 commit comments