FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
tester.hpp
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_
virtual const char * getName()=0