FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tester.cpp
Go to the documentation of this file.
1 /*--------------------------------------------------------------------*/
2 /* Copyright 2006 Sandia Corporation. */
3 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
4 /* non-exclusive license for use of this work by or on behalf */
5 /* of the U.S. Government. Export of this program may require */
6 /* a license from the United States Government. */
7 /*--------------------------------------------------------------------*/
8 
9 #include <fei_macros.hpp>
10 
11 #include <test_utils/tester.hpp>
12 
13 #undef fei_file
14 #define fei_file "tester.cpp"
15 #include <fei_ErrMacros.hpp>
16 
18  : comm_(comm),
19  numProcs_(1),
20  localProc_(0),
21  path_()
22 {
23 #ifndef FEI_SER
24  MPI_Comm_rank(comm_, &localProc_);
25  MPI_Comm_size(comm_, &numProcs_);
26 #endif
27 }
28 
30 {
31 }
32 
33 void tester::setPath(const std::string& path)
34 {
35  path_ = path;
36 }
37 
MPI_Comm comm_
Definition: tester.hpp:37
void setPath(const std::string &path)
Definition: tester.cpp:33
int localProc_
Definition: tester.hpp:38
virtual ~tester()
Definition: tester.cpp:29
#define MPI_Comm
Definition: fei_mpi.h:56
int numProcs_
Definition: tester.hpp:38
std::string path_
Definition: tester.hpp:39
tester(MPI_Comm comm)
Definition: tester.cpp:17