@@ -67,7 +67,6 @@ enum SU2_COMPONENT {
6767 SU2_CFD = 1 , /* !< \brief Running the SU2_CFD software. */
6868 SU2_DEF = 2 , /* !< \brief Running the SU2_DEF software. */
6969 SU2_DOT = 3 , /* !< \brief Running the SU2_DOT software. */
70- SU2_MSH = 4 , /* !< \brief Running the SU2_MSH software. */
7170 SU2_GEO = 5 , /* !< \brief Running the SU2_GEO software. */
7271 SU2_SOL = 6 /* !< \brief Running the SU2_SOL software. */
7372};
@@ -1524,7 +1523,8 @@ enum ENUM_OBJECTIVE {
15241523 REFERENCE_NODE = 61 , /* !< \brief Objective function defined as the difference of a particular node respect to a reference position. */
15251524 VOLUME_FRACTION = 62 , /* !< \brief Volume average physical density, for material-based topology optimization applications. */
15261525 TOPOL_DISCRETENESS = 63 , /* !< \brief Measure of the discreteness of the current topology. */
1527- TOPOL_COMPLIANCE = 64 /* !< \brief Measure of the discreteness of the current topology. */
1526+ TOPOL_COMPLIANCE = 64 , /* !< \brief Measure of the discreteness of the current topology. */
1527+ STRESS_PENALTY = 65 , /* !< \brief Penalty function of VM stresses above a maximum value. */
15281528};
15291529static const MapType<string, ENUM_OBJECTIVE> Objective_Map = {
15301530 MakePair (" DRAG" , DRAG_COEFFICIENT)
@@ -1575,6 +1575,7 @@ static const MapType<string, ENUM_OBJECTIVE> Objective_Map = {
15751575 MakePair (" VOLUME_FRACTION" , VOLUME_FRACTION)
15761576 MakePair (" TOPOL_DISCRETENESS" , TOPOL_DISCRETENESS)
15771577 MakePair (" TOPOL_COMPLIANCE" , TOPOL_COMPLIANCE)
1578+ MakePair (" STRESS_PENALTY" , STRESS_PENALTY)
15781579};
15791580
15801581/* !
@@ -1617,40 +1618,6 @@ static const MapType<string, ENUM_SENS> Sens_Map = {
16171618 MakePair (" SENS_AOS" , SENS_AOS)
16181619};
16191620
1620- /* !
1621- * \brief Types of grid adaptation/refinement
1622- */
1623- enum ENUM_ADAPT {
1624- NO_ADAPT = 0 , /* !< \brief No grid adaptation. */
1625- FULL = 1 , /* !< \brief Do a complete grid refinement of all the computational grids. */
1626- FULL_FLOW = 2 , /* !< \brief Do a complete grid refinement of the flow grid. */
1627- FULL_ADJOINT = 3 , /* !< \brief Do a complete grid refinement of the adjoint grid. */
1628- GRAD_FLOW = 5 , /* !< \brief Do a gradient based grid adaptation of the flow grid. */
1629- GRAD_ADJOINT = 6 , /* !< \brief Do a gradient based grid adaptation of the adjoint grid. */
1630- GRAD_FLOW_ADJ = 7 , /* !< \brief Do a gradient based grid adaptation of the flow and adjoint grid. */
1631- COMPUTABLE = 9 , /* !< \brief Apply a computable error grid adaptation. */
1632- REMAINING = 10 , /* !< \brief Apply a remaining error grid adaptation. */
1633- WAKE = 12 , /* !< \brief Do a grid refinement on the wake. */
1634- SMOOTHING = 14 , /* !< \brief Do a grid smoothing of the geometry. */
1635- SUPERSONIC_SHOCK = 15 , /* !< \brief Do a grid smoothing. */
1636- PERIODIC = 17 /* !< \brief Add the periodic halo cells. */
1637- };
1638- static const MapType<string, ENUM_ADAPT> Adapt_Map = {
1639- MakePair (" NONE" , NO_ADAPT)
1640- MakePair (" FULL" , FULL)
1641- MakePair (" FULL_FLOW" , FULL_FLOW)
1642- MakePair (" FULL_ADJOINT" , FULL_ADJOINT)
1643- MakePair (" GRAD_FLOW" , GRAD_FLOW)
1644- MakePair (" GRAD_ADJOINT" , GRAD_ADJOINT)
1645- MakePair (" GRAD_FLOW_ADJ" , GRAD_FLOW_ADJ)
1646- MakePair (" COMPUTABLE" , COMPUTABLE)
1647- MakePair (" REMAINING" , REMAINING)
1648- MakePair (" WAKE" , WAKE)
1649- MakePair (" SMOOTHING" , SMOOTHING)
1650- MakePair (" SUPERSONIC_SHOCK" , SUPERSONIC_SHOCK)
1651- MakePair (" PERIODIC" , PERIODIC)
1652- };
1653-
16541621/* !
16551622 * \brief Types of input file formats
16561623 */
0 commit comments