Håkon Hægland
|
90a3ae8940
|
Include missing header
|
2022-09-20 21:59:00 +02:00 |
|
Håkon Hægland
|
e143c9ed13
|
Move the CopyablePtr class to a separate file
Moved the CopyablePtr template class to opm-common, see file
opm/utility/CopyablePtr.hpp in opm-common
|
2022-09-20 01:27:59 +02:00 |
|
Håkon Hægland
|
769577c8aa
|
Explicitly initialize member in copy constructor
For clarity, explicitly default construct the unique_ptr in the copy
constructor
|
2022-09-19 18:48:33 +02:00 |
|
Håkon Hægland
|
cedb92c6d2
|
Make get() return a pointer instead of a reference
This is more in line with how std::unique_ptr works.
|
2022-09-19 18:15:04 +02:00 |
|
Håkon Hægland
|
d9c6ecf79d
|
Add missing include file
|
2022-09-19 12:03:22 +02:00 |
|
Håkon Hægland
|
d15c5b51c8
|
Use a copyable unique pointer
Use a copyable unique pointer instead of writing custom copy constructor
and assignment operator.
|
2022-09-19 01:42:09 +02:00 |
|
Håkon Hægland
|
38add2ed66
|
Rename dirId() to faceDirFromDirId()
|
2022-09-16 09:22:17 +02:00 |
|
Håkon Hægland
|
dc6141af13
|
Make updateRelperms() a static function
To aid readability, we make updateRelperms() a static function.
|
2022-09-16 09:20:48 +02:00 |
|
Håkon Hægland
|
ee8e565137
|
Use unique_ptr for dirMob_ instead of shared_ptr
To make each copy of the IQ unique, we change dirMob_ to be a shared_ptr
instead of a unique_ptr.
|
2022-09-16 09:17:39 +02:00 |
|
Håkon Hægland
|
7eeca28018
|
Add more support for directional relperms
Adds support for directional relperms for the tpfa linearizer.
|
2022-09-14 23:37:10 +02:00 |
|
Håkon Hægland
|
fe7b415350
|
Fix typo
|
2022-09-14 15:34:38 +02:00 |
|
Håkon Hægland
|
ca78d271ce
|
Only store directional mobilities if needed
|
2022-09-14 15:34:38 +02:00 |
|
Håkon Hægland
|
81cf436630
|
Add support for KRNUM
|
2022-09-14 15:34:38 +02:00 |
|
Markus Blatt
|
d1d37f3cee
|
Merge pull request #710 from akva2/reduce_dup
changed: unify matrixblock.hh with downstream MatrixBlock.hpp
|
2022-09-09 15:30:20 +02:00 |
|
Atgeirr Flø Rasmussen
|
d034fc3b58
|
Merge pull request #713 from atgeirr/fix-fast-assembly-twophase
Bugfix: make TPFA version of local linearizer work for two-phase runs.
|
2022-09-01 16:50:55 +02:00 |
|
Atgeirr Flø Rasmussen
|
92e9bd5c37
|
Bugfix: make TPFA version of local linearizer work for two-phase runs.
|
2022-09-01 13:52:58 +02:00 |
|
Arne Morten Kvarving
|
1058b371da
|
changed: consistently use std::array
|
2022-08-26 08:27:40 +02:00 |
|
Arne Morten Kvarving
|
ee9acb31cb
|
changed: unify matrixblock.hh with downstream MatrixBlock.hpp
|
2022-08-25 13:31:37 +02:00 |
|
Bård Skaflestad
|
401441dc10
|
Revert "changed: unify matrixblock.hh with downstream MatrixBlock.hpp"
|
2022-08-24 20:33:08 +02:00 |
|
Arne Morten Kvarving
|
2b30ca9f53
|
changed: unify matrixblock.hh with downstream MatrixBlock.hpp
|
2022-08-24 15:49:03 +02:00 |
|
Bård Skaflestad
|
758473ffd8
|
Merge pull request #707 from plgbrts/gas-water-fix
fix for gaswater system with water evaporation
|
2022-08-23 15:14:23 +02:00 |
|
Paul Egberts
|
23c385d3d8
|
reverted back constexpr nested the if
|
2022-08-23 14:24:47 +02:00 |
|
Paul Egberts
|
38fb8e114b
|
removed constexpr in if - else construction
|
2022-08-23 11:56:50 +02:00 |
|
Paul Egberts
|
45a968fe46
|
fix for gaswater system with water evaporation
|
2022-08-22 17:48:43 +02:00 |
|
Markus Blatt
|
2ef11d18d6
|
Merge pull request #699 from totto82/eqWeight
Set eq weights externally in the blackoil model
|
2022-08-18 11:39:16 +02:00 |
|
Arne Morten Kvarving
|
7f8828988c
|
changed: consistently use std::array
|
2022-08-16 08:36:21 +02:00 |
|
Arne Morten Kvarving
|
77eccfd869
|
fixed: avoid vector<bool> in fvbasediscretization
writes to vector<bool> is not thread safe
|
2022-08-11 09:51:34 +02:00 |
|
Atgeirr Flø Rasmussen
|
23b9e36331
|
Merge pull request #703 from atgeirr/faster_assembly_minimal
Faster assembly minimal
|
2022-08-10 11:20:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
0d4c19b723
|
Remove unneeded timeIdx function parameters.
|
2022-08-10 10:00:12 +02:00 |
|
Tor Harald Sandve
|
6405b2b6e0
|
Set eq weights externally in the blackoil model
|
2022-08-10 09:40:02 +02:00 |
|
Atgeirr Flø Rasmussen
|
3e8c024cdb
|
Ensure test suite compiles.
Adding new methods to problem class, and using the Context API for the
BlackoilIntensiveQuantities' porosity update.
|
2022-08-09 16:24:54 +02:00 |
|
Atgeirr Flø Rasmussen
|
c0f3b0072b
|
Remove Unused.hpp inclusion.
|
2022-08-09 16:14:27 +02:00 |
|
Atgeirr Flø Rasmussen
|
3b0c492b52
|
Add static asserts to prevent bugs from incompatible combinations.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
aa4e0d4d58
|
Ensure cache is updated, not only invalidated, when Newton update fails.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
dd01af1f3b
|
More safeguarding that the intensive quantities cache is updated.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
f4e98c6d32
|
Cleanup in new classes.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
75a5a3d135
|
Remove changes not needed for a minimal PR.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
4001fcffcf
|
Replace assert() with exception.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
733b6e6b11
|
Settle for handling wells the current way for now.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
d3f01b003d
|
Turn on specific well processing (thereby disabling drift comp f. ex.).
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
efd6214643
|
Follow function renaming.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
ec944ff5e3
|
Order operations in the same way as existing code.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
9ff81d2a42
|
Do fluxes before storage, as for the existing linearizer.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
b6986a24f7
|
Make the flux actually a velocity, also for the new callpath.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
6c0d5ea8c5
|
Refactoring in BlackOilLocalResidualTpfa.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
1b2c18f089
|
Remove unused code block, refactor addStorage().
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
658b366ee1
|
Fix: update rockCompTransMultiplier_.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
ad83a9531c
|
Refactor and unify the BlackoilIntensiveQuantities[Simple] classes.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
eb8d3a0b2d
|
Use simpler APIs.
|
2022-08-09 11:08:51 +02:00 |
|
Atgeirr Flø Rasmussen
|
0013c49aa2
|
Use existing formula for compressibility effect.
|
2022-08-09 11:08:51 +02:00 |
|