Skip to content

Commit 5766359

Browse files
committed
Merge branch 'feature_directres' of https://github.com/su2code/SU2 into feature_directres
2 parents 67008b4 + b0ba03b commit 5766359

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

SU2_CFD/src/drivers/CDriver.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2684,7 +2684,7 @@ void CDriver::Print_DirectResidual(RECORDING kind_recording) {
26842684
auto configs = config_container[iZone];
26852685

26862686
/*--- Note: the FEM-Flow solvers are availalbe for disc. adjoint runs only for SingleZone. ---*/
2687-
if(configs->GetFluidProblem() || (!multizone && configs->GetFEMSolver())) {
2687+
if (configs->GetFluidProblem() || configs->GetFEMSolver()) {
26882688

26892689
for (unsigned short iVar = 0; iVar < solvers[FLOW_SOL]->GetnVar(); iVar++) {
26902690
if (!addVals)
@@ -2707,7 +2707,6 @@ void CDriver::Print_DirectResidual(RECORDING kind_recording) {
27072707
else RMSTable << log10(solvers[HEAT_SOL]->GetRes_RMS(0));
27082708
}
27092709

2710-
27112710
if (configs->AddRadiation()) {
27122711
if (!addVals) RMSTable.AddColumn("rms_Rad" + iVar_iZone2string(0, iZone), fieldWidth);
27132712
else RMSTable << log10(solvers[RAD_SOL]->GetRes_RMS(0));
@@ -2747,7 +2746,7 @@ void CDriver::Print_DirectResidual(RECORDING kind_recording) {
27472746
if (!addVals) RMSTable.AddColumn("rms_Heat" + iVar_iZone2string(0, iZone), fieldWidth);
27482747
else RMSTable << log10(solvers[HEAT_SOL]->GetRes_RMS(0));
27492748
} else {
2750-
SU2_MPI::Error("Unvalid KindSolver for CDiscAdj-MultiZone/SingleZone-Driver.", CURRENT_FUNCTION);
2749+
SU2_MPI::Error("Invalid KindSolver for CDiscAdj-MultiZone/SingleZone-Driver.", CURRENT_FUNCTION);
27512750
}
27522751
} // loop iZone
27532752

0 commit comments

Comments
 (0)