FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
test_FEI.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 _test_FEI_h_
10 #define _test_FEI_h_
11 
12 #include <fei_macros.hpp>
13 
14 #include <fei_defs.h>
15 #include <fei_mpi.h>
16 
17 #include <test_utils/tester.hpp>
18 
19 #include <fei_fwd.hpp>
20 
21 #include <fei_SharedPtr.hpp>
22 
23 class test_FEI : public tester {
24  public:
25  test_FEI(MPI_Comm comm);
26  virtual ~test_FEI();
27 
28  const char* getName()
29  {
30  static const char name[] = "FEI";
31  return((const char*)name);
32  }
33 
34  void setFileName(const char* filename)
35  { fileName_ = filename; }
36 
37  int runtests();
38 
39  int test1();
40 
41  int test2();
42 
43  int test3();
44 
45  int test4();
46 
47  private:
48  fei::SharedPtr<fei::ParameterSet> get_test_parameters();
49 
50  std::string fully_qualified_name(const std::string& fileName);
51 
52  std::string fileName_;
53 };
54 
55 
56 #endif // _test_FEI_h_
virtual const char * getName()=0