Alf Birger Rustad
62f5ba95b4
Enable owner first ordering by default
2020-04-01 12:58:59 +02:00
Joakim Hove
d6a1d3029e
Use std::shared_ptr for Python handle to Schedule
2020-03-31 12:28:07 +02:00
Arne Morten Kvarving
a456b7dff5
fixed: broadcasting an int and receiving as a size_t is a very bad idea
...
pointy-hat: me
2020-03-30 11:48:00 +02:00
Joakim Hove
30216212c4
Add Python argument to Schedule constructor
2020-03-26 10:15:07 +01:00
Joakim Hove
54cd4f96f7
Merge pull request #2496 from akva2/tracers_from_state
...
Use tracers from EclipseState
2020-03-25 10:17:56 +01:00
Arne Morten Kvarving
5fd85c1446
Merge pull request #2497 from akva2/deck_avoid
...
Avoid deck usage in simulator
2020-03-24 08:28:21 +01:00
Arne Morten Kvarving
1424b8e859
changed: use Deck unit system from EclipseState
...
to avoid deck usage in simulator
2020-03-23 15:54:48 +01:00
Arne Morten Kvarving
b3bf3c58b2
changed: use TracerConfig from opm-common
2020-03-23 15:52:53 +01:00
Arne Morten Kvarving
55ad96a067
use TracerVdTable from opm-common
2020-03-23 15:50:13 +01:00
Atgeirr Flø Rasmussen
56222d4350
Make is_ptr() for unique_ptr handle two template parameters.
2020-03-23 13:36:07 +01:00
Atgeirr Flø Rasmussen
652c7d239b
Simplify ptr(), avoiding a template template parameter.
...
Since unique_ptr<T, Deleter> takes two arguments it cannot strictly
speaking be used via a template template parameter that takes one,
even though the second has a default. GCC allows this anyway, but
not clang.
2020-03-23 11:55:45 +01:00
Arne Morten Kvarving
7775a665d0
Merge pull request #2485 from akva2/i_want_no_deck_dammit
...
fixed: double-parsing of the deck
2020-03-20 11:17:06 +01:00
Bård Skaflestad
fda4a29c7e
Merge pull request #2459 from jalvestad/group_constraints_summary
...
Make available current Production/Injection Group Control parameters for use in Restart
2020-03-19 16:54:34 +01:00
Arne Morten Kvarving
595f601b2c
fixed: double-parsing of the deck
...
externalDeck = nullptr -> internalDeck was parsed.
i have no idea why we have this external/internal deck in the first place.
2020-03-19 14:50:34 +01:00
Jostein Alvestad
35d5269ffa
removed unused object opm::data::Group from eclwriter.hh
2020-03-19 14:19:21 +01:00
Markus Blatt
0970867e47
Merge pull request #2484 from akva2/janitoring
...
avoid potentially uninitialized warnings in serial
2020-03-19 13:07:08 +01:00
Arne Morten Kvarving
42a2d22d89
avoid potentially uninitialized warnings in serial
...
this was actually broken by an upstream change from return-by-reference
to return-by-value, but we were lucky, the return value was
kept in memory until end of block it seems.
2020-03-19 10:14:04 +01:00
Arne Morten Kvarving
4c5f9f2241
add doxy to eclmpiserializer
2020-03-19 09:31:52 +01:00
Arne Morten Kvarving
59d1ff9b88
updates in EclMpiSerializer to avoid explicit instances in serializer
...
now the serializer is 'standard', as in we only require basic types
+ stl containers. this should make the actual implementation pretty
pluggable. will ease replacing our serialization routines
with those in Dune 2.7 later.
2020-03-19 09:31:52 +01:00
Arne Morten Kvarving
c86cfbd83a
add complexType template parameter to EclMpiSerializer::vector
...
set to false if vector contains a type without a serializeOp
2020-03-19 09:31:07 +01:00
Arne Morten Kvarving
638a53ac88
add support for unique_ptr in EclMpiSerializer
2020-03-19 09:31:07 +01:00
Arne Morten Kvarving
f0bc3e3815
add bool parameter ComplexType to EclMpiSerializer::map
...
this is passed on to the serializeOp template for the underlying
type. used with maps over DynamicState where DynamicState is over
a non-complex type.
2020-03-19 09:31:07 +01:00
Jostein Alvestad
7654972db4
corrected for unused parameters in eclwellmanager - groupData
2020-03-19 08:44:46 +01:00
Arne Morten Kvarving
13639cdace
add isSerializing member to eclmpiserializer
...
sometimes it is necessary to know in user code
2020-03-17 08:19:44 +01:00
Arne Morten Kvarving
5eb2ec30a5
add map handler to eclmpiserializer
2020-03-16 20:52:17 +01:00
Arne Morten Kvarving
30cac6b648
add shared_ptr handling in eclmpiserializer
2020-03-16 20:52:17 +01:00
Joakim Hove
65f4635e20
Merge pull request #2464 from joakim-hove/relperm-diag-no-deck
...
Relperm diag no deck
2020-03-16 13:28:44 +01:00
Arne Morten Kvarving
fe2437e67e
add pair handling in eclmpiserializer::vector
2020-03-16 11:44:13 +01:00
Arne Morten Kvarving
6fee426bfc
remove static assert in vector handler of eclmpiserializer
...
std::is_pod is too generic
2020-03-16 10:49:42 +01:00
Jostein Alvestad
6a659339f1
various corrections to code and coding style
2020-03-16 10:39:56 +01:00
Jostein Alvestad
277e5bc39d
corrections to groupData(..) in eclwellmanager.hh
2020-03-16 10:39:55 +01:00
Jostein Alvestad
4006319ff7
further changes to report currentStatusGroupControls to Summary
2020-03-16 10:39:52 +01:00
Jostein Alvestad
0dcacb41d4
intial changes to add current group controls to summary
2020-03-16 10:39:51 +01:00
Arne Morten Kvarving
3180974e63
Merge pull request #2471 from akva2/fix_no_mpi
...
fixed: do not build ParallelRestart test without MPI
2020-03-13 17:53:59 +01:00
Arne Morten Kvarving
c40c733a57
fixed: build without MPI
2020-03-13 17:52:37 +01:00
Markus Blatt
e65f6c02bb
Merge pull request #2220 from andrthu/owners-first
...
[For testing] Enable "owners first" ordering. Altered SpMV, SP and ILU.
2020-03-13 17:48:22 +01:00
Arne Morten Kvarving
654fae05a4
adjust for SummaryNode -> SummaryConfigNode rename
2020-03-13 15:56:33 +01:00
andrthu
3d0d0f9624
Remove GhostLast ILU
2020-03-13 15:03:31 +01:00
Arne Morten Kvarving
91e9d952d8
added: handler for vectors in eclmpiserializer
...
this shall be used by users when they have a vector of types
with a serializeOp template. it cannot (at least not right now)
be part of the regular operator() as some vectors should go
directly to the underlying serializer (trivial types).
we can possibly find some traits magic for this later.
2020-03-13 14:09:17 +01:00
Joakim Hove
8473aa38e5
Remove Deck argument to RelpermDiagnostic
2020-03-13 08:54:30 +01:00
andrthu
c91eb330d3
remove 2.6 and move ownerFirst in lb
2020-03-11 12:42:55 +01:00
andrthu
866a661255
New owners-first based linear algebra operations (SoMV, SP and ILU.apply).
2020-03-11 12:41:38 +01:00
andrthu
1fb0860712
add ownersFirst arguments. Change loadBalance to match change in opm-grid.
2020-03-11 12:41:37 +01:00
Arne Morten Kvarving
5b457cbbd6
Merge pull request #2446 from blattms/use-compressed-in-initstateequil.hh
...
Autocreate parallel fieldprops and use compressed ones in initstateequil.hh
2020-03-11 08:14:21 +01:00
Markus Blatt
400ca4230b
Use dynamic_cast to ParallelEclipseState and do error checking.
2020-03-10 14:29:19 +01:00
Markus Blatt
04311f6337
Allow auto creation of field properties arrays in ParallelEclipseState.
...
There are field properties that can usually be queried even if they
are not explicitly specified in the input
file (e.g. PVTNUM). Unfortunately, the ParallelEclipseState cannot
forsee which of these will be queried at startup and after the
loadbalancing only the master process is able to auto creates
these (easily). Hence this commit uses a fall-back if an unstored
keyword is queried. In this case we use get_global-* to auto create
the keyword and use functions of the cartesian mapper to extract the
relevant values on the process.
Of course this temporarily wastes space and we might want to resort to
a more memory savy approach later.
2020-03-10 11:36:02 +01:00
Arne Morten Kvarving
dd0f6dd517
changed: simplify eclmpiserializer
...
now users only have to implement a single method for
packsize/pack/unpack
2020-03-10 08:56:40 +01:00
Markus Blatt
5c8cdc8024
Use get_int instead of get_int_global in initstateequil.hh.
...
With the arrival of compressed field properties there is no need
to extract the global arrays just to compress them manually
afterwards. This change should remove commununication and
synchronization points.
2020-03-09 21:32:41 +01:00
Arne Morten Kvarving
51ee5205cb
changed: no need to serialize EclMaterialLawManager any longer
2020-03-09 11:23:12 +01:00
Arne Morten Kvarving
f24c8a3b2f
Merge pull request #2420 from akva2/drop_serialization
...
Drop unused serialization code
2020-03-09 09:56:35 +01:00