FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
SolnCheck Namespace Reference

Functions

int readSoln (const char *baseName, int np, fei::FillableMat &solution)
 
int compareSoln (fei::FillableMat &solution1, fei::FillableMat &solution2, double tol=1.e-3)
 
int readMatrix (const char *baseName, int np, fei::FillableMat &matrix)
 
int compareMatrices (fei::FillableMat &mat1, fei::FillableMat &mat2)
 
int checkSolution (int localProc, int numProcs, const char *solnFileName, const char *checkFileName, const char *extension, int solveCounter)
 

Function Documentation

int SolnCheck::readSoln ( const char *  baseName,
int  np,
fei::FillableMat solution 
)

Definition at line 18 of file SolnCheck.cpp.

References FEI_IFSTREAM, FEI_OSTRINGSTREAM, and fei::FillableMat::putCoef().

Referenced by checkSolution().

int SolnCheck::compareSoln ( fei::FillableMat solution1,
fei::FillableMat solution2,
double  tol = 1.e-3 
)

Definition at line 44 of file SolnCheck.cpp.

References fei_test_utils::compareMatrices().

Referenced by checkSolution().

int SolnCheck::readMatrix ( const char *  baseName,
int  np,
fei::FillableMat matrix 
)
int SolnCheck::compareMatrices ( fei::FillableMat mat1,
fei::FillableMat mat2 
)

Definition at line 57 of file SolnCheck.cpp.

References fei_test_utils::compareMatrices().

Referenced by FEI_tester::lsc_matrix_check().

int SolnCheck::checkSolution ( int  localProc,
int  numProcs,
const char *  solnFileName,
const char *  checkFileName,
const char *  extension,
int  solveCounter 
)