FEI Version of the Day
Loading...
Searching...
No Matches
feitester.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 _feitester_hpp_
10#define _feitester_hpp_
11
12#include <string>
13
32class feitester {
33 public:
34 feitester() : path_() {}
35 virtual ~feitester(){}
36
39 virtual const char* getName() = 0;
40
41 virtual int testInitialization() = 0;
42
43 virtual int testLoading() = 0;
44
45 virtual int testSolve() = 0;
46
47 virtual int testCheckResult() = 0;
48
49 virtual void dumpMatrixFiles() = 0;
50
51 virtual void setParameter(const char* param) = 0;
52
53 void setPath(const std::string& path)
54 { path_ = path; }
55
56 void setPath(const char* path)
57 { path_ = path; }
58
59 protected:
60 std::string path_;
61};
62
63#endif // _feitester_hpp_
virtual const char * getName()=0