|
3 | 3 | * \brief All the information about the definition of the physical problem. |
4 | 4 | * The subroutines and functions are in the <i>CConfig.cpp</i> file. |
5 | 5 | * \author F. Palacios, T. Economon, B. Tracey |
6 | | - * \version 7.0.6 "Blackbird" |
| 6 | + * \version 7.0.7 "Blackbird" |
7 | 7 | * |
8 | 8 | * SU2 Project Website: https://su2code.github.io |
9 | 9 | * |
|
43 | 43 | #include <map> |
44 | 44 | #include <assert.h> |
45 | 45 |
|
46 | | -#include "./option_structure.hpp" |
47 | | -#include "./toolboxes/C2DContainer.hpp" |
| 46 | +#include "option_structure.hpp" |
| 47 | +#include "containers/container_decorators.hpp" |
48 | 48 |
|
49 | 49 | #ifdef HAVE_CGNS |
50 | 50 | #include "cgnslib.h" |
@@ -419,6 +419,7 @@ class CConfig { |
419 | 419 | su2double *RK_Alpha_Step; /*!< \brief Runge-Kutta beta coefficients. */ |
420 | 420 |
|
421 | 421 | unsigned short nQuasiNewtonSamples; /*!< \brief Number of samples used in quasi-Newton solution methods. */ |
| 422 | + bool UseVectorization; /*!< \brief Whether to use vectorized numerics schemes. */ |
422 | 423 |
|
423 | 424 | unsigned short nMGLevels; /*!< \brief Number of multigrid levels (coarse levels). */ |
424 | 425 | unsigned short nCFL; /*!< \brief Number of CFL, one for each multigrid level. */ |
@@ -591,10 +592,10 @@ class CConfig { |
591 | 592 | *Kappa_AdjFlow, /*!< \brief Numerical dissipation coefficients for the adjoint flow equations. */ |
592 | 593 | *Kappa_Heat; /*!< \brief Numerical dissipation coefficients for the (fvm) heat equation. */ |
593 | 594 | su2double* FFD_Axis; /*!< \brief Numerical dissipation coefficients for the adjoint equations. */ |
594 | | - su2double Kappa_1st_AdjFlow, /*!< \brief JST 1st order dissipation coefficient for adjoint flow equations (coarse multigrid levels). */ |
| 595 | + su2double Kappa_1st_AdjFlow, /*!< \brief Lax 1st order dissipation coefficient for adjoint flow equations (coarse multigrid levels). */ |
595 | 596 | Kappa_2nd_AdjFlow, /*!< \brief JST 2nd order dissipation coefficient for adjoint flow equations. */ |
596 | 597 | Kappa_4th_AdjFlow, /*!< \brief JST 4th order dissipation coefficient for adjoint flow equations. */ |
597 | | - Kappa_1st_Flow, /*!< \brief JST 1st order dissipation coefficient for flow equations (coarse multigrid levels). */ |
| 598 | + Kappa_1st_Flow, /*!< \brief Lax 1st order dissipation coefficient for flow equations (coarse multigrid levels). */ |
598 | 599 | Kappa_2nd_Flow, /*!< \brief JST 2nd order dissipation coefficient for flow equations. */ |
599 | 600 | Kappa_4th_Flow, /*!< \brief JST 4th order dissipation coefficient for flow equations. */ |
600 | 601 | Kappa_2nd_Heat, /*!< \brief 2nd order dissipation coefficient for heat equation. */ |
@@ -1078,6 +1079,8 @@ class CConfig { |
1078 | 1079 | default_jst_adj_coeff[2], /*!< \brief Default artificial dissipation (adjoint) array for the COption class. */ |
1079 | 1080 | default_ad_coeff_heat[2], /*!< \brief Default artificial dissipation (heat) array for the COption class. */ |
1080 | 1081 | default_obj_coeff[5], /*!< \brief Default objective array for the COption class. */ |
| 1082 | + default_mesh_box_length[3], /*!< \brief Default mesh box length for the COption class. */ |
| 1083 | + default_mesh_box_offset[3], /*!< \brief Default mesh box offset for the COption class. */ |
1081 | 1084 | default_geo_loc[2], /*!< \brief Default SU2_GEO section locations array for the COption class. */ |
1082 | 1085 | default_distortion[2], /*!< \brief Default SU2_GEO section locations array for the COption class. */ |
1083 | 1086 | default_ea_lim[3], /*!< \brief Default equivalent area limit array for the COption class. */ |
@@ -1163,7 +1166,7 @@ class CConfig { |
1163 | 1166 | ionization; /*!< \brief Flag for determining if free electron gas is in the mixture. */ |
1164 | 1167 | string GasModel, /*!< \brief Gas Model. */ |
1165 | 1168 | *Wall_Catalytic; /*!< \brief Pointer to catalytic walls. */ |
1166 | | - |
| 1169 | + |
1167 | 1170 | /*! |
1168 | 1171 | * \brief Set the default values of config options not set in the config file using another config object. |
1169 | 1172 | * \param config - Config object to use the default values from. |
@@ -4113,6 +4116,11 @@ class CConfig { |
4113 | 4116 | */ |
4114 | 4117 | unsigned short GetnQuasiNewtonSamples(void) const { return nQuasiNewtonSamples; } |
4115 | 4118 |
|
| 4119 | + /*! |
| 4120 | + * \brief Get whether to use vectorized numerics (if available). |
| 4121 | + */ |
| 4122 | + bool GetUseVectorization(void) const { return UseVectorization; } |
| 4123 | + |
4116 | 4124 | /*! |
4117 | 4125 | * \brief Get the relaxation coefficient of the linear solver for the implicit formulation. |
4118 | 4126 | * \return relaxation coefficient of the linear solver for the implicit formulation. |
@@ -4508,7 +4516,7 @@ class CConfig { |
4508 | 4516 | * during the computation. |
4509 | 4517 | * \return Kind of center convective numerical scheme for the flow equations. |
4510 | 4518 | */ |
4511 | | - unsigned short GetKind_Centered_Flow(void) const { return Kind_Centered_Flow; } |
| 4519 | + ENUM_CENTERED GetKind_Centered_Flow(void) const { return static_cast<ENUM_CENTERED>(Kind_Centered_Flow); } |
4512 | 4520 |
|
4513 | 4521 | /*! |
4514 | 4522 | * \brief Get the kind of center convective numerical scheme for the plasma equations. |
|
0 commit comments