Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
globarg Struct Reference

Holds some global program arguments. More...

Collaboration diagram for globarg:

Public Member Functions

void printInfo ()
 

Public Attributes

bool useTopFile
 A flag to specify that a top file needs to be read. More...
 
bool withGhost
 A flag that specifies that ghost nodes need to be included. More...
 
bool readControlFile
 A flag that specifies that a control file needs to be read. More...
 
std::string cntrlfile
 Filename of the control file. More...
 
std::string topfile
 Filename for the top file. More...
 
std::string fileregx
 Regular expression that describes the files that need to be read. More...
 
std::string outputfile
 The filename of the output file. More...
 

Detailed Description

Holds some global program arguments.

Definition at line 735 of file hdf2plt.C.

Member Function Documentation

void printInfo ( )
inline

Definition at line 745 of file hdf2plt.C.

References cntrlfile, fileregx, outputfile, readControlFile, topfile, useTopFile, and withGhost.

Referenced by main().

746  {
747  std::cout << __DATE__ << std::endl;
748 
749  if( readControlFile )
750  {
751  std::cout << "Read control file: yes\n";
752  std::cout << "Control file: " << cntrlfile << std::endl;
753  }
754  else
755  {
756  std::cout << "Read control file: no\n";
757  std::cout << "File(s): " << fileregx << std::endl;
758  }
759 
760  if( useTopFile )
761  {
762  std::cout << "Use *.top connectivity file: yes\n";
763  std::cout << "Top file: " << topfile << std::endl;
764  }
765  else
766  {
767  std::cout << "Use *.top connectivity file: no\n";
768  }
769 
770  std::cout << "Use ghost nodes: ";
771  (withGhost)? std::cout << "yes\n" : std::cout << "no\n";
772 
773  if( outputfile == "" )
774  std::cout << "Output file: standard out\n";
775  else
776  std::cout << "Output file: " << outputfile << std::endl;
777 
778  }
std::string topfile
Filename for the top file.
Definition: hdf2plt.C:741
std::string outputfile
The filename of the output file.
Definition: hdf2plt.C:743
bool useTopFile
A flag to specify that a top file needs to be read.
Definition: hdf2plt.C:737
std::string cntrlfile
Filename of the control file.
Definition: hdf2plt.C:740
bool withGhost
A flag that specifies that ghost nodes need to be included.
Definition: hdf2plt.C:738
bool readControlFile
A flag that specifies that a control file needs to be read.
Definition: hdf2plt.C:739
std::string fileregx
Regular expression that describes the files that need to be read.
Definition: hdf2plt.C:742

Here is the caller graph for this function:

Member Data Documentation

std::string cntrlfile

Filename of the control file.

Definition at line 740 of file hdf2plt.C.

Referenced by getWindow(), and printInfo().

std::string fileregx

Regular expression that describes the files that need to be read.

Definition at line 742 of file hdf2plt.C.

Referenced by getWindow(), and printInfo().

std::string outputfile

The filename of the output file.

Definition at line 743 of file hdf2plt.C.

Referenced by printInfo(), writePlotFile(), Mesh::writeVtkData(), and writeVtkFiles().

bool readControlFile

A flag that specifies that a control file needs to be read.

Definition at line 739 of file hdf2plt.C.

Referenced by getWindow(), and printInfo().

std::string topfile

Filename for the top file.

Definition at line 741 of file hdf2plt.C.

Referenced by printInfo().

bool useTopFile

A flag to specify that a top file needs to be read.

Definition at line 737 of file hdf2plt.C.

Referenced by printInfo().

bool withGhost

A flag that specifies that ghost nodes need to be included.

Definition at line 738 of file hdf2plt.C.

Referenced by printInfo().


The documentation for this struct was generated from the following file: