Commit Graph
100 Commits
Author SHA1 Message Date
Arne Morten Kvarving 1b626ead49 add serialization test for Opm::Network::Node 2020-09-16 08:47:06 +02:00
Arne Morten Kvarving 4160c6ce98 fixed: deserialization for std::optional<T>
just writing the data does not update the has_value as expected
2020-09-16 08:47:06 +02:00
Arne Morten Kvarving 76c63c4405 changed: hide internal method 2020-09-15 10:51:57 +02:00
Arne Morten Kvarving 273d465c32 fixed: use the proper linear operator without wells in matrix in serial 2020-09-03 15:53:57 +02:00
Arne Morten Kvarving 7305f84351 use std::make_unique where applicable 2020-09-02 15:35:39 +02:00
Arne Morten Kvarving 182ec130b1 fixed: use const refs in foreach constructs
avoids unnecessary copies
2020-09-01 13:25:26 +02:00
Arne Morten Kvarving f4f5fa3a5d changed: remove one missed TTAG usage
also include header for the Scalar property definition
2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 9a000c6d07 changed: remove SET_TAG_PROP macro usage 2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 3b21a8a481 changed: remove SET_TYPE_PROP macro usage 2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 93a3ebf8f7 changed: remove NEW_PROP_TAG macro usage 2020-08-28 10:44:53 +02:00
Arne Morten Kvarving 941e4916f8 changed: remove SET_PROP macro usage 2020-08-27 14:02:05 +02:00
Arne Morten Kvarving 7d853d2e05 changed: remove SET_SCALAR_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving fca83318aa changed: remove SET_INT_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving a79c37a041 changed: remove SET_STRING_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving 0e71c0e29b changed: remove SET_BOOL_PROP macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving e8248b44ff changed: remove NEW_TYPE_TAG macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving 914053ac3c changed: remove GET_PROP_VALUE macro usage 2020-08-27 13:01:51 +02:00
Arne Morten Kvarving 74fac38d85 changed: remove GET_PROP_TYPE / GET_PROP macro usage 2020-08-27 08:19:39 +02:00
Arne Morten Kvarving 82a35e53b7 changed: remove TTAG macro calls 2020-08-27 08:19:39 +02:00
Arne Morten Kvarving 8148a81ed0 changed: replace EWOMS_RESET_PARAMETERS macro calls 2020-08-26 10:50:34 +02:00
Arne Morten Kvarving 70908d9017 changed: remove BEGIN_PROPERTIES/END_PROPERTIES macro usage 2020-08-21 15:50:35 +02:00
Arne Morten Kvarving efd078f564 fixed: have to broadcast summarystate on restart 2020-08-21 10:43:31 +02:00
Arne Morten Kvarving bb03896ad2 add spe1_thermal_watvisc as regression test 2020-06-26 09:49:07 +02:00
Arne Morten Kvarving e31062aa4e add missing license header 2020-06-26 09:49:01 +02:00
Arne Morten Kvarving 41e7201c73 make parseSuccess dependent on MPI
avoids unused warnings when building without
2020-06-19 09:46:21 +02:00
Arne Morten Kvarving 44bec2d7db changed: delay deck dereference
this was harmless unless enableExperiments was given, since
the deck ref is not used otherwise, but it caused an UBSAN issue
when run in parallel.
2020-06-15 09:50:06 +02:00
Arne Morten Kvarving e9c56f869e Merge pull request #2670 from bska/remove-duplicate-decl
Remove Redundant 'packSize' Declaration
2020-06-12 08:27:20 +02:00
Arne Morten Kvarving 6ab90bb0e3 fixed: fix parallel builds
we need the update-version target to run to generate the
necessary headers.
2020-06-09 15:08:30 +02:00
Arne Morten Kvarving 5d423e2300 changed: move moduleVersion to a separate object library
this to minimize re-linking due to compile timestamp support
2020-06-08 10:07:22 +02:00
Arne Morten Kvarving c4be14c0da mark the pybind11 headers SYSTEM to avoid (shadowing) warnings 2020-05-14 11:12:15 +02:00
Arne Morten Kvarving 5fcebcf4a7 remove unused variables
and thus the associated compiler warnings
2020-05-14 11:03:03 +02:00
Arne Morten Kvarving d880aee17d fixed: we still want to build the bindings even if pybind11 is already available. 2020-05-14 10:51:00 +02:00
Arne Morten Kvarving fa5c4a8573 Merge pull request #2586 from atgeirr/fix-tag-for-init
Ensure that the typetag used for initialization is correct.
2020-05-04 11:12:44 +02:00
Arne Morten Kvarving e3a0137dd1 quell deprecation warnings with boost 1.71 2020-04-30 09:47:58 +02:00
Arne Morten Kvarving 0125b71451 changed: remove multiarch-support predepends
no longer required in ubuntu bionic, and breaks ubuntu focal,
and in any case it is support by both platforms.
2020-04-30 09:16:12 +02:00
Arne Morten Kvarving 16a1ddfe5e fixed: use PROJECT_BINARY_DIR, not CMAKE_BINARY_DIR
tests fail to execute in super-build otherwise
2020-04-21 08:50:51 +02:00
Arne Morten Kvarving e5b32dd82d add norne and norne_parallel as ExtraTests
to execute these you have to use ctest -C ExtraTests
or 'make extra_test'
2020-04-14 16:02:21 +02:00
Arne Morten Kvarving ca697acc60 remove unused lambda parameter
quells a compiler warning
2020-04-14 14:17:41 +02:00
Arne Morten Kvarving d72db978d6 Merge pull request #2533 from akva2/fix_super_build
changed: check for pre-existing pybind11 target
2020-04-14 13:06:53 +02:00
Arne Morten Kvarving 3d48a1d344 changed: check for pre-existing pybind11 target
this is necessary to allow building all modules in a 'super-build'
2020-04-14 09:16:13 +02:00
Arne Morten Kvarving 57d5eefd26 changed: avoid calling parent_path on paths that has none
causes a throw on gcc-9
2020-04-03 11:27:47 +02:00
Arne Morten Kvarving e4be6b28ab Merge pull request #2504 from akva2/fix_broadcast
fixed: broadcasting an int and receiving as a size_t is a very bad idea
2020-03-30 12:23:29 +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
Arne Morten Kvarving b698fe2c90 prune some unnecessary includes 2020-03-25 09:42:02 +01:00
Arne Morten Kvarving 9906cc47f7 changed: use AquiferConfig when setting up aquifers 2020-03-24 13:36:39 +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 30eb7256bc remove call to checkMissingFeatures
once is enough. as a bonus avoids deck usage in simulator
2020-03-23 15:54:48 +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
Arne Morten Kvarving 187534780c Merge pull request #2492 from akva2/move_ser_object
changed: use serialization objects from opm-common in tests
2020-03-23 12:40:38 +01:00
Arne Morten Kvarving 3b64e9875c changed: use serialization objects from opm-common in tests
this allows us to macrofy the test instantations
2020-03-23 09:57:54 +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
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
Arne Morten Kvarving 82c65f9f5d Merge pull request #2483 from akva2/serialize_internal_schedule
Internal serialization in Schedule
2020-03-19 12:53:10 +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 a2d840a5f7 changed: put eclipse state broadcast in separate compilation unit
to avoid compiling several times for each flow variant
2020-03-19 09:31:52 +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 9b545e58a4 remove old serialization support for pointers 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving aa7eba1f98 remove old serialization support for DynamicState 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving e71670e231 remove old serialization support for OrderedMap 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 777e2f7683 remove old serialization support for VFPProdTable 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 58b0ed66fc remove old serialization support for VFPInjTable 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving d905e0f037 remove old serialization support for UnitSystem 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 02af915917 remove old serialization support for Dimension 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 37ab44d805 remove old serialization support for UDAValue 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving eef690f910 remove old serialization support for Group 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 714caef9c6 remove old serialization support for GroupProductionProperties 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving d496b93cfa remove old serialization support for GroupInjectionProperties 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving c8b14dcbb1 remove old serialization support for IOrderSet 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 2c41427f3b remove old serialization support for Well 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving eda5fc2d33 remove old serialization support for WellType 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 9aa464c4ac remove old serialization support for WellSegments 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving fde0e42e8d remove old serialization support for Segment 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving e53584ffec remove old serialization support for Valve 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 2bb892139d remove old serialization support for SpiralICD 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 41950690fd remove old serialization support for WellInjectionProperties 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 0cb3e1426c remove old serialization support for WellProductionProperties 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving a35ba93629 remove old serialization support for WellConnections 2020-03-19 09:31:52 +01:00
Arne Morten Kvarving 8cd3d3c9b9 remove old serialization support for Connection 2020-03-19 09:31:08 +01:00
Arne Morten Kvarving 1a4f8f861f remove old serialization support for WellTracerProperties 2020-03-19 09:31:08 +01:00
Arne Morten Kvarving 2e34b91b53 remove old serialization support for WellBrineProperties 2020-03-19 09:31:08 +01:00
Arne Morten Kvarving 8a0959b026 remove old serialization support for WellPolymerProperties 2020-03-19 09:31:08 +01:00
Arne Morten Kvarving 99898ad79e remove old serialization support for WellFoamProperties 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving d6c49bf801 remove old serialization support for WellEconProductionLimits 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving d791636919 remove old serialization support for WellGuideRate 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving c4e3d9c806 add necessary explicit template instantations 2020-03-19 09:31:07 +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 eb53bb0db9 remove old serialization support for DynamicVector 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving faffa0678b remove old serialization support for Deck 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving 81663e2942 remove old serialization support for Action::Actions 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving 781b11fb07 remove old serialization support for Action::Condition 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving 18a1e735fb remove old serialization support for Action::Quantity 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving 5c89c48554 remove old serialization support for Action::AST 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving 2c1d45ea54 remove old serialization support for ActionX 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving c5f36bd7cc remove old serialization support for DeckKeyword 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving a289008c96 remove old serialization support for Location 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving 96cadcc43a remove old serialization support for DeckRecord 2020-03-19 09:31:07 +01:00
Arne Morten Kvarving d9ab0e7522 remove old serialization support for ASTNode 2020-03-19 09:31:07 +01:00