PlasCom2  1.0
XPACC Multi-physics simluation application
testing_parallel_program Class Reference

Detailed Description

Definition at line 5 of file ParallelTestingProgram.H.

#include <ParallelTestingProgram.H>

Public Member Functions

 testing_parallel_program ()
 Default constructor. More...
 
 testing_parallel_program (int nargs, char **args)
 Constructor designed to take all commandline args. More...
 
 testing_parallel_program (XPACCCommandLineType &comline, XPACCCommType &incomm)
 Constructor designed to take all commandline args. More...
 
virtual int Initialize ()
 Populates native data structures from commandline. More...
 
int VerbLevel () const
 Returns verbosity level. More...
 
virtual ~testing_parallel_program ()
 Destructor. More...
 
virtual int Run ()
 This function implements the main function executed by the program. More...
 
virtual int Finalize ()
 

Protected Attributes

std::string outFileName
 Name of file for output. More...
 
int verblevel
 Verbosity level. More...
 
std::ofstream * outFilePtr
 Output file stream object for output. More...
 
int ndiv
 Number of partitions for domain. More...
 
Inheritance diagram for testing_parallel_program:
Collaboration diagram for testing_parallel_program:

Constructor & Destructor Documentation

◆ testing_parallel_program() [1/3]

Default constructor.

Definition at line 20 of file ParallelTestingProgram.H.

◆ testing_parallel_program() [2/3]

testing_parallel_program ( int  nargs,
char **  args 
)
inline

Constructor designed to take all commandline args.

Definition at line 29 of file ParallelTestingProgram.H.

◆ testing_parallel_program() [3/3]

testing_parallel_program ( XPACCCommandLineType &  comline,
XPACCCommType &  incomm 
)
inline

Constructor designed to take all commandline args.

Definition at line 38 of file ParallelTestingProgram.H.

◆ ~testing_parallel_program()

virtual ~testing_parallel_program ( )
inlinevirtual

Destructor.

Definition at line 157 of file ParallelTestingProgram.H.

References outFilePtr.

Member Function Documentation

◆ Finalize()

virtual int Finalize ( )
inlinevirtual

Definition at line 171 of file ParallelTestingProgram.H.

◆ Initialize()

virtual int Initialize ( void  )
inlinevirtual

Populates native data structures from commandline.

Definition at line 49 of file ParallelTestingProgram.H.

References plascom2::operators::sbp::Initialize().

Here is the call graph for this function:

◆ Run()

virtual int Run ( )
inlinevirtual

This function implements the main function executed by the program.

Definition at line 170 of file ParallelTestingProgram.H.

◆ VerbLevel()

int VerbLevel ( ) const
inline

Returns verbosity level.

Definition at line 152 of file ParallelTestingProgram.H.

References verblevel.

Member Data Documentation

◆ ndiv

int ndiv
protected

Number of partitions for domain.

Definition at line 15 of file ParallelTestingProgram.H.

◆ outFileName

std::string outFileName
protected

Name of file for output.

Definition at line 9 of file ParallelTestingProgram.H.

◆ outFilePtr

std::ofstream* outFilePtr
protected

Output file stream object for output.

Definition at line 13 of file ParallelTestingProgram.H.

Referenced by ~testing_parallel_program().

◆ verblevel

int verblevel
protected

Verbosity level.

Definition at line 11 of file ParallelTestingProgram.H.

Referenced by VerbLevel().


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