@@ -61,7 +61,7 @@ CFlowCompOutput::CFlowCompOutput(const CConfig *config, unsigned short nDim) : C
6161 auto notFound = requestedVolumeFields.end ();
6262 if (find (requestedVolumeFields.begin (), notFound, string (" GRID_VELOCITY" )) == notFound) {
6363 requestedVolumeFields.emplace_back (" GRID_VELOCITY" );
64- nRequestedVolumeFields ++;
64+ nRequestedVolumeFields++;
6565 }
6666 }
6767
@@ -219,7 +219,7 @@ void CFlowCompOutput::SetVolumeOutputFields(CConfig *config){
219219 AddVolumeOutput (" DENSITY" , " Density" , " SOLUTION" , " Density" );
220220 AddVolumeOutput (" MOMENTUM-X" , " Momentum_x" , " SOLUTION" , " x-component of the momentum vector" );
221221 AddVolumeOutput (" MOMENTUM-Y" , " Momentum_y" , " SOLUTION" , " y-component of the momentum vector" );
222-
222+
223223 if (nDim == 3 )
224224 AddVolumeOutput (" MOMENTUM-Z" , " Momentum_z" , " SOLUTION" , " z-component of the momentum vector" );
225225 AddVolumeOutput (" ENERGY" , " Energy" , " SOLUTION" , " Energy" );
@@ -241,7 +241,7 @@ void CFlowCompOutput::SetVolumeOutputFields(CConfig *config){
241241 AddVolumeOutput (" PRESSURE_COEFF" , " Pressure_Coefficient" , " PRIMITIVE" , " Pressure coefficient" );
242242 AddVolumeOutput (" VELOCITY-X" , " Velocity_x" , " PRIMITIVE" , " x-component of the velocity vector" );
243243 AddVolumeOutput (" VELOCITY-Y" , " Velocity_y" , " PRIMITIVE" , " y-component of the velocity vector" );
244-
244+
245245 if (nDim == 3 )
246246 AddVolumeOutput (" VELOCITY-Z" , " Velocity_z" , " PRIMITIVE" , " z-component of the velocity vector" );
247247
@@ -525,7 +525,7 @@ void CFlowCompOutput::SetTurboPerformance_Output(std::shared_ptr<CTurboOutput> T
525525
526526 for (unsigned short iZone = 0 ; iZone <= config->GetnZone ()-1 ; iZone++) {
527527 auto nSpan = config->GetnSpan_iZones (iZone);
528- const auto & BladePerf = BladePerformance.at (iZone).at (nSpan);
528+ const auto & BladePerf = BladePerformance.at (iZone).at (nSpan);
529529
530530 TurboInOut<<" BLADE ROW INDEX " <<iZone <<" " ;
531531 TurboInOut.PrintFooter ();
@@ -772,7 +772,7 @@ void CFlowCompOutput::WriteTurboSpanwisePerformance(std::shared_ptr<CTurboOutput
772772 file.width (30 ); file << BladePerf->GetInletState ().GetVelocity ()[iDim]*config[ZONE_0]->GetVelocity_Ref ();
773773 }
774774 file.width (30 ); file << BladePerf->GetInletState ().GetVelocityValue ()*config[ZONE_0]->GetVelocity_Ref ();
775- // This captures NaNs
775+ // This captures NaNs
776776 if (isnan (BladePerf->GetInletState ().GetAbsFlowAngle ())){
777777 file.width (30 ); file << " 0.0000" ;
778778 }
@@ -792,11 +792,11 @@ void CFlowCompOutput::WriteTurboSpanwisePerformance(std::shared_ptr<CTurboOutput
792792
793793 /* --- Writing Span wise outflow thermodynamic quantities. ---*/
794794 spanwise_performance_filename = " TURBOMACHINERY/outflow_spanwise_kinematic_values" ;
795- if (nZone > 1 ) {
796- spanwise_performance_filename.append (" _" + std::to_string (val_iZone) + " .dat" );
797- } else {
798- spanwise_performance_filename.append (" .dat" );
799- }
795+ if (nZone > 1 ) {
796+ spanwise_performance_filename.append (" _" + std::to_string (val_iZone) + " .dat" );
797+ } else {
798+ spanwise_performance_filename.append (" .dat" );
799+ }
800800 file.open (spanwise_performance_filename.data (), ios::out | ios::trunc);
801801 file.setf (ios::scientific);
802802 file.precision (12 );
0 commit comments