Arne Morten Kvarving
3ef07d7f62
changed: put ParallelOverlappingILU0 in separate compile unit
...
i chose to split in a separate _impl file because this code is so
generic that there may be downstream users who want to use on other
matrix types than what we use in opm-simulators.
2022-08-22 11:21:31 +02:00
Arne Morten Kvarving
ec089af048
changed: split PreconditionerFactory in _impl file
...
and put instances in separate cpp files.
2022-08-22 09:33:15 +02:00
Arne Morten Kvarving
7f8c88769e
changed: split PreconditionerFactory in _impl file
...
and put instances in separate cpp files.
2022-08-19 12:43:28 +02:00
Arne Morten Kvarving
b3a9253de1
Merge pull request #4014 from bska/restore-sequential-build
...
Restore Non-MPI Builds
2022-08-18 17:37:02 +02:00
Arne Morten Kvarving
371b2592f5
changed: put ParallelIstlInformation in separate compile unit
2022-08-18 09:15:28 +02:00
Arne Morten Kvarving
a32a32649d
changed: put MILU in separate compile unit
2022-08-16 10:46:20 +02:00
Arne Morten Kvarving
6ed8a38ba5
changed: consistently use std::array
2022-08-16 08:38:54 +02:00
Arne Morten Kvarving
8cc0aa24de
changed: switch to using libfmt
2022-08-15 13:48:19 +02:00
Arne Morten Kvarving
a3e46876fb
minor cosmetics
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
99090ebf72
remove unused method
...
this was previously used by the ebos simulators
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
c405d718b1
changed: move action update handling to separate class
...
clearer interface boundaries plus it allows to build code only once
2022-08-15 12:40:13 +02:00
Arne Morten Kvarving
465623ce9f
Merge pull request #3999 from atgeirr/fix-missing-angle-bracket
...
Fix missing angle bracket.
2022-08-15 12:01:50 +02:00
Arne Morten Kvarving
ff922364f2
Merge pull request #3997 from bska/actionx-wpimult-regtest
...
Add Regression Test for WPIMULT in ACTIONX Block
2022-08-15 11:11:48 +02:00
Arne Morten Kvarving
4d5f6dde42
changed: move three more methods to generic problem class
2022-08-15 10:30:59 +02:00
Arne Morten Kvarving
88b944f60d
Merge pull request #3990 from bska/fix-nonhc-fpr
...
Fix Averaged Quantities for Non-HC Simulations
2022-08-12 11:54:26 +02:00
Arne Morten Kvarving
f57383f416
initstateequil: make it a private template
2022-08-11 15:34:55 +02:00
Arne Morten Kvarving
54cf35e821
equilibrationhelpers: make templates private
2022-08-11 15:34:55 +02:00
Arne Morten Kvarving
b399f72777
changed: avoid typetag dependence in equil initializer
2022-08-11 15:27:38 +02:00
Arne Morten Kvarving
d2ba2e75e8
remove include of Well header
2022-08-11 11:49:42 +02:00
Arne Morten Kvarving
4917c860fe
BlackOilAquiferModel: use aquifers through base interface
2022-08-11 10:04:49 +02:00
Arne Morten Kvarving
271d5bee3a
added: (re)introduce AquiferInterface
...
now a base class for both analytical and numerical aquifers
2022-08-11 09:59:49 +02:00
Arne Morten Kvarving
f166920e75
changed: rename AquiferInterface to AquiferAnalytical
2022-08-11 09:59:49 +02:00
Arne Morten Kvarving
66b4f1edb7
Aquiferxxx: some modernization
...
- typedef -> using
- use constexpr
2022-08-11 09:59:46 +02:00
Arne Morten Kvarving
c69ee0d321
VtkEclTracerModule: some modernization
...
- typedef -> using
- use constexpr
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
8ce0f63ef6
FemCpGridCompat: some modernization
...
- typedef -> using
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
5e9610fdb9
EclThresholdPressure: some modernization
...
- typedef -> using
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
58b71c94af
EclProblem: some modernization
...
- use if constexpr
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
17dc99f3cd
EclPolyhedralGridVanguard: some modernization
...
- typedef -> using
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
c626dc7488
EclNewtonMethod: some modernization
...
- typedef -> using
- use constexpr
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
beaf8c20f4
EclGenericWriter: some modernization
...
- typedef -> using
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
834a54686c
EclGenericTracerModel: some modernization
...
- use constexpr
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
f97f29fa3a
EclFluxModule: some modernization
...
- typedef -> using
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
ef8c5962b3
EclEquilInitializer: some modernization
...
- use if constexpr
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
35fa52f0b9
EclDummyGradientCalculator: some modernization
...
- typedef -> using
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
07283aa780
EclCpGridVanguard: some modernization
...
- typedef -> using
- use constexpr
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
c2de02a04d
EclAluGridVanguard: some modernization
...
- typedef -> using
- use constexpr
- use nullptr, not 0
- fix some indents
2022-08-10 12:44:53 +02:00
Arne Morten Kvarving
d0c528a240
collecttoiorank: use constexpr
2022-08-10 12:37:04 +02:00
Arne Morten Kvarving
7b74c75f7c
eclalucartesianindexmapper: some modernization
...
- typedef -> using
- use constexpr
2022-08-10 12:37:04 +02:00
Arne Morten Kvarving
36b167b451
remove use of Unused.hpp
2022-08-02 11:53:54 +02:00
Arne Morten Kvarving
90a983f942
remove faulty brace
2022-07-27 18:26:30 +02:00
Arne Morten Kvarving
57066fbdf7
add missing include
2022-07-27 16:24:04 +02:00
Arne Morten Kvarving
eeeeb283c5
remove unnecessary includes
2022-07-26 19:03:39 +02:00
Arne Morten Kvarving
9f9b21932f
add some missing EclipseState includes
2022-07-26 14:59:09 +02:00
Arne Morten Kvarving
c5fcbb8f3d
changed: use gcc pragma's to suppress strict-aliasing warning
...
we don't care
2022-06-27 14:55:30 +02:00
Arne Morten Kvarving
133856b943
changed: avoid lambda capture
...
clang warns it's not necessary to use a capture for this.
i opted to make it constexpr and avoid the capture with gcc as well.
2022-06-27 14:47:56 +02:00
Arne Morten Kvarving
9751b78992
fixed: add virtual dtor to class with virtual members
2022-06-27 14:47:44 +02:00
Arne Morten Kvarving
1794934f0d
anonymize unused parameters
2022-06-27 14:47:44 +02:00
Arne Morten Kvarving
32eb467ead
fix tests that relied on internal deck handling
2022-06-24 15:27:56 +02:00
Arne Morten Kvarving
a4d254b749
changed: introduce EclGenericVanguard::setParams
...
this is used transferring ownership of setup structures to the
simulator. drop all the flowEbosXXX set deck methods and use the
generic vanguard. also means various structs that were only passed
in the blackoil simulator are now passed in all simulators.
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
36ffb65525
remove parsecontext in generic vanguard
...
not used
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
4087fbff5b
remove errorguard in generic vanguard
...
not used
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
00c374be5c
changed: remove support for internal summaryconfig handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
4510f40b6d
changed: remove support for internal schedule handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
1a35c5ac47
changed: remove support for internal eclstate handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
371c8058bc
changed: remove support for internal deck handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
c793aff5d1
changed: rename externalSetupTime
...
external is (or will be) implied
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
3a6abf7f5c
Merge pull request #3949 from akva2/fix_build_dune2.6
...
fixed: fix build with dune 2.6
2022-06-20 14:51:20 +02:00
Arne Morten Kvarving
da57e15271
fixed: fix build with dune 2.6
2022-06-20 14:16:43 +02:00
Arne Morten Kvarving
7edca13df6
fixed: add missing config.h include
2022-04-28 11:38:02 +02:00
Arne Morten Kvarving
ae32035ebc
changed: also run the parallel onephase tests through flow binary
2022-04-27 12:41:24 +02:00
Arne Morten Kvarving
c8ee73f95f
update redhat packaging
...
- add parameter for which toolset to use
- build against openmpi3
- build with python support
- add boolean flags for the different mpi builds (mostly for testing)
- add parameter for appending extra token to package names.
this can be used for allowing multiple versions to be installed on the
same system.
2022-04-05 11:47:48 +02:00
Arne Morten Kvarving
a5374bb6b0
remove in-tree debian (ubuntu) packaging
...
ubuntu packages will be built using the debian packaging in the future
2022-03-31 15:44:14 +02:00
Arne Morten Kvarving
dd0b335dc1
fixed: use the --porcelain option when parsing git status
...
the formatting for the standard git status output is unstable,
and has changed in newer versions of the git client. this lead
to missing lines in untracked files.
2022-02-02 15:08:36 +01:00
Arne Morten Kvarving
4efd278017
fixed: build with dune 2.6
2022-01-20 10:13:12 +01:00
Arne Morten Kvarving
999e2a449e
fixed: conditionally build test_csrToCscOffsetMap
2022-01-18 13:49:24 +01:00
Arne Morten Kvarving
ea8a631ee0
Merge pull request #3772 from akva2/janitoring
...
Some janitoring
2022-01-17 14:21:59 +01:00
Arne Morten Kvarving
a82ad816c7
add fallback return (control reaches end of non-void function)
2022-01-17 13:59:47 +01:00
Arne Morten Kvarving
fd6299364b
avoid boost deprecation warning
2022-01-17 13:59:39 +01:00
Arne Morten Kvarving
9c4478c35b
adjust to upstream changes
2021-12-14 13:40:47 +01:00
Arne Morten Kvarving
81859b4268
Merge pull request #3722 from tskille/tracer_tests
...
Multiple restart tests
2021-12-13 09:33:23 +01:00
Arne Morten Kvarving
2d0d48d8c9
fix build with dune 2.6
2021-12-09 09:02:13 +01:00
Arne Morten Kvarving
390e5250f9
Merge pull request #3732 from Tongdongq/fix-solvetransposed-test
...
Only include test if opencl is found
2021-12-09 09:01:50 +01:00
Arne Morten Kvarving
ec7998d584
Merge pull request #3703 from blattms/fix-bda-wellcontrib-incomplete
...
Fixes compile error incomplete type WellContributions
2021-11-17 20:16:03 +01:00
Arne Morten Kvarving
11c0a75080
fixed: build without any bda backend
2021-11-16 15:48:29 +01:00
Arne Morten Kvarving
06fe93a430
changed: do not always start update_data branch from origin/master
...
this allows for update_data from opm-tests. the generated
PR will include the contents of the PR it was generated for
2021-11-12 11:57:13 +01:00
Arne Morten Kvarving
9e01b3b790
fixed: only update files if they actually changed
...
fixes the changed tests output
2021-11-12 11:25:45 +01:00
Arne Morten Kvarving
069882f3e4
fixed: no device handling in test_cusparseSolver
...
the exception is not thrown while setting up the bridge as in
opencl. rather the exception is thrown in the solve_system call.
2021-11-12 10:29:26 +01:00
Arne Morten Kvarving
e25caba8ed
changed: refactor BDA well contributions
...
split in API specific classes for Cuda/OpenCL
this to
1) it's cleaner
2) it avoids pulling in openCL code in cuda classes which leads
to clashes between nvidia headers and opencl.hpp
there is still too much API specific things in interface between the
bda components to work through a virtual interface so we still have to cast
to the relevant implementation in various places.
2021-11-11 14:49:33 +01:00
Arne Morten Kvarving
352d31a1e9
BdaBridge: avoid FPGA include in header
...
already includ in the cpp file where it is required.
2021-11-11 13:39:46 +01:00
Arne Morten Kvarving
7fb39f8308
BdaBridge: avoid includes in header
2021-11-11 13:39:25 +01:00
Arne Morten Kvarving
be6c857b16
bda: use forwarding for WellContributions
2021-11-11 13:29:12 +01:00
Arne Morten Kvarving
4a1fb0b86a
use std::vector for val_pointers
2021-11-11 13:15:29 +01:00
Arne Morten Kvarving
2b0508af8b
changed: use unique_ptr for MultisegmentWellContributions
...
less manual pointer management is always good
2021-11-11 13:15:29 +01:00
Arne Morten Kvarving
5bfac05827
Merge pull request #3688 from blattms/fix-wellcontrib-without-opencl
...
Fixes compilation of WellContributions with deactivated OpenCL.
2021-11-11 11:59:45 +01:00
Arne Morten Kvarving
dc136746df
cosmetics: do not indent for namespace
...
also avoid an unnecessary close/open for namespace Opm
2021-11-10 14:24:51 +01:00
Arne Morten Kvarving
24e252f46d
fix serial build after PR #3675
...
annoyingly, dune has a casting operator for mpicollectivecommunication
-> MPIComm but for some reason does not have a casting operator for
the dummy collectivecommunication -> No_Comm
2021-11-10 10:41:24 +01:00
Arne Morten Kvarving
f27931c2e2
fixed: auto function parameters requires the concept-ts
...
use a regular template parameter instead
2021-11-10 10:25:27 +01:00
Arne Morten Kvarving
7f7fbab2f4
remove FLOW_BLACKOIL_ONLY hack from Main.hpp
...
now that the python simulator uses runStatic, the
runDynamic template is never instanced, and thus there
are no linker issues.
2021-11-10 10:07:11 +01:00
Arne Morten Kvarving
3a512c0f20
changed: use runStatic in python simulator
2021-11-10 09:51:17 +01:00
Arne Morten Kvarving
7bce64cde9
use multi-var broadcast for rates
2021-11-10 08:56:04 +01:00
Arne Morten Kvarving
09f61e0e6f
WellGroupHelpers: use an array to allow for one sum call
2021-11-10 08:50:39 +01:00
Arne Morten Kvarving
04ed31f800
GasLiftGroupInfo: use an array to allow for one sum call
2021-11-10 08:48:33 +01:00
Arne Morten Kvarving
e67bae5453
fix: serial build after PR #3671
2021-11-09 15:57:24 +01:00
Arne Morten Kvarving
2120cbf043
added: utility to broadcast multiple variables in one operation
2021-11-09 13:02:05 +01:00
Arne Morten Kvarving
7de50b94c7
changed: probe for cl/opencl.hpp and use if found
...
this to avoid a spam of warnings
2021-11-01 19:41:05 +01:00
Arne Morten Kvarving
903b5462aa
Merge pull request #3650 from akva2/remove_ebos
...
Remove ebos
2021-11-01 13:38:02 +01:00
Arne Morten Kvarving
39a94863a0
remove ebos
2021-11-01 13:08:40 +01:00
Arne Morten Kvarving
06bd25575f
use std::filesystem directly
2021-11-01 12:31:58 +01:00
Arne Morten Kvarving
9395c74b3e
changed: build separate simulator binaries for flow
...
this is very convenient during development.
we can then remove the FLOW_BLACKOIL_ONLY option,
as it is no longer needed - use the flow_blackoil binary instead.
however we need to keep this support in Main.hpp due to the python
bindings relying on it.
2021-11-01 09:31:09 +01:00
Arne Morten Kvarving
371f26ac6b
fix deprecation warning with dune 2.7+
2021-10-29 12:18:36 +02:00