opm-simulators/opm/core
Bård Skaflestad bdcd5236bd Don't crash on models without wells.
The user will legitimately want to run models that do not specify wells
(e.g., using boundary conditions).  While we do not yet fully support
that configuration (no wells), we absolutely must not crash by
dereferencing null pointers or generating pointers into ::empty()
std::vector<>s.

This commit installs the required guards needed to avoid said failure
mode.
2012-09-20 15:03:38 +02:00
..
fluid Massive whitespace cleanup: entire fluid subdir. 2012-09-05 11:28:54 +02:00
linalg Restore coding conventions. 2012-08-14 11:05:09 +02:00
pressure Don't crash on models without wells. 2012-09-20 15:03:38 +02:00
simulator Changed well initialization and property calculation. 2012-09-14 09:53:11 +02:00
transport/reorder Fixed documentation. 2012-09-05 14:07:51 +02:00
utility Fix stride bug in WellReport::push(). Use convert::to(). 2012-09-04 13:12:06 +02:00
wells Fix error message. 2012-09-14 09:52:13 +02:00
newwells.h Document add_well()s "name" parameter. 2012-06-18 10:18:14 +02:00
well.h Document the obsolescent well representation. 2012-06-25 00:55:50 +02:00