Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
ECLRegressionTest Class Reference A class for executing a regression test for two ECLIPSE files. More...
Inheritance diagram for ECLRegressionTest:
Detailed DescriptionA class for executing a regression test for two ECLIPSE files. This class inherits from ECLFilesComparator, which opens and closes the input cases and stores keywordnames. The three public functions gridCompare(), results() and resultsForKeyword() can be invoked to compare griddata or keyworddata for all keywords or a given keyword (resultsForKeyword()). Constructor & Destructor Documentation◆ ECLRegressionTest()
Sets up the regression test.
This constructor only calls the constructor of the superclass, see the docs for ECLFilesComparator for more information. ◆ ~ECLRegressionTest()
Member Function Documentation◆ average()
Calculate average of a vector. Returning the average of the input vector, i.e. the sum of all values divided by the number of elements. ◆ calculateDeviations()
Calculate deviations for two values. Using absolute values of the input arguments: If one of the values are non-zero, the Deviation::abs returned is the difference between the two input values. In addition, if both values are non-zero, the Deviation::rel returned is the absolute deviation divided by the largest value. ◆ compareSpesificKeyword()
References Opm::UDQ::keyword(). ◆ compareSpesificRstReportStepNumber()
◆ countDev()
References ECLFilesComparator::deviations. ◆ doAnalysis()
References ECLFilesComparator::analysis. ◆ getAbsTolerance()
Returns the absolute tolerance stored as a private member variable in the class. ◆ getNoErrors()
References ECLFilesComparator::num_errors. ◆ getRelTolerance()
Returns the relative tolerance stored as a private member variable in the class. ◆ gridCompare()
◆ loadGrids()
◆ median()
Calculate median of a vector. Returning the median of the input vector, i.e. the middle value of the sorted vector if the number of elements is odd or the mean of the two middle values if the number of elements are even. Copy is intentional. ◆ printDeviationReport()
◆ printValuesForCell()
template<typename T >
◆ results_init()
◆ results_rft()
◆ results_rst()
◆ results_smry()
◆ setAcceptExtraKeywords()
◆ setIntegrationTest()
◆ setLoadBaseRunData()
◆ setOnlyLastReportNumber()
Option to only compare last occurrence. ◆ setPrintKeywordOnly()
◆ setReportStepOnly()
◆ throwOnErrors()
References ECLFilesComparator::throwOnError. Member Data Documentation◆ analysisPerform full error analysis. Referenced by ECLFilesComparator::doAnalysis(). ◆ deviations
Referenced by countDev(). ◆ num_errors
Referenced by ECLFilesComparator::getNoErrors(). ◆ rootName1
◆ rootName2
◆ throwOnErrorThrow on first error. Referenced by ECLFilesComparator::throwOnErrors(). The documentation for this class was generated from the following file: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||