FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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
22class 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:
39 std::string path_;
40};
41
42#endif // _tester_hpp_
virtual const char * getName()=0
std::string path_
Definition: tester.hpp:39
virtual int runtests()=0
int numProcs_
Definition: tester.hpp:38
MPI_Comm comm_
Definition: tester.hpp:37
int localProc_
Definition: tester.hpp:38
virtual ~tester()
Definition: tester.cpp:29
void setPath(const std::string &path)
Definition: tester.cpp:33
#define MPI_Comm
Definition: fei_mpi.h:56