24 #define fei_file "test_FEI.cpp"
54 std::string solverName;
57 throw std::runtime_error(
".input file doesn't contain 'SOLVER_LIBRARY'");
63 throw std::runtime_error(
".input file doesn't contain 'WHICH_FEI'");
66 std::string inputFileName;
69 throw std::runtime_error(
".input file doesn't contain 'INPUT_FILE'");
72 std::string paramFile;
75 throw std::runtime_error(
".input file doesn't contain 'PARAM_FILE'");
81 throw std::runtime_error(
".input file doesn't contain 'SOLN_FILE'");
84 std::string checkFile;
87 throw std::runtime_error(
".input file doesn't contain 'CHECK_FILE'");
90 std::string readerType;
99 std::string fullName_str = fullName.str();
100 const char* fullName_c_str = fullName_str.c_str();
109 const char* paramFile_c_str = fullParamFileName.c_str();
111 std::vector<std::string> param_file_contents;
113 param_file_contents);
115 data_reader->
numParams_ = param_file_contents.size();
118 for(
unsigned i=0; i<param_file_contents.size(); ++i) {
119 std::string& str = param_file_contents[i];
121 for(
unsigned j=0; j<str.size(); ++j) {
138 if (whichFEI ==
"OLDFEI") {
141 if (whichFEI ==
"fei::FEI_Impl") {
142 bool useNewFEI =
true;
146 else if (whichFEI ==
"new_fei") {
150 if (fei_tester.
get() == NULL) {
165 for(
int solveCounter=1; solveCounter<=numSolves; solveCounter++) {
188 std::vector<std::string> inputFileStrings;
193 std::size_t length =
path_.size();
200 std::string filename_str =
filename.str();
201 const char* filename_c_str = filename_str.c_str();
215 std::size_t length =
path_.size();
217 if (
path_[length-1] !=
'/') osstr<<
"/";