Arne Morten Kvarving
400dd0b794
add serialization test for FvBaseDiscretization::BlockVectorWrapper
...
this is where the primary solution is stored and is needed for
restart serialization.
this proxies for testing FvBaseDiscretization directly, as
FvBaseDiscretization requires a fully configured simulator to setup.
2023-02-14 14:45:54 +01:00
Bård Skaflestad
ce51f3378a
Merge pull request #4421 from akva2/blackoilprimaryvariables_serialize
...
BlackoilPrimaryVariables: add serialization support
2023-02-14 14:44:27 +01:00
Atgeirr Flø Rasmussen
ecfd928699
Merge pull request #4432 from akva2/add_hdf5serializer
...
added: HDF5 serializer
2023-02-14 14:25:45 +01:00
Arne Morten Kvarving
96b3478ae9
add serialization test for BlackoilPrimaryVariables
2023-02-14 14:24:36 +01:00
Bård Skaflestad
4ebf5b261e
Merge pull request #4420 from akva2/eclgenericvanguard_serialize
...
EclGenericVanguard: add serialization for dynamic state
2023-02-14 14:21:10 +01:00
Arne Morten Kvarving
24fda63778
mark variables const
2023-02-14 13:48:24 +01:00
Arne Morten Kvarving
a825a060c3
EclGenericVanguard: add serialization support
2023-02-14 13:48:09 +01:00
Arne Morten Kvarving
4b07f6d010
added: HDF5Serializer
...
this takes the serialization data and stores it in a hdf5 file,
alternatively reads the data and deserializes.
will be used for restarting purposes
2023-02-14 13:15:43 +01:00
Arne Morten Kvarving
a90189c78d
HDF5File: add recursive group creation in write
2023-02-14 13:15:43 +01:00
Arne Morten Kvarving
e5c2fcfaf2
added: HDF5File::list
...
lists a given HDF5 group
2023-02-14 13:15:43 +01:00
Bård Skaflestad
afba3f948c
Merge pull request #4417 from akva2/adaptivetimesteppingebos_serialize
...
AdaptiveTimeSteppingEbos: add serialization support
2023-02-14 11:22:18 +01:00
Arne Morten Kvarving
13a54bbdbb
AdaptiveTimeSteppingEbos: add serialization support
2023-02-13 22:03:58 +01:00
Arne Morten Kvarving
5f6bc76512
PIDAndIterationCountTimeStepControl: add serialization support
2023-02-13 22:03:19 +01:00
Arne Morten Kvarving
1827de96a2
PIDTimeStepControl: add serialization support
2023-02-13 22:03:19 +01:00
Arne Morten Kvarving
87bc1d8c10
HardcodedTimeStepControl: add serialization support
2023-02-13 22:03:19 +01:00
Arne Morten Kvarving
bd538cf61d
SimpleIterationCountTimeStepControl: add serialization support
2023-02-13 22:03:19 +01:00
Bård Skaflestad
e89b28c9a2
Merge pull request #4419 from akva2/eclgenericvanguard_setup_params
...
changed: introduce EclGenericVanguard::SetupParams
2023-02-13 21:12:01 +01:00
Bård Skaflestad
2c702aee78
Merge pull request #4416 from akva2/simulatortimer_serialize
...
SimulatorTimer: add serialization support
2023-02-13 21:08:31 +01:00
Arne Morten Kvarving
c33240f5c1
changed: introduce EclGenericVanguard::SimulationModelParams
...
this is a struct that holds the information transferred
from the simulator prior to vanguard instantation.
this way we can avoid the static members for state,
which causes issues for serialization (in particular, it makes
it impossible to compare two instances like we do in tests).
2023-02-13 18:52:38 +01:00
Arne Morten Kvarving
70e9a503a0
Merge pull request #4456 from akva2/rename_setparams
...
EclGenericVanguard: rename setParams to defineSimulationModel
2023-02-13 18:26:07 +01:00
Arne Morten Kvarving
f2a14b2d07
SimulatorTimer: add serialization support
2023-02-13 18:01:16 +01:00
Arne Morten Kvarving
4786deeffc
SimulatorTimer: include boost header instead of forwarding
...
drop the pointer usage which was used to enable forwarding
2023-02-13 17:59:35 +01:00
Arne Morten Kvarving
c6632d5b83
added: file for extra serialization packers
...
for now, it holds a packer for boost::gregorian::date
2023-02-13 17:53:05 +01:00
Arne Morten Kvarving
05f92a1133
EclGenericVanguard: rename setParams to defineSimulationModel
...
setParams is a rather generic method name, be more specific
2023-02-13 17:49:59 +01:00
Bård Skaflestad
d45a08a6cf
Merge pull request #4455 from akva2/perforationdata_missing_include
...
PerforationData: add missing include
2023-02-13 17:40:50 +01:00
Bård Skaflestad
623a03b822
Merge pull request #4454 from akva2/blackoilwellmodel_make_unique
...
BlackoilWellModel: prefer std::make_unique
2023-02-13 17:36:25 +01:00
Arne Morten Kvarving
2ed2734365
PerforationData: add missing include
2023-02-13 16:15:45 +01:00
Arne Morten Kvarving
a72a9e55a0
BlackoilWellModel: prefer std::make_unique
2023-02-13 16:04:03 +01:00
Kai Bao
0d00337275
Merge pull request #4409 from GitPaean/update_well_state_with_thp_target2
...
update well state when switching to THP control for producers
2023-02-10 16:08:32 +01:00
Bård Skaflestad
2156e16478
Merge pull request #4453 from akva2/regionaveragecalculator_missing_include
...
RegionAverageCalculator: add missing include
2023-02-10 16:02:47 +01:00
Arne Morten Kvarving
7a5f60a7bd
RegionAverageCalculator: add missing include
2023-02-10 15:09:16 +01:00
Markus Blatt
8b7c87ba52
Merge pull request #4434 from akva2/parwelmorepriv
...
ParallelWellinfo: make some more templates private
2023-02-09 16:51:32 +01:00
Bård Skaflestad
52b9ec98fb
Merge pull request #4449 from akva2/simulatorreportsingle_cleanups
...
SimulatorReportSingle: some cleanups
2023-02-09 12:36:45 +01:00
Arne Morten Kvarving
382fd73fca
SimulatorReportSingle: pass argument as std::ostream
...
no reason for this to explicitly be an ostringstream
2023-02-09 11:35:27 +01:00
Arne Morten Kvarving
cb3b50f4b7
SimulatorReportSingle: use in-class initializers
...
this way there are no explicit ctors, which again means
brace initialization works
2023-02-09 11:35:27 +01:00
Bård Skaflestad
949d03e564
Merge pull request #4448 from akva2/eclgenerictracermodel_remove_unused_member
...
EclGenericTracerModel: remove unused tracerResidual_ member
2023-02-09 10:37:26 +01:00
Arne Morten Kvarving
9bbce08bfa
EclGenericTracerModel: remove unused tracerResidual_ member
2023-02-09 10:00:23 +01:00
Bård Skaflestad
4148df3752
Merge pull request #4444 from akva2/adaptivetimesteppingebos_cleanups
...
AdaptiveTimeSteppingEbos: some cleanups
2023-02-08 16:41:46 +01:00
Arne Morten Kvarving
1919f6ae54
std::string default construct to empty string
2023-02-08 15:26:39 +01:00
Arne Morten Kvarving
8beb8adfc6
replace typedef with using
2023-02-08 15:26:39 +01:00
Arne Morten Kvarving
02215964ae
AdaptiveTimeSteppingEbos: add missing includes
...
and replace iostream with sstream which is actually in use
2023-02-08 15:26:39 +01:00
Bård Skaflestad
c451c2aada
Merge pull request #4439 from akva2/targetcalculator_missing_include
...
TargetCalculator: add missing include
2023-02-08 14:55:15 +01:00
Bård Skaflestad
65efc26faa
Merge pull request #4438 from akva2/parallel_restart_variadic_bcast
...
ParallelRestart: use variadic broadcast
2023-02-08 12:33:51 +01:00
Arne Morten Kvarving
997284ca52
TargetCalculator: add missing include
2023-02-08 09:26:11 +01:00
Arne Morten Kvarving
fe68741a68
ParallelRestart: use variadic broadcast
...
micro optimization, there is no reason to do this in two operations
2023-02-08 09:22:55 +01:00
Bård Skaflestad
80daae74b9
Merge pull request #4431 from OPMUSER/KRNUM-
...
Add KRNUM*- Keywords as Unsupported
2023-02-07 17:24:07 +01:00
Arne Morten Kvarving
8bc996e291
ParallelWellinfo: make some more templates private
...
to encapsulate some headers in compile unit. also clean
up include list in the process
2023-02-07 15:53:11 +01:00
Kai Bao
57bf959efd
update well state when switching to THP control for producers
...
hopefully, it begins at a reasonably good initial point. When the Newton
iteration begins with certian solution region, the nonlinear solution
might fail.
2023-02-07 14:50:07 +01:00
Arne Morten Kvarving
989c048db6
Merge pull request #4430 from daavid00/fixFloresIndx
...
Fix to the flores indices
2023-02-07 13:34:30 +01:00
David Landa Marban
b3a5a659f4
Fix to the flores indices
2023-02-07 13:33:44 +01:00