Files
opm-common/tests
Bård Skaflestad abec96a387 Sat-Func Initializers: Add TOLCRIT Support
This commit makes the 'critical_*()' helper functions aware of the
TOLCRIT feature.  We now consider a phase to be immobile at a one
saturation value if its relative permeability at that saturation is
less than or equal to TOLCRIT.  TOLCRIT mirrors E100's default value
of 1.0e-6 unless otherwise specified in the PROPS section.

All table scanners are implemented in terms of the expression

    std::lower_bound(begin, end, tolcrit, predicate)

which ultimately returns the first position in [begin, end) for
which

    predicate(*iter, tolcrit)

is false.  Using predicate = std::greater<>{} thus determines the
first position in the sequence for which the elements is less than
or equal to 'tolcrit'.  Similarly, a predicate equivalent to '<='
returns the first position for which the elements is strictly
greater than 'tolcrit'.

Add a set of unit tests to demonstrate and exercise the new feature.
2020-06-10 14:33:01 +02:00
..
2020-04-16 14:13:54 +02:00
2020-04-16 14:13:54 +02:00
2020-04-16 14:13:54 +02:00
2020-04-16 14:13:54 +02:00
2019-04-08 11:36:20 +02:00
2019-04-08 11:36:20 +02:00
2020-04-14 16:32:52 +02:00
2019-02-15 18:01:38 +01:00
2020-01-28 12:46:18 +01:00
2020-01-28 12:46:18 +01:00
2017-05-10 10:03:31 +02:00
2020-04-19 20:59:38 +02:00
2020-04-16 14:13:54 +02:00