Skip to content

Commit 280e370

Browse files
authored
Update SU2_CFD/src/fluid/CMutationTCLib.cpp
1 parent 9129ac0 commit 280e370

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

SU2_CFD/src/fluid/CMutationTCLib.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,13 @@ CMutationTCLib::CMutationTCLib(const CConfig* config, unsigned short val_nDim):
6060
for(iSpecies = 0; iSpecies < nSpecies; iSpecies++) MolarMass[iSpecies] = 1000* mix->speciesMw(iSpecies); // x1000 to have Molar Mass in kg/kmol
6161

6262
if (mix->hasElectrons()) {
63-
if(config->GetViscous()) {
64-
SU2_MPI::Error(string("Ionization is not yet operational for a viscous flow in the NEMO solver."),
65-
CURRENT_FUNCTION);}
66-
else { nHeavy = nSpecies-1; nEl = 1;}}
63+
if (config->GetViscous()) {
64+
SU2_MPI::Error("Ionization is not yet operational for a viscous flow in the NEMO solver.", CURRENT_FUNCTION);
65+
} else {
66+
nHeavy = nSpecies-1;
67+
nEl = 1;
68+
}
69+
}
6770
else { nHeavy = nSpecies; nEl = 0; }
6871

6972
}

0 commit comments

Comments
 (0)