feitester.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 _feitester_hpp_
00010 #define _feitester_hpp_
00011 
00012 #include <string>
00013 
00032 class feitester {
00033  public:
00034   feitester() : path_() {}
00035   virtual ~feitester(){}
00036 
00039   virtual const char* getName() = 0;
00040 
00041   virtual int testInitialization() = 0;
00042 
00043   virtual int testLoading() = 0;
00044 
00045   virtual int testSolve() = 0;
00046 
00047   virtual int testCheckResult() = 0;
00048 
00049   virtual void dumpMatrixFiles() = 0;
00050 
00051   virtual void setParameter(const char* param) = 0;
00052 
00053   void setPath(const std::string& path)
00054   { path_ = path; }
00055 
00056   void setPath(const char* path)
00057   { path_ = path; }
00058 
00059  protected:
00060   std::string path_;
00061 };
00062 
00063 #endif // _feitester_hpp_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:08:24 2011 for FEI by  doxygen 1.6.3