FEI Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
test_utils
tester.hpp
Go to the documentation of this file.
1
/*--------------------------------------------------------------------*/
2
/* Copyright 2005 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
#ifndef _tester_hpp_
10
#define _tester_hpp_
11
12
#include <
fei_macros.hpp
>
13
#include <
fei_mpi.h
>
14
15
#include <string>
16
22
class
tester
{
23
public
:
24
tester
(
MPI_Comm
comm);
25
26
virtual
~tester
();
27
30
virtual
const
char
*
getName
() = 0;
31
32
virtual
int
runtests
() = 0;
33
34
void
setPath
(
const
std::string& path);
35
36
protected
:
37
MPI_Comm
comm_
;
38
int
numProcs_
,
localProc_
;
39
std::string
path_
;
40
};
41
42
#endif // _tester_hpp_
tester::comm_
MPI_Comm comm_
Definition:
tester.hpp:37
tester::setPath
void setPath(const std::string &path)
Definition:
tester.cpp:33
tester::runtests
virtual int runtests()=0
tester::localProc_
int localProc_
Definition:
tester.hpp:38
tester::~tester
virtual ~tester()
Definition:
tester.cpp:29
MPI_Comm
#define MPI_Comm
Definition:
fei_mpi.h:56
tester::numProcs_
int numProcs_
Definition:
tester.hpp:38
tester::path_
std::string path_
Definition:
tester.hpp:39
fei_mpi.h
tester::tester
tester(MPI_Comm comm)
Definition:
tester.cpp:17
fei_macros.hpp
tester::getName
virtual const char * getName()=0
tester
Definition:
tester.hpp:22
Generated by
1.8.5