@@ -1260,22 +1260,22 @@ void COutputLegacy::SetConvHistory_Body(ofstream *ConvHist_file,
12601260 /* --- We maintain the name, as it is an input of the function ---*/
12611261 /* --- dynamic determines if the problem is, or not, time dependent ---*/
12621262 bool dynamic = (config[val_iZone]->GetTime_Domain ()); // Dynamic simulations.
1263- bool In_NoDynamic = (!DualTime_Iteration && (iExtIter % config[val_iZone]->GetScreen_Wrt_Freq (2 ) == 0 ));;
1264- bool In_Dynamic_0 = (DualTime_Iteration && (iIntIter % config[val_iZone]->GetScreen_Wrt_Freq (0 ) == 0 ));;
1263+ bool In_NoDynamic = (!DualTime_Iteration && (iExtIter % config[val_iZone]->GetScreen_Wrt_Freq (2 ) == 0 ));
1264+ bool In_Dynamic_0 = (DualTime_Iteration && (iIntIter % config[val_iZone]->GetScreen_Wrt_Freq (0 ) == 0 ));
12651265 bool In_Dynamic_1 = (!DualTime_Iteration && nonlinear_analysis);
1266- bool In_Dynamic_2 = (nonlinear_analysis && DualTime_Iteration) && (iExtIter % config[val_iZone]->GetScreen_Wrt_Freq (2 ) == 0 )); ;
1267- bool In_Dynamic_3 = (nonlinear_analysis && !DualTime_Iteration) && (iExtIter % config[val_iZone]->GetScreen_Wrt_Freq (2 ) == 0 )); ;
1266+ bool In_Dynamic_2 = (nonlinear_analysis && DualTime_Iteration && (iExtIter % config[val_iZone]->GetScreen_Wrt_Freq (2 ) == 0 ));
1267+ bool In_Dynamic_3 = (nonlinear_analysis && !DualTime_Iteration && (iExtIter % config[val_iZone]->GetScreen_Wrt_Freq (2 ) == 0 ));
12681268
12691269 bool write_heads;
12701270 if (Unsteady) write_heads = (iIntIter == 0 );
1271- else write_heads = (((iExtIter % (config[val_iZone]->GetScreen_Wrt_Freq (2 )*40 )) == 0 ));;
1271+ else write_heads = (((iExtIter % (config[val_iZone]->GetScreen_Wrt_Freq (2 )*40 )) == 0 ));
12721272
1273- bool write_turbo = (((iExtIter % (config[val_iZone]->GetScreen_Wrt_Freq (2 )*40 )) == 0 ) || (iExtIter == (config[val_iZone]->GetnInner_Iter () -1 )));;
1273+ bool write_turbo = (((iExtIter % (config[val_iZone]->GetScreen_Wrt_Freq (2 )*40 )) == 0 ) || (iExtIter == (config[val_iZone]->GetnInner_Iter () -1 )));
12741274
12751275 /* --- Analogous for dynamic problems (as of now I separate the problems, it may be worthy to do all together later on ---*/
12761276 bool write_heads_FEM;
12771277 if (nonlinear_analysis) write_heads_FEM = (iIntIter == 0 );
1278- else write_heads_FEM = (((iExtIter % (config[val_iZone]->GetScreen_Wrt_Freq (2 )*40 )) == 0 ));;
1278+ else write_heads_FEM = (((iExtIter % (config[val_iZone]->GetScreen_Wrt_Freq (2 )*40 )) == 0 ));
12791279
12801280 if ( (!fem && ((In_NoDualTime || In_DualTime_0 || In_DualTime_1) && (In_NoDualTime || In_DualTime_2 || In_DualTime_3))) ||
12811281 (fem && ( (In_NoDynamic || In_Dynamic_0 || In_Dynamic_1) && (In_NoDynamic || In_Dynamic_2 || In_Dynamic_3)))
0 commit comments