FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

◆ readSoln()

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().

◆ compareSoln()

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().

◆ readMatrix()

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

Definition at line 51 of file SolnCheck.cpp.

References fei_test_utils::readMatrix().

Referenced by FEI_tester::lsc_matrix_check().

◆ compareMatrices()

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().

◆ checkSolution()

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