Skip to content

Commit 7b48ec8

Browse files
committed
Switch variable name from snake_case to lowerCamelCase.
1 parent 7478e13 commit 7b48ec8

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

SU2_CFD/src/output/COutput.cpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ void COutput::LoadData(CGeometry *geometry, CConfig *config, CSolver** solver_co
337337
void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE format, string fileName){
338338

339339
CFileWriter *fileWriter = nullptr;
340-
bool do_write_iter_file = false;
340+
bool doWriteIterFile = false;
341341

342342
/*--- if it is still present, strip the extension (suffix) from the filename ---*/
343343
unsigned short lastindex = fileName.find_last_of('.');
@@ -376,7 +376,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
376376
/*--- If file overwrite is turned off, switch on additional file output
377377
* with the value of 'filename_iter' as file name ---*/
378378
if (!config->GetWrt_Surface_Overwrite())
379-
do_write_iter_file = true;
379+
doWriteIterFile = true;
380380

381381
break;
382382

@@ -404,7 +404,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
404404
/*--- If file overwrite is turned off, switch on additional file output
405405
* with the value of 'filename_iter' as file name ---*/
406406
if (!config->GetWrt_Restart_Overwrite())
407-
do_write_iter_file = true;
407+
doWriteIterFile = true;
408408

409409
break;
410410

@@ -433,7 +433,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
433433
/*--- If file overwrite is turned off, switch on additional file output
434434
* with the value of 'filename_iter' as file name ---*/
435435
if (!config->GetWrt_Restart_Overwrite())
436-
do_write_iter_file = true;
436+
doWriteIterFile = true;
437437

438438
break;
439439

@@ -466,7 +466,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
466466
/*--- If file overwrite is turned off, switch on additional file output
467467
* with the value of 'filename_iter' as file name ---*/
468468
if (!config->GetWrt_Volume_Overwrite())
469-
do_write_iter_file = true;
469+
doWriteIterFile = true;
470470

471471
break;
472472

@@ -499,7 +499,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
499499
/*--- If file overwrite is turned off, switch on additional file output
500500
* with the value of 'filename_iter' as file name ---*/
501501
if (!config->GetWrt_Volume_Overwrite())
502-
do_write_iter_file = true;
502+
doWriteIterFile = true;
503503

504504
break;
505505

@@ -532,7 +532,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
532532
/*--- If file overwrite is turned off, switch on additional file output
533533
* with the value of 'filename_iter' as file name ---*/
534534
if (!config->GetWrt_Volume_Overwrite())
535-
do_write_iter_file = true;
535+
doWriteIterFile = true;
536536

537537
break;
538538

@@ -564,7 +564,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
564564
/*--- If file overwrite is turned off, switch on additional file output
565565
* with the value of 'filename_iter' as file name ---*/
566566
if (!config->GetWrt_Volume_Overwrite())
567-
do_write_iter_file = true;
567+
doWriteIterFile = true;
568568

569569
break;
570570

@@ -596,7 +596,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
596596
/*--- If file overwrite is turned off, switch on additional file output
597597
* with the value of 'filename_iter' as file name ---*/
598598
if (!config->GetWrt_Volume_Overwrite())
599-
do_write_iter_file = true;
599+
doWriteIterFile = true;
600600

601601
break;
602602

@@ -670,7 +670,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
670670
/*--- If file overwrite is turned off, switch on additional file output
671671
* with the value of 'filename_iter' as file name ---*/
672672
if (!config->GetWrt_Volume_Overwrite())
673-
do_write_iter_file = true;
673+
doWriteIterFile = true;
674674

675675
break;
676676

@@ -704,7 +704,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
704704
/*--- If file overwrite is turned off, switch on additional file output
705705
* with the value of 'filename_iter' as file name ---*/
706706
if (!config->GetWrt_Surface_Overwrite())
707-
do_write_iter_file = true;
707+
doWriteIterFile = true;
708708

709709
break;
710710

@@ -738,7 +738,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
738738
/*--- If file overwrite is turned off, switch on additional file output
739739
* with the value of 'filename_iter' as file name ---*/
740740
if (!config->GetWrt_Surface_Overwrite())
741-
do_write_iter_file = true;
741+
doWriteIterFile = true;
742742

743743
break;
744744

@@ -772,7 +772,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
772772
/*--- If file overwrite is turned off, switch on additional file output
773773
* with the value of 'filename_iter' as file name ---*/
774774
if (!config->GetWrt_Surface_Overwrite())
775-
do_write_iter_file = true;
775+
doWriteIterFile = true;
776776

777777
break;
778778

@@ -808,7 +808,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
808808
/*--- If file overwrite is turned off, switch on additional file output
809809
* with the value of 'filename_iter' as file name ---*/
810810
if (!config->GetWrt_Surface_Overwrite())
811-
do_write_iter_file = true;
811+
doWriteIterFile = true;
812812

813813
break;
814814

@@ -844,7 +844,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
844844
/*--- If file overwrite is turned off, switch on additional file output
845845
* with the value of 'filename_iter' as file name ---*/
846846
if (!config->GetWrt_Surface_Overwrite())
847-
do_write_iter_file = true;
847+
doWriteIterFile = true;
848848

849849
break;
850850

@@ -878,7 +878,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
878878
/*--- If file overwrite is turned off, switch on additional file output
879879
* with the value of 'filename_iter' as file name ---*/
880880
if (!config->GetWrt_Surface_Overwrite())
881-
do_write_iter_file = true;
881+
doWriteIterFile = true;
882882

883883
break;
884884

@@ -911,7 +911,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
911911
/*--- If file overwrite is turned off, switch on additional file output
912912
* with the value of 'filename_iter' as file name ---*/
913913
if (!config->GetWrt_Volume_Overwrite())
914-
do_write_iter_file = true;
914+
doWriteIterFile = true;
915915

916916
break;
917917

@@ -945,7 +945,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
945945
/*--- If file overwrite is turned off, switch on additional file output
946946
* with the value of 'filename_iter' as file name ---*/
947947
if (!config->GetWrt_Surface_Overwrite())
948-
do_write_iter_file = true;
948+
doWriteIterFile = true;
949949

950950
break;
951951

@@ -963,7 +963,7 @@ void COutput::WriteToFile(CConfig *config, CGeometry *geometry, OUTPUT_TYPE form
963963

964964
/*--- Write data with iteration number to file ---*/
965965

966-
if (!filename_iter.empty() && do_write_iter_file){
966+
if (!filename_iter.empty() && doWriteIterFile){
967967
fileWriter->WriteData(filename_iter);
968968

969969
/*--- overwrite bandwidth ---*/

0 commit comments

Comments
 (0)