Bård Skaflestad 1c21ec9d5c Restart *WEL Arrays: Add Facility for Aggregating Vectors
This commit adds a new class that aggregates the *WEL vectors for
restart purposes.  Using the data sources

    - Simulation run's "Schedule" object
    - Simulation run's "UnitSystem" object
    - Current simulation step ("sim_step")
    - WellRates object from simulator at the end of sim_step
    - SummaryState object from Summary class at the end of sim_step

this class will fill in the (presently) known elements of the IWEL
(integers), SWEL (Real/float), XWEL (double precision), and ZWEL
arrays for output to a restart file.  We distinguish contributions
of data sources extracted directly from the simulation deck from
those computed dynamically by the simulator--mostly to separate
concerns and to enable independent testing.  If this introduces too
much computational overhead in actual simulation runs we can fuse
the member functions

    AggregateWellData::captureDeclaredWellData()
    AggregateWellData::captureDynamicWellData()

to reduce the number of loops over active wells.

The overall structure of this facility is that we have a single
templated function, wellLoop(), that calls user-defined "operations"
on each active well.  Each of these operations in turn define a
subset of one of the {I,S,X,Z}WEL arrays pertaining to the
particular well.  We furthermore put implementation functions into
namespaces according to the pertinent arrays.

Many thanks to my Equinor collaborators.
2018-07-12 10:44:27 +02:00
2018-03-07 08:20:17 +01:00
2015-06-18 12:06:38 +02:00
2018-03-05 10:30:59 +01:00
2017-01-03 10:48:10 +01:00
2018-06-20 09:27:02 +02:00
2015-03-18 01:59:50 -05:00

opm-common

Contains common components used throughout all of OPM, in particular CMake modules for the build system.

Description
Common components for OPM, in particular build system (cmake).
Readme 74 MiB
Languages
C++ 79%
ECL 13.4%
Scheme 3.1%
CMake 2.4%
Python 1%
Other 1%