Commit Graph
1522 Commits
Author SHA1 Message Date
Arne Morten Kvarving 9145115cab added: data::CellData mpiserializer test 2022-09-02 17:21:55 +02:00
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 69db0dd175 wellhelpers: make templates private
to increase header encapsulation
2022-09-01 13:37:11 +02:00
Arne Morten Kvarving 2c0ff6f81e consistently use ParallelCommunication.hpp for communication definition 2022-09-01 12:26:11 +02:00
Arne Morten Kvarving 1a348c0d29 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-25 12:48:53 +02:00
Atgeirr Flø Rasmussen 432df26ecc Merge pull request #4025 from bska/remove-dune-unused
Prefer Attributes to Macros
2022-08-25 08:29:33 +02:00
Bård Skaflestad a56cd6752c Revert "changed: reduce some code duplication" 2022-08-24 20:34:52 +02:00
Bård Skaflestad f3fc5331f0 Prefer Attributes to Macros 2022-08-24 17:05:55 +02:00
Bård Skaflestad e66c7f6444 Merge pull request #4022 from akva2/reduce_dup
changed: reduce some code duplication
2022-08-24 16:53:16 +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
Bård Skaflestad 1d54d554ec Merge pull request #4002 from goncalvesmachadoc/testSalt
add Test Case for Salt Precipitation
2022-08-24 00:12:18 +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
Tor Harald Sandve 9364d4c54b Add option for wvfpexp item 2 plus minor fixes 2022-08-19 10:33:19 +02:00
Tor Harald Sandve e875849497 Adapt test cases and vfpprint 2022-08-19 10:33:19 +02:00
goncalvesmachadoc 23bc8f4cde addTestCaseSalt 2022-08-15 16:46:52 +02:00
Bård Skaflestad 9a171582b4 Add Regression Test for WPIMULT in ACTIONX Block
To keep this feature working as intended.
2022-08-15 10:35:40 +02:00
Bård Skaflestad 2f4020a72f Add Regression Test for Single-Phase Water Run
Uses test model contributed by Edmund Stephens.
2022-08-11 17:51:17 +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
Atgeirr Flø Rasmussen 93ce28e9a2 Merge pull request #3972 from ElyesAhmed/alugrid2
Alugrid2
2022-08-04 15:43:24 +02:00
Elyes Ahmed 5c2b60bcd0 rebasing 2022-07-28 20:40:34 +02:00
Arne Morten Kvarving 9f9b21932f add some missing EclipseState includes 2022-07-26 14:59:09 +02:00
Bård Skaflestad a4e529914d Merge pull request #3956 from totto82/testDiff
add diffusion test case to ctest
2022-06-29 15:26:23 +02:00
Kai Bao ed78d8c99a adding a regression test for WSEGVALV 2022-06-29 14:04:23 +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 32eb467ead fix tests that relied on internal deck handling 2022-06-24 15:27:56 +02:00
Tor Harald Sandve c910c8dbac add diffusion test case to ctest 2022-06-24 10:18:21 +02:00
Atgeirr Flø Rasmussen 7fe3839500 Use MatrixBlock consistently, also whitespace cleanup. 2022-06-10 11:08:24 +02:00
Atgeirr Flø Rasmussen 16b1756339 Add necessary include statements. 2022-06-09 10:38:47 +02:00
Atgeirr Flø Rasmussen 6c5988f011 Instantiate test program with MatrixBlock not FieldMatrix.
Cuts down on the necessary instantiation combinations for FlexibleSolver.
2022-06-08 17:03:27 +02:00
hnil f3acfcde0b Adding functions for pressure system manipulation to well models.
Also add well-aware operator and transfer policy.
This will be used for CPR with custom operators.
2022-06-08 17:01:33 +02:00
Markus Blatt 02aaec82f7 Merge pull request #3815 from Tongdongq/subdomain-matrix-for-opencl
Subdomain matrix for opencl ILU preconditioner
2022-05-20 16:05:14 +02:00
Tong Dong Qiu 2d270d5613 Update GPU tests 2022-05-04 14:51:32 +02:00
Markus Blatt 9b98a8fdc1 Use flow to update reference data for onephase test cases 2022-04-26 17:07:09 +02:00
Tong Dong Qiu e360c00b73 add block-jacobi partitioner option. Add block-jacobi matrix for use in OpenCL preconditioner
Rebased
2022-04-21 17:18:32 +02:00
Markus Blatt aba4c5f487 Merge pull request #3880 from Tongdongq/fix-gpu-tests
Fix GPU tests, use Dune as reference instead of hardcoded
2022-04-21 15:21:07 +02:00
Tong Dong Qiu aa362ae239 Fix GPU tests, use Dune as reference instead of hardcoded 2022-04-21 10:51:38 +02:00
Håkon Hægland fbd6c03dd6 Cleanup glift debugging output code 2022-03-24 12:42:46 +01:00
Kai Bao 2c18d09ce1 fixing test_wellstate 2022-03-10 22:19:12 +01:00
Håkon Hægland 367e26a719 Use new constructor
Refer to opm-common/pull #2971. In order to use the new constructor
proposed in that PR, the constructor must now be passed a boolean
variable signalling if gaslift is active.
2022-03-09 09:11:10 +01:00
Torbjørn Skille 005241a13b adding regression testing of RXFT summary cases 2022-02-24 08:20:31 +01:00
Bård Skaflestad 1e121799c8 Add Multi-Array Aware Accumulator for Inter-Region Flow Rates
This commit introduces a new helper class

    Opm::EclInterRegFlowMapSingleFIP

that wraps a vector of

    Opm::EclInterRegFlowMapSingleFIP

along with the associate array names (e.g., "FIPNUM" and any
additional "FIP*" arrays).  We implement the same operations as the
*SingleFIP type and simply loop over the internal accumulators to
affect the operations.

Add unit tests to exercise the new class, including simulating
multiple MPI ranks that are communicated to a single I/O rank for
summary output purposes.
2022-02-18 10:29:56 +01:00
Bård Skaflestad 27564f0610 Add MPI-Aware Accumulator for Inter-Region Flow Rates
This commit introduces a new helper class

    Opm::EclInterRegFlowMapSingleFIP

that wraps an object of type

    Opm::data::InterRegFlowMap

along with the MPI rank's notion of a FIP region array definition
(e.g., the local FIPNUM array).  The new single-FIP flow map is
responsible for accumulating local contributions to the inter-region
flows defined by that FIP array.  In the case of connections between
MPI ranks, the rank that owns the lowest region ID accumulates the
associate flow rates.

Add unit tests to exercise the new class, including simulating
multiple MPI ranks that are communicated to a single I/O rank for
summary output purposes.
2022-02-18 10:29:56 +01:00
Markus Blatt 3b8501469c Merge pull request #3800 from Tongdongq/move-gpu-files
Move gpu files
2022-02-03 12:55:41 +01:00
Bård Skaflestad e68744e01f Merge pull request #3776 from jilocode/WTEST
Added WTEST models
2022-02-02 16:41:11 +01:00
Bård Skaflestad 1bd81ba276 Merge pull request #3788 from goncalvesmachadoc/precsalt
Add precsalt case to regression tests
2022-02-02 16:01:06 +01: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
jilocode 9ef7218194 added test cases 2022-02-02 11:34:51 +01:00
Tong Dong Qiu e81ca0526e Move opencl files to separate folder 2022-02-01 16:51:32 +01:00