|
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. */ |
@@ -1164,7 +1165,7 @@ class CConfig { |
1164 | 1165 | ionization; /*!< \brief Flag for determining if free electron gas is in the mixture. */ |
1165 | 1166 | string GasModel, /*!< \brief Gas Model. */ |
1166 | 1167 | *Wall_Catalytic; /*!< \brief Pointer to catalytic walls. */ |
1167 | | - |
| 1168 | + |
1168 | 1169 | /*! |
1169 | 1170 | * \brief Set the default values of config options not set in the config file using another config object. |
1170 | 1171 | * \param config - Config object to use the default values from. |
@@ -4114,6 +4115,11 @@ class CConfig { |
4114 | 4115 | */ |
4115 | 4116 | unsigned short GetnQuasiNewtonSamples(void) const { return nQuasiNewtonSamples; } |
4116 | 4117 |
|
| 4118 | + /*! |
| 4119 | + * \brief Get whether to use vectorized numerics (if available). |
| 4120 | + */ |
| 4121 | + bool GetUseVectorization(void) const { return UseVectorization; } |
| 4122 | + |
4117 | 4123 | /*! |
4118 | 4124 | * \brief Get the relaxation coefficient of the linear solver for the implicit formulation. |
4119 | 4125 | * \return relaxation coefficient of the linear solver for the implicit formulation. |
@@ -4509,7 +4515,7 @@ class CConfig { |
4509 | 4515 | * during the computation. |
4510 | 4516 | * \return Kind of center convective numerical scheme for the flow equations. |
4511 | 4517 | */ |
4512 | | - unsigned short GetKind_Centered_Flow(void) const { return Kind_Centered_Flow; } |
| 4518 | + ENUM_CENTERED GetKind_Centered_Flow(void) const { return static_cast<ENUM_CENTERED>(Kind_Centered_Flow); } |
4513 | 4519 |
|
4514 | 4520 | /*! |
4515 | 4521 | * \brief Get the kind of center convective numerical scheme for the plasma equations. |
|
0 commit comments