EclRegressionTest.hpp
Go to the documentation of this file.
104 bool checkFileName(const std::string& rootName, const std::string& extension, std::string& filename);
137 // deviationsForCell throws an exception if both the absolute deviation AND the relative deviation
139 // if allowNegativeValues is passed as false, an exception will be thrown when the absolute value
140 // of a negative value exceeds absTolerance. If no exceptions are thrown, the absolute and relative deviations are added to absDeviation and relDeviation.
141 // void deviationsForCell(double val1, double val2, const std::string& keyword, const std::string reference, size_t kw_size, size_t cell, bool allowNegativeValues = true);
152 // These vectors store absolute and relative deviations, respecively. Note that they are whiped clean for every new keyword comparison.
155 // Keywords which should not contain negative values, i.e. uses allowNegativeValues = false in deviationsForCell():
162 const std::vector<std::string> keywordsStrictTol = {"COORD", "ZCORN", "PORV", "DEPTH", "DX", "DY", "DZ", "PERMX", "PERMY", "PERMZ", "NTG",
Definition: EclFilesComparator.hpp:34 std::map< std::string, std::vector< Deviation > > deviations Definition: EclFilesComparator.hpp:74 A class for executing a regression test for two ECLIPSE files. Definition: EclRegressionTest.hpp:41 void setPrintKeywordOnly(bool printArg) Definition: EclRegressionTest.hpp:78 void printDeviationReport() void setAcceptExtraKeywords(bool acceptExtraKeywordsArg) Definition: EclRegressionTest.hpp:70 void compareSpesificRstReportStepNumber(int seqn) Definition: EclRegressionTest.hpp:85 void compareSpesificKeyword(std::string keyword) Definition: EclRegressionTest.hpp:82 ~ECLRegressionTest() void results_init() void results_smry() void setReportStepOnly(bool reportStepOnlyArg) Definition: EclRegressionTest.hpp:66 void setLoadBaseRunData(bool loadArg) Definition: EclRegressionTest.hpp:89 void results_rft() void results_rst() void setOnlyLastReportNumber(bool onlyLastSequenceArg) Option to only compare last occurrence. Definition: EclRegressionTest.hpp:56 void loadGrids() void setIntegrationTest(bool inregrationTestArg) Definition: EclRegressionTest.hpp:74 void gridCompare() ECLRegressionTest(const std::string &basename1, const std::string &basename2, double absToleranceArg, double relToleranceArg) Sets up the regression test. Definition: EclRegressionTest.hpp:49 Definition: EGrid.hpp:36 Definition: EclFile.hpp:33 UDAKeyword keyword(UDAControl control) Definition: A.hpp:4 std::string extension(const std::string &fname) |