FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
test_VectorSpace.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_VectorSpace_h_
10 #define _test_VectorSpace_h_
11 
12 #include <fei_macros.hpp>
13 #include <fei_SharedPtr.hpp>
14 
15 #include <fei_defs.h>
16 
17 #include <test_utils/tester.hpp>
18 
19 #include <test_utils/testData.hpp>
20 
21 #include <fei_fwd.hpp>
22 
25 class test_VectorSpace : public tester {
26  public:
27  test_VectorSpace(MPI_Comm comm);
28  virtual ~test_VectorSpace();
29 
30  const char* getName()
31  {
32  static const char name[] = "fei::VectorSpace";
33  return((const char*)name);
34  }
35 
36  int runtests();
37 
38  int test0();
39 
40  int test1();
41 
42  int test2();
43 
44  int test3();
45 
46  int test4();
47 
48  static fei::SharedPtr<fei::VectorSpace> create_VectorSpace(MPI_Comm comm);
49 
50  static fei::SharedPtr<fei::VectorSpace> create_VectorSpace(MPI_Comm comm,
51  testData* testdata,
52  int localProc, int numProcs,
53  bool defineBothFields, bool initSolnBothFields,
54  const char* name,
56  bool turnOnDebugOutput=false);
57 };
58 
59 #endif // _test_VectorSpace_h_
const char * getName()