FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <test_MatrixGraph.hpp>
Public Member Functions | |
test_MatrixGraph (MPI_Comm comm) | |
virtual | ~test_MatrixGraph () |
const char * | getName () |
int | runtests () |
int | test1 () |
int | serialtest1 () |
int | test2 () |
int | test3 () |
int | test4 () |
int | test5 () |
Public Member Functions inherited from tester | |
tester (MPI_Comm comm) | |
virtual | ~tester () |
void | setPath (const std::string &path) |
Static Public Member Functions | |
static fei::SharedPtr < fei::MatrixGraph > | create_MatrixGraph (testData *testdata, int localProc, int numProcs, bool bothFields, bool nonSymmetric, const char *name, fei::SharedPtr< fei::VectorSpace > vectorSpacePtr, fei::SharedPtr< fei::Factory > factory, const std::string &path, bool turnOnDebugOutput=false) |
Additional Inherited Members | |
Protected Attributes inherited from tester | |
MPI_Comm | comm_ |
int | numProcs_ |
int | localProc_ |
std::string | path_ |
Unit-tester for fei::MatrixGraph.
Definition at line 25 of file test_MatrixGraph.hpp.
test_MatrixGraph::test_MatrixGraph | ( | MPI_Comm | comm | ) |
Definition at line 26 of file test_MatrixGraph.cpp.
|
virtual |
Definition at line 31 of file test_MatrixGraph.cpp.
|
inlinevirtual |
|
virtual |
Implements tester.
Definition at line 192 of file test_MatrixGraph.cpp.
References CHK_ERR, tester::comm_, tester::localProc_, tester::numProcs_, tester::path_, serialtest1(), test1(), test2(), test3(), test4(), test5(), test_MatrixGraph_test6(), test_MatrixGraph_test7(), and test_MatrixGraph_test8().
int test_MatrixGraph::test1 | ( | ) |
Definition at line 233 of file test_MatrixGraph.cpp.
References CHK_ERR, tester::comm_, fei::console_out(), create_MatrixGraph(), test_VectorSpace::create_VectorSpace(), fei::MatrixGraph::createGraph(), ERReturn, FEI_ENDL, fei::VectorSpace::getGlobalIndexOffsets(), testData::ids, fei::MatrixGraph::initComplete(), tester::localProc_, tester::numProcs_, fei::SparseRowGraph::packedColumnIndices, tester::path_, and fei::SparseRowGraph::rowOffsets.
Referenced by runtests().
int test_MatrixGraph::serialtest1 | ( | ) |
Definition at line 212 of file test_MatrixGraph.cpp.
References ERReturn, fei::Pattern::getPatternType(), and fei::Pattern::SIMPLE.
Referenced by runtests().
int test_MatrixGraph::test2 | ( | ) |
Definition at line 322 of file test_MatrixGraph.cpp.
Referenced by runtests().
int test_MatrixGraph::test3 | ( | ) |
Definition at line 343 of file test_MatrixGraph.cpp.
References CHK_ERR, tester::comm_, fei::console_out(), create_MatrixGraph(), test_VectorSpace::create_VectorSpace(), fei::MatrixGraph::createGraph(), ERReturn, FEI_ENDL, fei::SharedPtr< T >::get(), fei::VectorSpace::getGlobalIndexOffsets(), testData::ids, init_nonsymmetric_block(), fei::MatrixGraph::initComplete(), tester::localProc_, tester::numProcs_, fei::SparseRowGraph::packedColumnIndices, tester::path_, fei::SparseRowGraph::rowNumbers, and fei::SparseRowGraph::rowOffsets.
Referenced by runtests().
int test_MatrixGraph::test4 | ( | ) |
Definition at line 440 of file test_MatrixGraph.cpp.
References CHK_ERR, tester::comm_, fei::console_out(), create_MatrixGraph(), test_VectorSpace::create_VectorSpace(), fei::MatrixGraph::createGraph(), ERReturn, FEI_ENDL, fei::VectorSpace::getGlobalIndexOffsets(), testData::ids, fei::MatrixGraph::initComplete(), tester::localProc_, tester::numProcs_, fei::SparseRowGraph::packedColumnIndices, tester::path_, and fei::SparseRowGraph::rowOffsets.
Referenced by runtests().
int test_MatrixGraph::test5 | ( | ) |
Definition at line 530 of file test_MatrixGraph.cpp.
References CHK_ERR, tester::comm_, create_MatrixGraph(), test_VectorSpace::create_VectorSpace(), fei::MatrixGraph::createGraph(), ERReturn, testData::fieldIDs, fei::VectorSpace::getGlobalIndexOffsets(), fei::MatrixGraph::getRowSpace(), testData::ids, testData::idTypes, fei::MatrixGraph::initComplete(), fei::MatrixGraph::initSlaveConstraint(), tester::localProc_, tester::numProcs_, tester::path_, and fei::SparseRowGraph::rowOffsets.
Referenced by runtests().
|
static |
Definition at line 614 of file test_MatrixGraph.cpp.
References fei::ParameterSet::add(), fei::MatrixGraph::Factory::createMatrixGraph(), fei::MatrixGraph::definePattern(), testData::fieldIDs, fei::SharedPtr< T >::get(), testData::ids, testData::idTypes, fei::MatrixGraph::initConnectivity(), fei::MatrixGraph::initConnectivityBlock(), fei::MatrixGraph::setParameters(), and fei::MatrixGraph::setRowSpace().
Referenced by test1(), test_LinearSystem::test2(), test_LinearSystem::test3(), test3(), test_Matrix::test3(), test_LinearSystem::test4(), test4(), test5(), and test_MatrixGraph_test6().