|
libMesh
|
#include <sparse_matrix_test.h>
Public Member Functions | |
| void | setUp () |
| void | tearDown () |
| void | setValues () |
| void | testValues () |
| void | testGetAndSet () |
| void | testReadMatlab (const std::string &filename) |
| void | testReadMatlab1 () |
| void | testReadMatlab2 () |
| void | testReadMatlab4 () |
| void | testReadHDF5 () |
| void | testTransposeNorms () |
| void | testWriteAndRead (const std::string &filename) |
| void | testWriteAndReadHDF5 () |
| void | testWriteAndReadMatlab () |
| void | testWriteAndReadZippedMatlab () |
| void | testClone () |
Protected Attributes | |
| std::string | libmesh_suite_name |
| libMesh::Parallel::Communicator * | my_comm = nullptr |
| std::unique_ptr< DerivedClass > | matrix |
| libMesh::numeric_index_type | nonsquare = 1 |
| libMesh::numeric_index_type | local_m |
| libMesh::numeric_index_type | local_n |
| libMesh::numeric_index_type | global_m |
| libMesh::numeric_index_type | global_n |
| const libMesh::Real | _tolerance = libMesh::TOLERANCE * libMesh::TOLERANCE |
Definition at line 49 of file sparse_matrix_test.h.
|
inline |
Definition at line 53 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::global_m, SparseMatrixTest< DerivedClass >::global_n, SparseMatrixTest< DerivedClass >::local_m, SparseMatrixTest< DerivedClass >::local_n, SparseMatrixTest< DerivedClass >::matrix, SparseMatrixTest< DerivedClass >::my_comm, SparseMatrixTest< DerivedClass >::nonsquare, libMesh::Parallel::Communicator::rank(), libMesh::Parallel::Communicator::size(), and TestCommWorld.
|
inline |
Definition at line 93 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::local_m, SparseMatrixTest< DerivedClass >::local_n, libMesh::make_range(), SparseMatrixTest< DerivedClass >::matrix, SparseMatrixTest< DerivedClass >::my_comm, libMesh::Parallel::Communicator::rank(), and libMesh::DenseMatrix< T >::zero().
Referenced by SparseMatrixTest< DerivedClass >::testClone(), SparseMatrixTest< DerivedClass >::testGetAndSet(), SparseMatrixTest< DerivedClass >::testTransposeNorms(), and SparseMatrixTest< DerivedClass >::testWriteAndRead().
|
inline |
Definition at line 90 of file sparse_matrix_test.h.
|
inline |
Definition at line 296 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::_tolerance, SparseMatrixTest< DerivedClass >::matrix, and SparseMatrixTest< DerivedClass >::setValues().
|
inline |
Definition at line 153 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::setValues(), and SparseMatrixTest< DerivedClass >::testValues().
|
inline |
Definition at line 209 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::matrix, and SparseMatrixTest< DerivedClass >::my_comm.
|
inline |
Definition at line 163 of file sparse_matrix_test.h.
References libMesh::LASPACK_SOLVERS, SparseMatrixTest< DerivedClass >::matrix, and SparseMatrixTest< DerivedClass >::my_comm.
Referenced by SparseMatrixTest< DerivedClass >::testReadMatlab1(), SparseMatrixTest< DerivedClass >::testReadMatlab2(), and SparseMatrixTest< DerivedClass >::testReadMatlab4().
|
inline |
Definition at line 187 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::testReadMatlab().
|
inline |
Definition at line 194 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::testReadMatlab().
|
inline |
Definition at line 201 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::testReadMatlab().
|
inline |
Definition at line 225 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::_tolerance, SparseMatrixTest< DerivedClass >::matrix, SparseMatrixTest< DerivedClass >::my_comm, and SparseMatrixTest< DerivedClass >::setValues().
|
inline |
Definition at line 113 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::_tolerance, libMesh::index_range(), libMesh::make_range(), SparseMatrixTest< DerivedClass >::matrix, SparseMatrixTest< DerivedClass >::my_comm, and libMesh::Parallel::Communicator::rank().
Referenced by SparseMatrixTest< DerivedClass >::testGetAndSet(), and SparseMatrixTest< DerivedClass >::testWriteAndRead().
|
inline |
Definition at line 238 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::matrix, SparseMatrixTest< DerivedClass >::setValues(), TestCommWorld, and SparseMatrixTest< DerivedClass >::testValues().
Referenced by SparseMatrixTest< DerivedClass >::testWriteAndReadHDF5(), SparseMatrixTest< DerivedClass >::testWriteAndReadMatlab(), and SparseMatrixTest< DerivedClass >::testWriteAndReadZippedMatlab().
|
inline |
Definition at line 271 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::testWriteAndRead().
|
inline |
Definition at line 282 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::testWriteAndRead().
|
inline |
Definition at line 289 of file sparse_matrix_test.h.
References SparseMatrixTest< DerivedClass >::testWriteAndRead().
|
protected |
Definition at line 351 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::testClone(), SparseMatrixTest< DerivedClass >::testTransposeNorms(), and SparseMatrixTest< DerivedClass >::testValues().
|
protected |
Definition at line 349 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::setUp().
|
protected |
Definition at line 349 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::setUp().
|
protected |
Definition at line 341 of file sparse_matrix_test.h.
|
protected |
Definition at line 348 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::setUp(), and SparseMatrixTest< DerivedClass >::setValues().
|
protected |
Definition at line 348 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::setUp(), and SparseMatrixTest< DerivedClass >::setValues().
|
protected |
Definition at line 345 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::setUp(), SparseMatrixTest< DerivedClass >::setValues(), SparseMatrixTest< DerivedClass >::testClone(), SparseMatrixTest< DerivedClass >::testReadHDF5(), SparseMatrixTest< DerivedClass >::testReadMatlab(), SparseMatrixTest< DerivedClass >::testTransposeNorms(), SparseMatrixTest< DerivedClass >::testValues(), and SparseMatrixTest< DerivedClass >::testWriteAndRead().
|
protected |
Definition at line 343 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::setUp(), SparseMatrixTest< DerivedClass >::setValues(), SparseMatrixTest< DerivedClass >::testReadHDF5(), SparseMatrixTest< DerivedClass >::testReadMatlab(), SparseMatrixTest< DerivedClass >::testTransposeNorms(), and SparseMatrixTest< DerivedClass >::testValues().
|
protected |
Definition at line 347 of file sparse_matrix_test.h.
Referenced by SparseMatrixTest< DerivedClass >::setUp().