opm-simulators/opm/simulators/utils
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
..
DeferredLogger.cpp avoid include in header 2021-06-18 11:43:54 +02:00
DeferredLogger.hpp clean up after review 2021-10-05 13:07:52 +02:00
DeferredLoggingErrorHelpers.hpp clean up after review 2021-10-05 13:07:52 +02:00
gatherDeferredLogger.cpp Replacing use of MPI_COMM_WORLD with a variable communicator. 2021-10-05 13:07:52 +02:00
gatherDeferredLogger.hpp clean up after review 2021-10-05 13:07:52 +02:00
moduleVersion.cpp changed: move moduleVersion to a separate object library 2020-06-08 10:07:22 +02:00
moduleVersion.hpp Add build time to flow startup banner 2020-03-31 08:42:24 +02:00
ParallelCommunication.hpp Minor whitespace fixes. 2021-10-05 13:59:16 +02:00
ParallelEclipseState.cpp Replacing use of MPI_COMM_WORLD with a variable communicator. 2021-10-05 13:07:52 +02:00
ParallelEclipseState.hpp Downstream filesystem reorganisation in opm-common 2022-01-02 14:33:34 +01:00
ParallelFileMerger.cpp std::regex_replace use $n for referencing and not \n. 2022-01-27 17:22:09 +01:00
ParallelFileMerger.hpp use std::filesystem directly 2021-11-01 12:31:58 +01:00
ParallelRestart.cpp Downstream filesystem reorganisation in opm-common 2022-01-02 14:33:34 +01:00
ParallelRestart.hpp fix serial build after PR #3675 2021-11-10 10:41:24 +01:00
ParallelSerialization.cpp Downstream filesystem reorganisation in opm-common 2022-01-02 14:33:34 +01:00
ParallelSerialization.hpp fix: serial build after PR #3671 2021-11-09 15:57:24 +01:00
PartiallySupportedFlowKeywords.cpp Validate ROCKCOMP Upadate 2021-12-20 18:06:17 +08:00
PartiallySupportedFlowKeywords.hpp Add keyword validation using a predicate function 2021-06-14 18:10:36 +02:00
PropsCentroidsDataHandle.hpp Replacing use of MPI_COMM_WORLD with a variable communicator. 2021-10-05 13:07:52 +02:00
readDeck.cpp Don't Process Corner-Point Data If No Valid Cell Geometry 2022-03-25 14:35:55 +01:00
readDeck.hpp Don't Process Corner-Point Data If No Valid Cell Geometry 2022-03-25 14:35:55 +01:00
UnsupportedFlowKeywords.cpp Merge pull request #3774 from plgbrts/expli-salt 2022-02-11 14:35:57 +01:00
UnsupportedFlowKeywords.hpp changed: put unsupported keywords in separate compile unit 2021-05-12 14:29:33 +02:00
VectorVectorDataHandle.hpp Setup parallel solvers for tracers. 2021-11-17 16:02:16 +01:00