FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FEI_tester Class Reference

#include <FEI_tester.hpp>

Inheritance diagram for FEI_tester:
Inheritance graph
[legend]

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< FEIfei_
 
fei::SharedPtr< LibraryWrapperwrapper_
 
fei::SharedPtr< DataReaderdata_
 
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_
 

Detailed Description

Definition at line 25 of file FEI_tester.hpp.

Constructor & Destructor Documentation

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.

FEI_tester::~FEI_tester ( )

Definition at line 54 of file FEI_tester.cpp.

References matrixIDs, and rhsIDs.

Member Function Documentation

const char* FEI_tester::getName ( )
inlinevirtual

Method to obtain a name describing this test.

Implements feitester.

Definition at line 31 of file FEI_tester.hpp.

int FEI_tester::testInitialization ( )
virtual
int FEI_tester::testLoading ( )
virtual
int FEI_tester::testSolve ( )
virtual
int FEI_tester::testCheckResult ( )
virtual
void FEI_tester::dumpMatrixFiles ( )
virtual

Implements feitester.

Definition at line 161 of file FEI_tester.cpp.

void FEI_tester::setParameter ( const char *  param)
virtual

Implements feitester.

Definition at line 166 of file FEI_tester.cpp.

int FEI_tester::createFEIinstance ( const char *  solverName)
private
int FEI_tester::setIDlists ( )
private
int FEI_tester::initializationPhase ( )
private
int FEI_tester::normalLoadPhase ( )
private
int FEI_tester::aggregateLoadPhase ( )
private
int FEI_tester::exerciseResidualNorm ( )
private
int FEI_tester::exercisePutFunctions ( )
private
int FEI_tester::save_block_node_soln ( DataReader data,
FEI fei,
const char *  solnFileName,
int  numProcs,
int  localProc,
int  solveCounter 
)
private
int FEI_tester::save_block_elem_soln ( DataReader data,
FEI fei,
const char *  solnFileName,
int  numProcs,
int  localProc,
int  solveCounter 
)
private
int FEI_tester::save_multiplier_soln ( DataReader data,
FEI fei,
const char *  solnFileName,
int  numProcs,
int  localProc,
int  solveCounter 
)
private
int FEI_tester::checkSolution ( int  localProc,
int  numProcs,
const char *  solnFileName,
const char *  checkFileName,
const char *  extension,
int  solveCounter 
)
private
int FEI_tester::lsc_matrix_check ( )
private

Member Data Documentation

MPI_Comm FEI_tester::comm_
private

Definition at line 76 of file FEI_tester.hpp.

Referenced by createFEIinstance(), save_multiplier_soln(), and testCheckResult().

fei::SharedPtr<FEI> FEI_tester::fei_
private
fei::SharedPtr<LibraryWrapper> FEI_tester::wrapper_
private

Definition at line 80 of file FEI_tester.hpp.

Referenced by createFEIinstance().

fei::SharedPtr<DataReader> FEI_tester::data_
private
int FEI_tester::localProc_
private

Definition at line 84 of file FEI_tester.hpp.

Referenced by lsc_matrix_check(), testCheckResult(), and testSolve().

int FEI_tester::numProcs_
private

Definition at line 84 of file FEI_tester.hpp.

Referenced by lsc_matrix_check(), and testCheckResult().

int FEI_tester::numMatrices
private

Definition at line 86 of file FEI_tester.hpp.

Referenced by aggregateLoadPhase(), and setIDlists().

int* FEI_tester::matrixIDs
private

Definition at line 87 of file FEI_tester.hpp.

Referenced by aggregateLoadPhase(), setIDlists(), and ~FEI_tester().

int FEI_tester::numRHSs
private

Definition at line 88 of file FEI_tester.hpp.

Referenced by aggregateLoadPhase(), and setIDlists().

int* FEI_tester::rhsIDs
private

Definition at line 89 of file FEI_tester.hpp.

Referenced by aggregateLoadPhase(), setIDlists(), and ~FEI_tester().

bool FEI_tester::useNewFEI_
private

Definition at line 90 of file FEI_tester.hpp.

Referenced by createFEIinstance().


The documentation for this class was generated from the following files: