|
FEI Package Browser (Single Doxygen Collection) Version of the Day
|
#include <FEI_tester.hpp>

Public Member Functions | |
| FEI_tester (fei::SharedPtr< DataReader > data_reader, MPI_Comm comm, int localProc, int numProcs, bool useNewFEI=false) | |
| ~FEI_tester () | |
| const char * | getName () |
| int | testInitialization () |
| int | testLoading () |
| int | testSolve () |
| int | testCheckResult () |
| void | dumpMatrixFiles () |
| void | setParameter (const char *param) |
Public Member Functions inherited from feitester | |
| feitester () | |
| virtual | ~feitester () |
| void | setPath (const std::string &path) |
| void | setPath (const char *path) |
Private Member Functions | |
| int | createFEIinstance (const char *solverName) |
| int | setIDlists () |
| int | initializationPhase () |
| int | normalLoadPhase () |
| int | aggregateLoadPhase () |
| int | exerciseResidualNorm () |
| int | exercisePutFunctions () |
| int | save_block_node_soln (DataReader &data, FEI &fei, const char *solnFileName, int numProcs, int localProc, int solveCounter) |
| int | save_block_elem_soln (DataReader &data, FEI &fei, const char *solnFileName, int numProcs, int localProc, int solveCounter) |
| int | save_multiplier_soln (DataReader &data, FEI &fei, const char *solnFileName, int numProcs, int localProc, int solveCounter) |
| int | checkSolution (int localProc, int numProcs, const char *solnFileName, const char *checkFileName, const char *extension, int solveCounter) |
| int | lsc_matrix_check () |
Private Attributes | |
| MPI_Comm | comm_ |
| fei::SharedPtr< FEI > | fei_ |
| fei::SharedPtr< LibraryWrapper > | wrapper_ |
| fei::SharedPtr< DataReader > | data_ |
| int | localProc_ |
| int | numProcs_ |
| int | numMatrices |
| int * | matrixIDs |
| int | numRHSs |
| int * | rhsIDs |
| bool | useNewFEI_ |
Additional Inherited Members | |
Protected Attributes inherited from feitester | |
| std::string | path_ |
Definition at line 25 of file FEI_tester.hpp.
| FEI_tester::FEI_tester | ( | fei::SharedPtr< DataReader > | data_reader, |
| MPI_Comm | comm, | ||
| int | localProc, | ||
| int | numProcs, | ||
| bool | useNewFEI = false ) |
Definition at line 37 of file FEI_tester.cpp.
References comm_, data_, fei_, localProc_, matrixIDs, MPI_Comm, numMatrices, numProcs_, numRHSs, rhsIDs, useNewFEI_, and wrapper_.
| FEI_tester::~FEI_tester | ( | ) |
Definition at line 54 of file FEI_tester.cpp.
|
inlinevirtual |
Method to obtain a name describing this test.
Implements feitester.
Definition at line 31 of file FEI_tester.hpp.
|
virtual |
Implements feitester.
Definition at line 61 of file FEI_tester.cpp.
References ElemBlock::blockID_, CHK_ERR, createFEIinstance(), data_, ERReturn, fei_, FEI_AGGREGATE_SUM, FEI_COUT, FEI_ENDL, initializationPhase(), and setIDlists().
|
virtual |
Implements feitester.
Definition at line 101 of file FEI_tester.cpp.
References aggregateLoadPhase(), CHK_ERR, data_, exercisePutFunctions(), exerciseResidualNorm(), fei_, FEI_AGGREGATE_SUM, FEI_SINGLE_SYSTEM, and normalLoadPhase().
|
virtual |
Implements feitester.
Definition at line 130 of file FEI_tester.cpp.
References CHK_ERR, data_, exerciseResidualNorm(), fei_, FEI_COUT, FEI_ENDL, and localProc_.
|
virtual |
Implements feitester.
Definition at line 171 of file FEI_tester.cpp.
References SolnCheck::checkSolution(), CHK_ERR, comm_, data_, ERReturn, fei_, localProc_, lsc_matrix_check(), MPI_SUCCESS, numProcs_, save_block_elem_soln(), save_block_node_soln(), and save_multiplier_soln().
|
virtual |
Implements feitester.
Definition at line 161 of file FEI_tester.cpp.
|
virtual |
Implements feitester.
Definition at line 166 of file FEI_tester.cpp.
|
private |
Definition at line 210 of file FEI_tester.cpp.
References comm_, fei::console_out(), fei::create_LibraryWrapper(), ERReturn, fei_, FEI_ENDL, FEI_Implementation, useNewFEI_, and wrapper_.
Referenced by testInitialization().
|
private |
Definition at line 235 of file FEI_tester.cpp.
References CHK_ERR, data_, fei_, snl_fei::getIntParamValue(), matrixIDs, numMatrices, numRHSs, and rhsIDs.
Referenced by testInitialization().
|
private |
Definition at line 256 of file FEI_tester.cpp.
References ElemBlock::blockID_, CHK_ERR, CRSet::crID_, data_, ElemBlock::elemConn_, ElemBlock::elemDOFFieldIDs_, ElemBlock::elemIDs_, fei_, FEI_AGGREGATE_SUM, FEI_COUT, FEI_ENDL, FEI_SINGLE_SYSTEM, CRSet::fieldIDs_, ElemBlock::interleaveStrategy_, ElemBlock::nodalFieldIDs_, CommNodeSet::nodeIDs_, CRSet::nodeIDs_, ElemBlock::numElemDOF_, ElemBlock::numElements_, ElemBlock::numFieldsPerNode_, CommNodeSet::numNodes_, CRSet::numNodes_, ElemBlock::numNodesPerElement_, CommNodeSet::procs_, CommNodeSet::procsPerNode_, CRSet::slaveFieldID_, CRSet::slaveNodeID_, CRSet::slaveOffset_, CRSet::values_, and CRSet::weights_.
Referenced by testInitialization().
|
private |
Definition at line 339 of file FEI_tester.cpp.
References ElemBlock::blockID_, CHK_ERR, CRSet::crID_, data_, ElemBlock::elemConn_, ElemBlock::elemFormat_, ElemBlock::elemIDs_, ElemBlock::elemLoad_, ElemBlock::elemStiff_, fei_, BCNodeSet::fieldID_, CRSet::fieldIDs_, BCNodeSet::nodeIDs_, CRSet::nodeIDs_, ElemBlock::numElements_, BCNodeSet::numNodes_, CRSet::numNodes_, BCNodeSet::offsetsIntoField_, CRSet::penValues_, BCNodeSet::prescribed_values_, CRSet::values_, and CRSet::weights_.
Referenced by testLoading().
|
private |
Definition at line 412 of file FEI_tester.cpp.
References ElemBlock::blockID_, CHK_ERR, data_, ElemBlock::elemConn_, ElemBlock::elemFormat_, ElemBlock::elemIDs_, ElemBlock::elemLoad_, ElemBlock::elemStiff_, fei_, BCNodeSet::fieldID_, matrixIDs, BCNodeSet::nodeIDs_, ElemBlock::numElements_, numMatrices, BCNodeSet::numNodes_, numRHSs, BCNodeSet::offsetsIntoField_, BCNodeSet::prescribed_values_, and rhsIDs.
Referenced by testLoading().
|
private |
Definition at line 476 of file FEI_tester.cpp.
References CHK_ERR, data_, and fei_.
Referenced by testLoading(), and testSolve().
|
private |
Definition at line 502 of file FEI_tester.cpp.
References CHK_ERR, data_, and fei_.
Referenced by testLoading().
|
private |
Definition at line 526 of file FEI_tester.cpp.
References CHK_ERR, ERReturn, FEI_COUT, FEI_ENDL, FEI_OFSTREAM, FEI_OSTRINGSTREAM, DataReader::fieldSizes_, IOS_FLOATFIELD, IOS_SCIENTIFIC, and DataReader::numFields_.
Referenced by testCheckResult().
|
private |
Definition at line 583 of file FEI_tester.cpp.
References ElemBlock::blockID_, CHK_ERR, DataReader::elemBlocks_, FEI_COUT, FEI_ENDL, FEI_OFSTREAM, FEI_OSTRINGSTREAM, and DataReader::numElemBlocks_.
Referenced by testCheckResult().
|
private |
Definition at line 654 of file FEI_tester.cpp.
References CHK_ERR, comm_, data_, ERReturn, FEI_COUT, FEI_ENDL, FEI_OFSTREAM, FEI_OSTRINGSTREAM, and MPI_SUCCESS.
Referenced by testCheckResult().
|
private |
|
private |
Definition at line 718 of file FEI_tester.cpp.
References CHK_ERR, SolnCheck::compareMatrices(), data_, fei_test_utils::dirname(), FEI_COUT, FEI_ENDL, FEI_OSTRINGSTREAM, localProc_, numProcs_, and SolnCheck::readMatrix().
Referenced by testCheckResult().
|
private |
Definition at line 76 of file FEI_tester.hpp.
Referenced by createFEIinstance(), FEI_tester(), save_multiplier_soln(), and testCheckResult().
|
private |
Definition at line 78 of file FEI_tester.hpp.
Referenced by aggregateLoadPhase(), createFEIinstance(), exercisePutFunctions(), exerciseResidualNorm(), FEI_tester(), initializationPhase(), normalLoadPhase(), setIDlists(), testCheckResult(), testInitialization(), testLoading(), and testSolve().
|
private |
Definition at line 80 of file FEI_tester.hpp.
Referenced by createFEIinstance(), and FEI_tester().
|
private |
Definition at line 82 of file FEI_tester.hpp.
Referenced by aggregateLoadPhase(), exercisePutFunctions(), exerciseResidualNorm(), FEI_tester(), initializationPhase(), lsc_matrix_check(), normalLoadPhase(), save_multiplier_soln(), setIDlists(), testCheckResult(), testInitialization(), testLoading(), and testSolve().
|
private |
Definition at line 84 of file FEI_tester.hpp.
Referenced by FEI_tester(), lsc_matrix_check(), testCheckResult(), and testSolve().
|
private |
Definition at line 84 of file FEI_tester.hpp.
Referenced by FEI_tester(), lsc_matrix_check(), and testCheckResult().
|
private |
Definition at line 86 of file FEI_tester.hpp.
Referenced by aggregateLoadPhase(), FEI_tester(), and setIDlists().
|
private |
Definition at line 87 of file FEI_tester.hpp.
Referenced by aggregateLoadPhase(), FEI_tester(), setIDlists(), and ~FEI_tester().
|
private |
Definition at line 88 of file FEI_tester.hpp.
Referenced by aggregateLoadPhase(), FEI_tester(), and setIDlists().
|
private |
Definition at line 89 of file FEI_tester.hpp.
Referenced by aggregateLoadPhase(), FEI_tester(), setIDlists(), and ~FEI_tester().
|
private |
Definition at line 90 of file FEI_tester.hpp.
Referenced by createFEIinstance(), and FEI_tester().