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