FEI Version of the Day
test_FEI.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 _test_FEI_h_
00010 #define _test_FEI_h_
00011 
00012 #include <fei_macros.hpp>
00013 
00014 #include <fei_defs.h>
00015 #include <fei_mpi.h>
00016 
00017 #include <test_utils/tester.hpp>
00018 
00019 #include <fei_fwd.hpp>
00020 
00021 #include <fei_SharedPtr.hpp>
00022 
00023 class test_FEI : public tester {
00024  public:
00025   test_FEI(MPI_Comm comm);
00026   virtual ~test_FEI();
00027 
00028   const char* getName()
00029     {
00030       static const char name[] = "FEI";
00031       return((const char*)name);
00032     }
00033 
00034   void setFileName(const char* filename)
00035   { fileName_ = filename; }
00036 
00037   int runtests();
00038 
00039   int test1();
00040 
00041   int test2();
00042 
00043   int test3();
00044 
00045   int test4();
00046 
00047  private:
00048   fei::SharedPtr<fei::ParameterSet> get_test_parameters();
00049 
00050   std::string fully_qualified_name(const std::string& fileName);
00051 
00052   std::string fileName_;
00053 };
00054 
00055 
00056 #endif // _test_FEI_h_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends