Skip to content

Commit

Permalink
Adress implicit flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fmpmorgado committed Aug 9, 2021
1 parent 0cd78e4 commit d62b1b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SU2_CFD/include/variables/CNEMOEulerVariable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class CNEMOEulerVariable : public CVariable {
LAM_VISC_INDEX, EDDY_VISC_INDEX, nSpecies;

su2double Tve_Freestream; /*!< \brief Freestream vib-el temperature. */
bool implicit;
const bool implicit; /*!< \brief Implicit flag. */

public:

Expand Down
6 changes: 2 additions & 4 deletions SU2_CFD/src/variables/CNEMOEulerVariable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ CNEMOEulerVariable::CNEMOEulerVariable(su2double val_pressure,
ndim,
nvar,
config ),
Gradient_Reconstruction(config->GetReconstructionGradientRequired() ? Gradient_Aux : Gradient_Primitive) {
Gradient_Reconstruction(config->GetReconstructionGradientRequired() ? Gradient_Aux : Gradient_Primitive),
implicit(config->GetKind_TimeIntScheme_Flow() == EULER_IMPLICIT) {

unsigned short iDim, iSpecies;

/*--- Setting flags ---*/
implicit = (config->GetKind_TimeIntScheme_Flow() == EULER_IMPLICIT);

/*--- Setting variable amounts ---*/
nDim = ndim;
Expand Down

0 comments on commit d62b1b7

Please sign in to comment.