FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SolnCheck.hpp
Go to the documentation of this file.
1 #ifndef _SolnCheck_hpp_
2 #define _SolnCheck_hpp_
3 
4 /*--------------------------------------------------------------------*/
5 /* Copyright 2005 Sandia Corporation. */
6 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
7 /* non-exclusive license for use of this work by or on behalf */
8 /* of the U.S. Government. Export of this program may require */
9 /* a license from the United States Government. */
10 /*--------------------------------------------------------------------*/
11 
12 #include "fei_FillableMat.hpp"
13 
14 namespace SolnCheck {
15  int readSoln(const char* baseName, int np, fei::FillableMat& solution);
16 
17  int compareSoln(fei::FillableMat& solution1, fei::FillableMat& solution2,
18  double tol=1.e-3);
19 
20  int readMatrix(const char* baseName, int np, fei::FillableMat& matrix);
21 
23 
24  int checkSolution(int localProc, int numProcs,
25  const char* solnFileName, const char* checkFileName,
26  const char* extension,
27  int solveCounter);
28 }
29 
30 #endif // _SolnCheck_hpp_
31 
int readSoln(const char *baseName, int np, fei::FillableMat &solution)
Definition: SolnCheck.cpp:18
int checkSolution(int localProc, int numProcs, const char *solnFileName, const char *checkFileName, const char *extension, int solveCounter)
Definition: SolnCheck.cpp:63
int readMatrix(const char *baseName, int np, fei::FillableMat &matrix)
Definition: SolnCheck.cpp:51
int localProc(MPI_Comm comm)
int compareSoln(fei::FillableMat &solution1, fei::FillableMat &solution2, double tol=1.e-3)
Definition: SolnCheck.cpp:44
int compareMatrices(fei::FillableMat &mat1, fei::FillableMat &mat2)
Definition: SolnCheck.cpp:57
int numProcs(MPI_Comm comm)