tester.hpp

00001 /*--------------------------------------------------------------------*/
00002 /*    Copyright 2005 Sandia Corporation.                              */
00003 /*    Under the terms of Contract DE-AC04-94AL85000, there is a       */
00004 /*    non-exclusive license for use of this work by or on behalf      */
00005 /*    of the U.S. Government.  Export of this program may require     */
00006 /*    a license from the United States Government.                    */
00007 /*--------------------------------------------------------------------*/
00008 
00009 #ifndef _tester_hpp_
00010 #define _tester_hpp_
00011 
00012 #include <fei_macros.hpp>
00013 #include <fei_mpi.h>
00014 
00015 #include <string>
00016 
00022 class tester {
00023  public:
00024   tester(MPI_Comm comm);
00025 
00026   virtual ~tester();
00027 
00030   virtual const char* getName() = 0;
00031 
00032   virtual int runtests() = 0;
00033 
00034   void setPath(const std::string& path);
00035 
00036  protected:
00037   MPI_Comm comm_;
00038   int numProcs_, localProc_;
00039   std::string path_;
00040 };
00041 
00042 #endif // _tester_hpp_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:08:25 2011 for FEI by  doxygen 1.6.3