opm-simulators/opm/simulators
Bård Skaflestad dfdfbbd7d7 Don't Process Corner-Point Data If No Valid Cell Geometry
If no cell has a valid corner-point geometry, typically caused by
using GDFILE to read non-finite data such as all ZCORN = -1.0E+20,
then we must not attempt to generate a grid structure.  If we do, we
will typically just fail somewhere deep down in the corner-point
processing code and generate a diagnostic message that's hard to
decipher.

With this commit we instead output a diagnostic message of the form

    Failed to create valid EclipseState object.
    Exception caught: No active cell in input grid has valid/finite cell geometry
    Please check geometry keywords, especially if grid is imported through GDFILE

This may not be a lot better than the original diagnostic

    Processing grid
    flow: ${ROOT}/opm-grid/opm/grid/cpgpreprocess/preprocess.c:768: is_lefthanded: Assertion `! searching' failed.
    Aborted (core dumped)

but does at least suggest that the grid data may be faulty.
2022-03-25 14:35:55 +01:00
..
aquifers Downstream filesystem reorganisation in opm-common 2022-01-02 14:33:34 +01:00
flow Don't Process Corner-Point Data If No Valid Cell Geometry 2022-03-25 14:35:55 +01:00
linalg Fix ChowPatelIlu compilation errors, 2022-02-03 10:42:27 +01:00
timestepping Add more performance summary output 2022-02-03 15:03:37 +01:00
utils Don't Process Corner-Point Data If No Valid Cell Geometry 2022-03-25 14:35:55 +01:00
wells Merge pull request #3824 from totto82/notswitchthp 2022-03-25 14:34:30 +01:00
opm-simulators_doxygen_main.hpp Moved all remaining files out of opm/autodiff. 2019-06-20 11:00:51 +02:00