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
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
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
Markus Blatt
9ccd4be5e3
Shrink EclEquilInitializer::initialFluidStates_.
...
There is not reason to it as a vector of cartesian size as we access
its entries by the compressed element index. This should save space
and speedup the lookup.
2020-03-08 16:25:35 +01:00
Markus Blatt
8bab43ffbd
Removed now unused variables.
2020-03-08 15:18:55 +01:00
Arne Morten Kvarving
09a7c00ed5
changed: no need to serialize PolymerModule any longer
2020-03-06 20:45:53 +01:00
Arne Morten Kvarving
9413425a78
changed: no need to serialize BrineModule any longer
2020-03-06 20:28:34 +01:00
Markus Blatt
6aeac6cb3a
Merge pull request #2407 from akva2/no_serialization_foam
...
changed: no need to serialize FoamModule any longer
2020-03-06 20:11:27 +01:00
Markus Blatt
4c962e61d1
Also distribute the centroids when loadbalancing CpGrid.
...
They are attached to the cells as well and are now distributed
during CpGrid::loadBalance. Due to this change we also rename
FieldPropsDataHandle to PropsCentroidsDataHandle.
2020-03-06 14:09:32 +01:00
Arne Morten Kvarving
3162ed067e
get rid of unused serialization template
2020-03-06 11:55:41 +01:00
Markus Blatt
77478a59eb
Use CpGrid::loadBalance to distribute the field properties.
...
The created data handle for the communication could in theory be used
with other DUNE grids, too. In reality we will need to merge with the
handle that ALUGrid already uses to communicate the cartesian indices.
This PR gets rid of using the get_global_(double|int) method in
ParallelEclipseState and reduces the amount of boilerplate code there.
2020-03-06 09:48:04 +01:00
Joakim Hove
42f96ca039
Add commandline switch --sched-restart to control restart init
2020-03-04 15:44:32 +01:00
Arne Morten Kvarving
3a559fb9fb
changed: no need to serialize FoamModule any longer
2020-03-04 15:05:37 +01:00
Arne Morten Kvarving
30892a006e
changed: no need to serialize SolventModule any longer
2020-03-04 10:01:03 +01:00
Bård Skaflestad
6688c19a77
Merge pull request #2397 from akva2/no_serialization_fluidsystem
...
changed: no need to serialize the FluidSystem any more
2020-03-03 21:51:10 -06:00
Joakim Hove
93964b2fa8
Merge pull request #2389 from joakim-hove/move-wellinjector-enum
...
InjectorType enum is moved out from Well class
2020-03-03 16:36:40 +01:00
Arne Morten Kvarving
03a2129df3
changed: no need to serialize the FluidSystem any more
...
setup is now done all from state, which means it can be done
independently on all processes
2020-03-03 14:24:18 +01:00
Bård Skaflestad
8c17e05c7d
Merge pull request #2386 from akva2/use_compressed_trans
...
use compressed indices setting up transmissibilities
2020-03-03 06:00:29 -06:00
Arne Morten Kvarving
89cb162c1f
Merge pull request #2383 from akva2/use_compressed_fipnum
...
use compressed field property for fipnum
2020-03-03 10:04:25 +01:00
Joakim Hove
9268bcb2ac
InjectorType enum is moved out from Well class
2020-03-03 09:08:02 +01:00
Arne Morten Kvarving
f1e0dc0acb
use compressed indices setting up transmissibilities
2020-03-03 08:43:50 +01:00
Arne Morten Kvarving
5a9340b5b1
use compressed field property for fipnum
2020-03-03 08:40:48 +01:00
Bård Skaflestad
8ed3b82c8a
Merge pull request #2385 from akva2/use_compressed_rock
...
use compressed field properties setting up rock parameters
2020-03-02 13:06:29 -06:00
Bård Skaflestad
c3f127afa0
Merge pull request #2384 from akva2/use_compressed_perm
...
use compressed properties setting up permeabilities
2020-03-02 11:56:13 -06:00
Arne Morten Kvarving
888f0190b7
use compressed field properties setting up rock parameters
2020-03-02 15:34:12 +01:00
Arne Morten Kvarving
ca91b61bc7
use compressed properties setting up permeabilities
2020-03-02 15:12:26 +01:00
Arne Morten Kvarving
b031f6d4cf
Merge pull request #2382 from akva2/use_compressed_thpressure
...
use compressed indices setting up ThresholdPressures
2020-03-02 15:02:18 +01:00