9 #ifndef _snl_fei_tester_h_
10 #define _snl_fei_tester_h_
12 #include <fei_macros.hpp>
14 #include <fei_SharedPtr.hpp>
16 #include <test_utils/feitester.hpp>
17 #include <test_utils/DataReader.hpp>
19 #include <fei_fwd.hpp>
24 MPI_Comm comm,
int localProc,
int numProcs);
29 static const char name[] =
"snl_fei_tester";
30 return((
const char*)name);
33 int testInitialization();
39 int testCheckResult();
41 void dumpMatrixFiles();
43 void setParameter(
const char* param);
46 void defineFieldsAndIDTypes();
49 int initConstraints();
50 int loadConstraints();
51 void definePattern(ElemBlock& eb,
int& patternID);
52 int createLibraryInstance(
const char* solverName);
54 int save_block_node_soln(DataReader& data,
fei::Vector* vec,
55 const char* solnFileName,
int numProcs,
56 int localProc,
int solveCounter);
58 int save_block_elem_soln(DataReader& data,
fei::Vector* vec,
59 const char* solnFileName,
60 int numProcs,
int localProc,
int solveCounter);
62 int save_multiplier_soln(DataReader& data,
fei::Vector* vec,
63 const char* solnFileName,
64 int numProcs,
int localProc,
int solveCounter);
66 int checkSolution(
int localProc,
int numProcs,
67 const char* solnFileName,
const char* checkFileName,
68 const char* extension,
int solveCounter);
88 std::vector<int> idTypes_;
90 int nodeTypeOffset_, elemTypeOffset_, constraintTypeOffset_;
92 int localProc_, numProcs_;
95 #endif // _snl_fei_tester_h_
virtual const char * getName()=0