Skip to content

Commit cb40f95

Browse files
committed
Revert "Minor modifications and TODO annotation in turb_sources.hpp"
This reverts commit 0f11171.
1 parent d0918b7 commit cb40f95

1 file changed

Lines changed: 12 additions & 15 deletions

File tree

SU2_CFD/include/numerics/turbulent/turb_sources.hpp

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,18 @@
3535
*/
3636
struct CSAVariables {
3737
/*--- List of constants ---*/
38-
const su2double
39-
cv1_3 = pow(7.1, 3.0),
40-
k2 = pow(0.41, 2.0),
41-
cb1 = 0.1355,
42-
cw2 = 0.3,
43-
ct3 = 1.2,
44-
ct4 = 0.5,
45-
cw3_6 = pow(2.0, 6.0),
46-
sigma = 2./3.,
47-
cb2 = 0.622,
48-
cb2_sigma = cb2/sigma,
49-
cw1 = cb1/k2+(1.0+cb2)/sigma,
50-
cr1 = 0.5;
38+
const su2double cv1_3 = pow(7.1, 3);
39+
const su2double k2 = pow(0.41, 2);
40+
const su2double cb1 = 0.1355;
41+
const su2double cw2 = 0.3;
42+
const su2double ct3 = 1.2;
43+
const su2double ct4 = 0.5;
44+
const su2double cw3_6 = pow(2, 6);
45+
const su2double sigma = 2.0 / 3.0;
46+
const su2double cb2 = 0.622;
47+
const su2double cb2_sigma = cb2 / sigma;
48+
const su2double cw1 = cb1 / k2 + (1 + cb2) / sigma;
49+
const su2double cr1 = 0.5;
5150

5251
/*--- List of auxiliary functions ---*/
5352
su2double ft2, d_ft2, r, d_r, g, d_g, glim, fw, d_fw, Ji, d_Ji, S, Shat, d_Shat, fv1, d_fv1, fv2, d_fv2;
@@ -86,8 +85,6 @@ class CSourceBase_TurbSA : public CNumerics {
8685
idx(nDim, config->GetnSpecies()),
8786
rotating_frame(config->GetRotating_Frame()),
8887
transition(config->GetKind_Trans_Model() == TURB_TRANS_MODEL::BC) {
89-
/// TODO: make transition bool more general to consider other transition models
90-
9188
/*--- Setup the Jacobian pointer, we need to return su2double** but we know
9289
* the Jacobian is 1x1 so we use this trick to avoid heap allocation. ---*/
9390
Jacobian_i = &Jacobian_Buffer;

0 commit comments

Comments
 (0)