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

Public Member Functions | |
| snl_fei_tester (fei::SharedPtr< DataReader > data_reader, MPI_Comm comm, int localProc, int numProcs) | |
| ~snl_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 | |
| void | defineFieldsAndIDTypes () |
| int | initElemBlocks () |
| int | loadElemBlocks () |
| int | initConstraints () |
| int | loadConstraints () |
| void | definePattern (ElemBlock &eb, int &patternID) |
| int | createLibraryInstance (const char *solverName) |
| int | save_block_node_soln (DataReader &data, fei::Vector *vec, const char *solnFileName, int numProcs, int localProc, int solveCounter) |
| int | save_block_elem_soln (DataReader &data, fei::Vector *vec, const char *solnFileName, int numProcs, int localProc, int solveCounter) |
| int | save_multiplier_soln (DataReader &data, fei::Vector *vec, 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) |
Private Attributes | |
| MPI_Comm | comm_ |
| fei::SharedPtr< fei::Factory > | factory_ |
| fei::SharedPtr< fei::VectorSpace > | vecSpace_ |
| fei::SharedPtr< fei::MatrixGraph > | matrixGraph_ |
| fei::SharedPtr< fei::Matrix > | A_ |
| fei::SharedPtr< fei::Vector > | x_ |
| fei::SharedPtr< fei::Vector > | b_ |
| fei::SharedPtr< fei::LinearSystem > | linSys_ |
| LinearSystemCore * | linSysCore_ |
| FiniteElementData * | feData_ |
| fei::SharedPtr< DataReader > | data_ |
| std::vector< int > | idTypes_ |
| int | numPatterns_ |
| int | nodeTypeOffset_ |
| int | elemTypeOffset_ |
| int | constraintTypeOffset_ |
| int | localProc_ |
| int | numProcs_ |
Additional Inherited Members | |
Protected Attributes inherited from feitester | |
| std::string | path_ |
Definition at line 21 of file snl_fei_tester.hpp.
| snl_fei_tester::snl_fei_tester | ( | fei::SharedPtr< DataReader > | data_reader, |
| MPI_Comm | comm, | ||
| int | localProc, | ||
| int | numProcs ) |
Definition at line 31 of file snl_fei_tester.cpp.
References A_, b_, comm_, data_, factory_, feData_, idTypes_, linSys_, linSysCore_, localProc_, matrixGraph_, MPI_Comm, numPatterns_, numProcs_, vecSpace_, and x_.
| snl_fei_tester::~snl_fei_tester | ( | ) |
Definition at line 52 of file snl_fei_tester.cpp.
References feData_, and linSysCore_.
|
inlinevirtual |
Method to obtain a name describing this test.
Implements feitester.
Definition at line 27 of file snl_fei_tester.hpp.
|
virtual |
Implements feitester.
Definition at line 59 of file snl_fei_tester.cpp.
References fei::ParameterSet::add(), fei::utils::char_ptrs_to_strings(), CHK_ERR, comm_, fei::console_out(), fei::create_fei_Factory(), data_, defineFieldsAndIDTypes(), ERReturn, factory_, FEI_ENDL, idTypes_, initConstraints(), initElemBlocks(), matrixGraph_, CommNodeSet::nodeIDs_, nodeTypeOffset_, CommNodeSet::numNodes_, fei::utils::parse_strings(), feitester::path_, CommNodeSet::procs_, CommNodeSet::procsPerNode_, and vecSpace_.
|
virtual |
Implements feitester.
Definition at line 142 of file snl_fei_tester.cpp.
References A_, b_, fei::utils::char_ptrs_to_strings(), CHK_ERR, data_, factory_, BCNodeSet::fieldID_, idTypes_, linSys_, loadConstraints(), loadElemBlocks(), matrixGraph_, BCNodeSet::nodeIDs_, nodeTypeOffset_, BCNodeSet::numNodes_, BCNodeSet::offsetsIntoField_, fei::utils::parse_strings(), fei::MatrixGraph::POINT_ENTRY_GRAPH, BCNodeSet::prescribed_values_, and x_.
|
virtual |
Implements feitester.
Definition at line 195 of file snl_fei_tester.cpp.
References fei::utils::char_ptrs_to_strings(), CHK_ERR, data_, factory_, linSys_, fei::utils::parse_strings(), and x_.
|
virtual |
Implements feitester.
Definition at line 215 of file snl_fei_tester.cpp.
References SolnCheck::checkSolution(), CHK_ERR, comm_, data_, localProc_, MPI_SUCCESS, numProcs_, save_block_elem_soln(), save_block_node_soln(), save_multiplier_soln(), and x_.
|
virtual |
Implements feitester.
Definition at line 118 of file snl_fei_tester.cpp.
References A_, FEI_OSTRINGSTREAM, and numProcs_.
|
virtual |
Implements feitester.
Definition at line 127 of file snl_fei_tester.cpp.
References A_, fei::utils::char_ptrs_to_strings(), factory_, linSys_, matrixGraph_, fei::utils::parse_strings(), and vecSpace_.
|
private |
Definition at line 244 of file snl_fei_tester.cpp.
References constraintTypeOffset_, data_, elemTypeOffset_, idTypes_, nodeTypeOffset_, and vecSpace_.
Referenced by testInitialization().
|
private |
Definition at line 265 of file snl_fei_tester.cpp.
References ElemBlock::blockID_, CHK_ERR, data_, definePattern(), ElemBlock::elemConn_, ElemBlock::elemIDs_, matrixGraph_, ElemBlock::numElements_, and ElemBlock::numNodesPerElement_.
Referenced by testInitialization().
|
private |
Definition at line 293 of file snl_fei_tester.cpp.
References A_, b_, ElemBlock::blockID_, CHK_ERR, data_, ElemBlock::elemIDs_, ElemBlock::elemLoad_, ElemBlock::elemStiff_, ERReturn, matrixGraph_, and ElemBlock::numElements_.
Referenced by testLoading().
|
private |
Definition at line 330 of file snl_fei_tester.cpp.
References CHK_ERR, constraintTypeOffset_, CRSet::crID_, data_, CRSet::fieldIDs_, idTypes_, localProc_, matrixGraph_, CRSet::nodeIDs_, nodeTypeOffset_, CRSet::numNodes_, CRSet::slaveFieldID_, CRSet::slaveNodeID_, CRSet::slaveOffset_, CRSet::values_, and CRSet::weights_.
Referenced by testInitialization().
|
private |
Definition at line 420 of file snl_fei_tester.cpp.
References CHK_ERR, CRSet::crID_, data_, linSys_, CRSet::penValues_, CRSet::values_, and CRSet::weights_.
Referenced by testLoading().
|
private |
Definition at line 448 of file snl_fei_tester.cpp.
References ElemBlock::elemDOFFieldIDs_, elemTypeOffset_, idTypes_, matrixGraph_, ElemBlock::nodalFieldIDs_, nodeTypeOffset_, ElemBlock::numElemDOF_, ElemBlock::numFieldsPerNode_, ElemBlock::numNodesPerElement_, numPatterns_, and fei::sortedListInsert().
Referenced by initElemBlocks().
|
private |
|
private |
Definition at line 503 of file snl_fei_tester.cpp.
References CHK_ERR, fei::console_out(), fei::Vector::copyOutFieldData(), ERReturn, FEI_COUT, FEI_ENDL, FEI_OFSTREAM, FEI_OSTRINGSTREAM, idTypes_, IOS_FLOATFIELD, IOS_SCIENTIFIC, nodeTypeOffset_, and vecSpace_.
Referenced by testCheckResult().
|
private |
Definition at line 570 of file snl_fei_tester.cpp.
References CHK_ERR, fei::console_out(), fei::Vector::copyOutFieldData(), elemTypeOffset_, ERReturn, FEI_ENDL, FEI_OFSTREAM, FEI_OSTRINGSTREAM, idTypes_, and vecSpace_.
Referenced by testCheckResult().
|
private |
Definition at line 631 of file snl_fei_tester.cpp.
References CHK_ERR, comm_, fei::console_out(), constraintTypeOffset_, fei::Vector::copyOut(), ERReturn, FEI_ENDL, FEI_OFSTREAM, FEI_OSTRINGSTREAM, idTypes_, MPI_SUCCESS, and vecSpace_.
Referenced by testCheckResult().
|
private |
|
private |
Definition at line 70 of file snl_fei_tester.hpp.
Referenced by save_multiplier_soln(), snl_fei_tester(), testCheckResult(), and testInitialization().
|
private |
Definition at line 72 of file snl_fei_tester.hpp.
Referenced by setParameter(), snl_fei_tester(), testInitialization(), testLoading(), and testSolve().
|
private |
Definition at line 74 of file snl_fei_tester.hpp.
Referenced by defineFieldsAndIDTypes(), save_block_elem_soln(), save_block_node_soln(), save_multiplier_soln(), setParameter(), snl_fei_tester(), and testInitialization().
|
private |
Definition at line 75 of file snl_fei_tester.hpp.
Referenced by definePattern(), initConstraints(), initElemBlocks(), loadElemBlocks(), setParameter(), snl_fei_tester(), testInitialization(), and testLoading().
|
private |
Definition at line 77 of file snl_fei_tester.hpp.
Referenced by dumpMatrixFiles(), loadElemBlocks(), setParameter(), snl_fei_tester(), and testLoading().
|
private |
Definition at line 78 of file snl_fei_tester.hpp.
Referenced by snl_fei_tester(), testCheckResult(), testLoading(), and testSolve().
|
private |
Definition at line 79 of file snl_fei_tester.hpp.
Referenced by loadElemBlocks(), snl_fei_tester(), and testLoading().
|
private |
Definition at line 81 of file snl_fei_tester.hpp.
Referenced by loadConstraints(), setParameter(), snl_fei_tester(), testLoading(), and testSolve().
|
private |
Definition at line 83 of file snl_fei_tester.hpp.
Referenced by snl_fei_tester(), and ~snl_fei_tester().
|
private |
Definition at line 84 of file snl_fei_tester.hpp.
Referenced by snl_fei_tester(), and ~snl_fei_tester().
|
private |
Definition at line 86 of file snl_fei_tester.hpp.
Referenced by defineFieldsAndIDTypes(), initConstraints(), initElemBlocks(), loadConstraints(), loadElemBlocks(), snl_fei_tester(), testCheckResult(), testInitialization(), testLoading(), and testSolve().
|
private |
Definition at line 88 of file snl_fei_tester.hpp.
Referenced by defineFieldsAndIDTypes(), definePattern(), initConstraints(), save_block_elem_soln(), save_block_node_soln(), save_multiplier_soln(), snl_fei_tester(), testInitialization(), and testLoading().
|
private |
Definition at line 89 of file snl_fei_tester.hpp.
Referenced by definePattern(), and snl_fei_tester().
|
private |
Definition at line 90 of file snl_fei_tester.hpp.
Referenced by defineFieldsAndIDTypes(), definePattern(), initConstraints(), save_block_node_soln(), testInitialization(), and testLoading().
|
private |
Definition at line 90 of file snl_fei_tester.hpp.
Referenced by defineFieldsAndIDTypes(), definePattern(), and save_block_elem_soln().
|
private |
Definition at line 90 of file snl_fei_tester.hpp.
Referenced by defineFieldsAndIDTypes(), initConstraints(), and save_multiplier_soln().
|
private |
Definition at line 92 of file snl_fei_tester.hpp.
Referenced by initConstraints(), snl_fei_tester(), and testCheckResult().
|
private |
Definition at line 92 of file snl_fei_tester.hpp.
Referenced by dumpMatrixFiles(), snl_fei_tester(), and testCheckResult().