FEI Package Browser (Single Doxygen Collection) Version of the Day
|
#include <test_Matrix.hpp>
Public Member Functions | |
test_Matrix (MPI_Comm comm) | |
virtual | ~test_Matrix () |
const char * | getName () |
int | runtests () |
fei::SharedPtr< fei::Matrix > | create_matrix (fei::SharedPtr< fei::Factory > factory) |
void | matrix_test1 (fei::SharedPtr< fei::Matrix > mat) |
int | test1 () |
int | test2 () |
int | test3 () |
int | test4 () |
int | serialtest1 () |
int | serialtest2 () |
int | serialtest3 () |
![]() | |
tester (MPI_Comm comm) | |
virtual | ~tester () |
void | setPath (const std::string &path) |
Additional Inherited Members | |
![]() | |
MPI_Comm | comm_ |
int | numProcs_ |
int | localProc_ |
std::string | path_ |
Unit-tester for snl_fei::Matrix.
Definition at line 24 of file test_Matrix.hpp.
test_Matrix::test_Matrix | ( | MPI_Comm | comm | ) |
Definition at line 277 of file test_Matrix.cpp.
|
virtual |
Definition at line 282 of file test_Matrix.cpp.
|
inlinevirtual |
|
virtual |
Implements tester.
Definition at line 286 of file test_Matrix.cpp.
References tester::comm_, fei::create_fei_Factory(), create_matrix(), FEI_COUT, FEI_ENDL, tester::localProc_, and matrix_test1().
fei::SharedPtr< fei::Matrix > test_Matrix::create_matrix | ( | fei::SharedPtr< fei::Factory > | factory | ) |
Definition at line 320 of file test_Matrix.cpp.
References tester::comm_, test_VectorSpace::create_VectorSpace(), FEI_COUT, FEI_ENDL, testData::fieldIDs, testData::ids, testData::idTypes, tester::localProc_, and tester::numProcs_.
Referenced by main(), and runtests().
void test_Matrix::matrix_test1 | ( | fei::SharedPtr< fei::Matrix > | mat | ) |
Definition at line 356 of file test_Matrix.cpp.
References FEI_COUT, FEI_ENDL, and tester::localProc_.
Referenced by main(), and runtests().
int test_Matrix::test1 | ( | ) |
Definition at line 612 of file test_Matrix.cpp.
int test_Matrix::test2 | ( | ) |
Definition at line 617 of file test_Matrix.cpp.
int test_Matrix::test3 | ( | ) |
Definition at line 622 of file test_Matrix.cpp.
References CHK_ERR, tester::comm_, test_MatrixGraph::create_MatrixGraph(), test_VectorSpace::create_VectorSpace(), ERReturn, fei::SharedPtr< T >::get(), testData::ids, testData::idTypes, tester::localProc_, MPI_Barrier, and tester::numProcs_.
int test_Matrix::test4 | ( | ) |
Definition at line 693 of file test_Matrix.cpp.
int test_Matrix::serialtest1 | ( | ) |
Definition at line 397 of file test_Matrix.cpp.
References CHK_ERR, tester::comm_, ERReturn, tester::localProc_, and tester::numProcs_.
int test_Matrix::serialtest2 | ( | ) |
Definition at line 466 of file test_Matrix.cpp.
References CHK_ERR, tester::comm_, ERReturn, testData::ids, testData::idTypes, tester::localProc_, tester::numProcs_, and fei::Matrix::sumIn().
int test_Matrix::serialtest3 | ( | ) |
Definition at line 527 of file test_Matrix.cpp.
References CHK_ERR, tester::comm_, ERReturn, testData::fieldIDs, testData::fieldSizes, testData::ids, testData::idTypes, tester::localProc_, tester::numProcs_, and fei::Matrix::sumIn().