Skip to content

Commit 7cfe302

Browse files
authored
remove cout line for paraviewVTMFileWriter (#1491)
* remove cout line for paraviewVTMFileWriter * added review suggestions of #1465
1 parent 36be2b8 commit 7cfe302

4 files changed

Lines changed: 5 additions & 7 deletions

File tree

Common/src/CConfig.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2802,7 +2802,7 @@ void CConfig::SetConfig_Options() {
28022802
addUnsignedLongOption("OUTPUT_WRT_FREQ", VolumeWrtFreq, 250);
28032803
/* DESCRIPTION: Volume solution files */
28042804
addEnumListOption("OUTPUT_FILES", nVolumeOutputFiles, VolumeOutputFiles, Output_Map);
2805-
2805+
28062806
/* DESCRIPTION: Using Uncertainty Quantification with SST Turbulence Model */
28072807
addBoolOption("USING_UQ", using_uq, false);
28082808

@@ -8096,7 +8096,7 @@ string CConfig::GetFilename(string filename, string ext, int timeIter) const {
80968096
if (GetTime_Domain()){
80978097
filename = GetUnsteady_FileName(filename, timeIter, ext);
80988098
}
8099-
8099+
81008100
return filename;
81018101
}
81028102

SU2_CFD/src/output/filewriter/CParallelFileWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ bool CFileWriter::WriteMPIString(const string &str, unsigned short processor){
200200

201201
bool CFileWriter::OpenMPIFile(string val_filename){
202202

203-
/*--- We append the pre-defined suffix (extension) to the filename (prefix) ---*/
204-
val_filename.append(fileExt);
203+
/*--- We append the pre-defined suffix (extension) to the filename (prefix) ---*/
204+
val_filename.append(fileExt);
205205

206206
#ifdef HAVE_MPI
207207
int ierr;

SU2_CFD/src/output/filewriter/CParaviewVTMFileWriter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,11 @@ void CParaviewVTMFileWriter::AddDataset(string foldername, string name, string f
9292
/*--- Construct the full file name incl. folder ---*/
9393
/*--- Note that the folder name is simply the filename ---*/
9494

95-
//string fullFilename = folderName + "/zone_" + to_string(iZone) + "/" + file;
9695
string fullFilename = foldername + "/zone_" + to_string(iZone) + "/" + file;
9796

9897
/*--- Create an XML writer and dump data into file ---*/
9998

10099
CParaviewXMLFileWriter XMLWriter(dataSorter);
101-
cout << "writing to XML file "<<fullFilename << endl;
102100
XMLWriter.Write_Data(fullFilename);
103101

104102
/*--- Add the dataset to the vtm file ---*/

config_template.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1650,7 +1650,7 @@ TABULAR_FORMAT= CSV
16501650
% Files to output
16511651
% Possible formats : (TECPLOT_ASCII, TECPLOT, SURFACE_TECPLOT_ASCII,
16521652
% SURFACE_TECPLOT, CSV, SURFACE_CSV, PARAVIEW_ASCII, PARAVIEW_LEGACY, SURFACE_PARAVIEW_ASCII,
1653-
% SURFACE_PARAVIEW_LEGACY, PARAVIEW, SURFACE_PARAVIEW, RESTART_ASCII, RESTART, CGNS, SURFACE_CGNS, STL_ASCII, STL)
1653+
% SURFACE_PARAVIEW_LEGACY, PARAVIEW, SURFACE_PARAVIEW, RESTART_ASCII, RESTART, CGNS, SURFACE_CGNS, STL_ASCII, STL_BINARY)
16541654
% default : (RESTART, PARAVIEW, SURFACE_PARAVIEW)
16551655
OUTPUT_FILES= (RESTART, PARAVIEW, SURFACE_PARAVIEW)
16561656
%

0 commit comments

Comments
 (0)