Commit Graph
100 Commits
Author SHA1 Message Date
Arne Morten Kvarving 980e9f6960 changed: rename macro
to better reflect reason for needing two macros
2022-09-02 15:32:54 +02:00
Arne Morten Kvarving e2eac12593 eclmpiserializer: improve vector handler
use has_serializeOp trait
2022-09-02 14:36:42 +02:00
Arne Morten Kvarving 3ed2a25470 eclmpiserializer: improve array handler
use has_serializeOp trait
2022-09-02 14:12:09 +02:00
Arne Morten Kvarving 9be60f2b3f eclmpiserializer: improve ptr handler
use has_serializeOp trait
2022-09-02 14:08:29 +02:00
Arne Morten Kvarving a9eb6159ae eclmpiserializer: improve pair handling
use has_serializeOp trait
2022-09-02 13:54:39 +02:00
Arne Morten Kvarving 5052a09d6e make MSWellHelpers templates private 2022-09-01 15:17:04 +02:00
Arne Morten Kvarving 5d9ee32853 WellGroupHelpers: simply template instantation
use types for ParallelCommunication.hpp
2022-09-01 14:55:19 +02:00
Arne Morten Kvarving 2135a4268d WellGroupHelpers: make template private 2022-09-01 14:55:19 +02:00
Arne Morten Kvarving 5824af3f1b use libfmt
also change from debug to error
2022-09-01 13:54:40 +02:00
Arne Morten Kvarving 6bd790fd16 avoid pointer semantics 2022-09-01 13:48:01 +02:00
Arne Morten Kvarving a6517d6111 remove unused template 2022-09-01 13:37:54 +02:00
Arne Morten Kvarving 18d8914ef1 wellhelpers: remove indentation for namespaces 2022-09-01 13:37:11 +02:00
Arne Morten Kvarving 69db0dd175 wellhelpers: make templates private
to increase header encapsulation
2022-09-01 13:37:11 +02:00
Arne Morten Kvarving 8bd2af1517 added: generalize variant serialization handling 2022-09-01 13:24:17 +02:00
Arne Morten Kvarving 2c0ff6f81e consistently use ParallelCommunication.hpp for communication definition 2022-09-01 12:26:11 +02:00
Arne Morten Kvarving 004e7e55fb avoid two communication calls
one less network latency cost
2022-08-31 12:54:47 +02:00
Arne Morten Kvarving 3b0b5b4708 changed: remove unneeded includes for ParameterGroup 2022-08-26 09:21:46 +02:00
Arne Morten Kvarving a9590215dc changed: consistently use std::array 2022-08-26 08:28:46 +02:00
Arne Morten Kvarving 71ca7a0c40 changed: no need to pull in polyhedralgrid if it is not used 2022-08-26 08:25:05 +02:00
Arne Morten Kvarving 447d77b579 changed: get rid of duplicate MatrixBlock headers/classes
this has already led to some confusion. move some of the code
upstream to opm-models and remove the rest of the duplicated code.

the remainder of MatrixBlock.hpp is renamed to SmallDenseMatrixUtils.hpp
2022-08-24 15:54:01 +02:00
Arne Morten Kvarving 3faccb4a17 changed: reduce some code duplication 2022-08-23 09:31:27 +02:00
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