@@ -862,13 +862,13 @@ static const MapType<std::string, ENUM_FEM> FEM_Map = {
862862/* !
863863 * \brief Types of shock capturing method in Discontinuous Galerkin numerical method.
864864 */
865- enum ENUM_SHOCK_CAPTURING_DG {
866- NO_SHOCK_CAPTURING = 0 , /* !< \brief Shock capturing is not used. */
867- PERSSON = 1 /* !< \brief Per-Olof Persson's sub-cell shock capturing method. */
865+ enum class FEM_SHOCK_CAPTURING_DG {
866+ NONE , /* !< \brief Shock capturing is not used. */
867+ PERSSON /* !< \brief Per-Olof Persson's sub-cell shock capturing method. */
868868};
869- static const MapType<std::string, ENUM_SHOCK_CAPTURING_DG > ShockCapturingDG_Map = {
870- MakePair (" NONE" , NO_SHOCK_CAPTURING )
871- MakePair (" PERSSON" , PERSSON)
869+ static const MapType<std::string, FEM_SHOCK_CAPTURING_DG > ShockCapturingDG_Map = {
870+ MakePair (" NONE" , FEM_SHOCK_CAPTURING_DG::NONE )
871+ MakePair (" PERSSON" , FEM_SHOCK_CAPTURING_DG:: PERSSON)
872872};
873873
874874/* !
@@ -958,19 +958,19 @@ static const MapType<std::string, SPECIES_MODEL> Species_Model_Map = {
958958/* !
959959 * \brief Types of subgrid scale models
960960 */
961- enum ENUM_SGS_MODEL {
962- NO_SGS_MODEL = 0 , /* !< \brief No subgrid scale model. */
963- IMPLICIT_LES = 1 , /* !< \brief Implicit LES, i.e. no explicit SGS model. */
964- SMAGORINSKY = 2 , /* !< \brief Smagorinsky SGS model. */
965- WALE = 3 , /* !< \brief Wall-Adapting Local Eddy-viscosity SGS model. */
966- VREMAN = 4 /* !< \brief Vreman SGS model. */
961+ enum class TURB_SGS_MODEL {
962+ NONE , /* !< \brief No subgrid scale model. */
963+ IMPLICIT_LES, /* !< \brief Implicit LES, i.e. no explicit SGS model. */
964+ SMAGORINSKY , /* !< \brief Smagorinsky SGS model. */
965+ WALE , /* !< \brief Wall-Adapting Local Eddy-viscosity SGS model. */
966+ VREMAN /* !< \brief Vreman SGS model. */
967967};
968- static const MapType<std::string, ENUM_SGS_MODEL > SGS_Model_Map = {
969- MakePair (" NONE" , NO_SGS_MODEL )
970- MakePair (" IMPLICIT_LES" , IMPLICIT_LES)
971- MakePair (" SMAGORINSKY" , SMAGORINSKY)
972- MakePair (" WALE" , WALE)
973- MakePair (" VREMAN" , VREMAN)
968+ static const MapType<std::string, TURB_SGS_MODEL > SGS_Model_Map = {
969+ MakePair (" NONE" , TURB_SGS_MODEL::NONE )
970+ MakePair (" IMPLICIT_LES" , TURB_SGS_MODEL:: IMPLICIT_LES)
971+ MakePair (" SMAGORINSKY" , TURB_SGS_MODEL:: SMAGORINSKY)
972+ MakePair (" WALE" , TURB_SGS_MODEL:: WALE)
973+ MakePair (" VREMAN" , TURB_SGS_MODEL:: VREMAN)
974974};
975975
976976
@@ -2250,35 +2250,35 @@ static const MapType<std::string, ENUM_PROJECTION_FUNCTION> Projection_Function_
22502250/* !
22512251 * \brief the different validation solution
22522252 */
2253- enum ENUM_VERIFICATION_SOLUTIONS {
2254- NO_VERIFICATION_SOLUTION = 0 , /* !< \brief No verification solution, standard solver mode. */
2255- INVISCID_VORTEX = 1 , /* !< \brief Inviscid vortex. Exact solution of the unsteady Euler equations. */
2256- RINGLEB = 2 , /* !< \brief Ringleb flow. Exact solution of the steady Euler equations. */
2257- NS_UNIT_QUAD = 31 , /* !< \brief Exact solution of the laminar Navier Stokes equations without heat conduction. */
2258- TAYLOR_GREEN_VORTEX = 32 , /* !< \brief Taylor Green Vortex. */
2259- INC_TAYLOR_GREEN_VORTEX = 33 , /* !< \brief Incompressible Taylor Green Vortex (2D). */
2260- MMS_NS_UNIT_QUAD = 61 , /* !< \brief Manufactured solution of the laminar Navier Stokes equations on a unit quad. */
2261- MMS_NS_UNIT_QUAD_WALL_BC = 62 , /* !< \brief Manufactured solution of the laminar Navier Stokes equations on a unit quad with wall BC's. */
2262- MMS_NS_TWO_HALF_CIRCLES = 63 , /* !< \brief Manufactured solution of the laminar Navier Stokes equations between two half circles. */
2263- MMS_NS_TWO_HALF_SPHERES = 64 , /* !< \brief Manufactured solution of the laminar Navier Stokes equations between two half spheres. */
2264- MMS_INC_EULER = 65 , /* !< \brief Manufactured solution of the incompressible Euler equations. */
2265- MMS_INC_NS = 66 , /* !< \brief Manufactured solution of the laminar incompressible Navier Stokes equations. */
2266- USER_DEFINED_SOLUTION = 99 , /* !< \brief User defined solution. */
2267- };
2268- static const MapType<std::string, ENUM_VERIFICATION_SOLUTIONS > Verification_Solution_Map = {
2269- MakePair (" NO_VERIFICATION_SOLUTION" , NO_VERIFICATION_SOLUTION )
2270- MakePair (" INVISCID_VORTEX" , INVISCID_VORTEX)
2271- MakePair (" RINGLEB" , RINGLEB)
2272- MakePair (" NS_UNIT_QUAD" , NS_UNIT_QUAD)
2273- MakePair (" TAYLOR_GREEN_VORTEX" , TAYLOR_GREEN_VORTEX)
2274- MakePair (" INC_TAYLOR_GREEN_VORTEX" , INC_TAYLOR_GREEN_VORTEX)
2275- MakePair (" MMS_NS_UNIT_QUAD" , MMS_NS_UNIT_QUAD)
2276- MakePair (" MMS_NS_UNIT_QUAD_WALL_BC" , MMS_NS_UNIT_QUAD_WALL_BC)
2277- MakePair (" MMS_NS_TWO_HALF_CIRCLES" , MMS_NS_TWO_HALF_CIRCLES)
2278- MakePair (" MMS_NS_TWO_HALF_SPHERES" , MMS_NS_TWO_HALF_SPHERES)
2279- MakePair (" MMS_INC_EULER" , MMS_INC_EULER)
2280- MakePair (" MMS_INC_NS" , MMS_INC_NS)
2281- MakePair (" USER_DEFINED_SOLUTION" , USER_DEFINED_SOLUTION)
2253+ enum class VERIFICATION_SOLUTION {
2254+ NONE, /* !< \brief No verification solution, standard solver mode. */
2255+ INVISCID_VORTEX, /* !< \brief Inviscid vortex. Exact solution of the unsteady Euler equations. */
2256+ RINGLEB, /* !< \brief Ringleb flow. Exact solution of the steady Euler equations. */
2257+ NS_UNIT_QUAD, /* !< \brief Exact solution of the laminar Navier Stokes equations without heat conduction. */
2258+ TAYLOR_GREEN_VORTEX, /* !< \brief Taylor Green Vortex. */
2259+ INC_TAYLOR_GREEN_VORTEX, /* !< \brief Incompressible Taylor Green Vortex (2D). */
2260+ MMS_NS_UNIT_QUAD, /* !< \brief Manufactured solution of the laminar Navier Stokes equations on a unit quad. */
2261+ MMS_NS_UNIT_QUAD_WALL_BC, /* !< \brief Manufactured solution of the laminar Navier Stokes equations on a unit quad with wall BC's. */
2262+ MMS_NS_TWO_HALF_CIRCLES, /* !< \brief Manufactured solution of the laminar Navier Stokes equations between two half circles. */
2263+ MMS_NS_TWO_HALF_SPHERES, /* !< \brief Manufactured solution of the laminar Navier Stokes equations between two half spheres. */
2264+ MMS_INC_EULER, /* !< \brief Manufactured solution of the incompressible Euler equations. */
2265+ MMS_INC_NS, /* !< \brief Manufactured solution of the laminar incompressible Navier Stokes equations. */
2266+ USER_DEFINED_SOLUTION, /* !< \brief User defined solution. */
2267+ };
2268+ static const MapType<std::string, VERIFICATION_SOLUTION > Verification_Solution_Map = {
2269+ MakePair (" NO_VERIFICATION_SOLUTION" , VERIFICATION_SOLUTION::NONE )
2270+ MakePair (" INVISCID_VORTEX" , VERIFICATION_SOLUTION:: INVISCID_VORTEX)
2271+ MakePair (" RINGLEB" , VERIFICATION_SOLUTION:: RINGLEB)
2272+ MakePair (" NS_UNIT_QUAD" , VERIFICATION_SOLUTION:: NS_UNIT_QUAD)
2273+ MakePair (" TAYLOR_GREEN_VORTEX" , VERIFICATION_SOLUTION:: TAYLOR_GREEN_VORTEX)
2274+ MakePair (" INC_TAYLOR_GREEN_VORTEX" , VERIFICATION_SOLUTION:: INC_TAYLOR_GREEN_VORTEX)
2275+ MakePair (" MMS_NS_UNIT_QUAD" , VERIFICATION_SOLUTION:: MMS_NS_UNIT_QUAD)
2276+ MakePair (" MMS_NS_UNIT_QUAD_WALL_BC" , VERIFICATION_SOLUTION:: MMS_NS_UNIT_QUAD_WALL_BC)
2277+ MakePair (" MMS_NS_TWO_HALF_CIRCLES" , VERIFICATION_SOLUTION:: MMS_NS_TWO_HALF_CIRCLES)
2278+ MakePair (" MMS_NS_TWO_HALF_SPHERES" , VERIFICATION_SOLUTION:: MMS_NS_TWO_HALF_SPHERES)
2279+ MakePair (" MMS_INC_EULER" , VERIFICATION_SOLUTION:: MMS_INC_EULER)
2280+ MakePair (" MMS_INC_NS" , VERIFICATION_SOLUTION:: MMS_INC_NS)
2281+ MakePair (" USER_DEFINED_SOLUTION" , VERIFICATION_SOLUTION:: USER_DEFINED_SOLUTION)
22822282};
22832283
22842284/* !
0 commit comments