FEI Package Browser (Single Doxygen Collection)
Version of the Day
test_utils
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
22
int
compareMatrices
(
fei::FillableMat
& mat1,
fei::FillableMat
& mat2);
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
fei::FillableMat
Definition:
fei_FillableMat.hpp:20
SolnCheck::readMatrix
int readMatrix(const char *baseName, int np, fei::FillableMat &matrix)
Definition:
SolnCheck.cpp:51
SolnCheck::compareSoln
int compareSoln(fei::FillableMat &solution1, fei::FillableMat &solution2, double tol=1.e-3)
Definition:
SolnCheck.cpp:44
SolnCheck
Definition:
SolnCheck.hpp:14
fei::localProc
int localProc(MPI_Comm comm)
Definition:
fei_CommUtils.cpp:13
SolnCheck::readSoln
int readSoln(const char *baseName, int np, fei::FillableMat &solution)
Definition:
SolnCheck.cpp:18
fei::numProcs
int numProcs(MPI_Comm comm)
Definition:
fei_CommUtils.cpp:25
SolnCheck::checkSolution
int checkSolution(int localProc, int numProcs, const char *solnFileName, const char *checkFileName, const char *extension, int solveCounter)
Definition:
SolnCheck.cpp:63
SolnCheck::compareMatrices
int compareMatrices(fei::FillableMat &mat1, fei::FillableMat &mat2)
Definition:
SolnCheck.cpp:57
fei_FillableMat.hpp
Generated by
1.8.16