libMesh
laspack_matrix_test.C
Go to the documentation of this file.
1 #include <libmesh/libmesh_config.h>
2 
3 #ifdef LIBMESH_HAVE_LASPACK
4 
5 #include <libmesh/laspack_matrix.h>
6 
7 #include "sparse_matrix_test.h"
8 
9 using namespace libMesh;
10 
11 class LaspackMatrixTest : public SparseMatrixTest<LaspackMatrix<Number>>
12 {
13 public:
17  this->libmesh_suite_name = "SparseMatrixTest";
18  else
19  this->libmesh_suite_name = "LaspackMatrixTest";
20  }
21 
22  void setUp()
23  {
24  // LaspackMatrix is serial; we'll tell it to use MPI_COMM_SELF
25  // so we just do these tests embarrassingly parallel
26  my_comm = &comm_self;
27 
28  // LaspackMatrix doesn't support non-square matrices?
29  nonsquare = 0;
30 
32  }
33 
34  CPPUNIT_TEST_SUITE(LaspackMatrixTest);
35 
36  SPARSEMATRIXTEST
37 
38  CPPUNIT_TEST_SUITE_END();
39 
40 private:
41 
43 };
44 
46 
47 #endif
The libMesh namespace provides an interface to certain functionality in the library.
bool summarized_logs_enabled()
Definition: perf_log.h:202
Parallel::Communicator comm_self
libMesh::PerfLog * unitlog
Definition: driver.C:173
The LaspackMatrix class wraps a QMatrix object from the Laspack library.
CPPUNIT_TEST_SUITE_REGISTRATION(LaspackMatrixTest)