Atgeirr Flø Rasmussen
085c279a0a
Use vertcatCollapseJacs() for improved performance.
2015-03-20 11:19:42 +01:00
Atgeirr Flø Rasmussen
07258f0249
Add function vertcatCollapsJacs().
2015-03-20 11:19:42 +01:00
dr-robertk
f288719e07
Merge pull request #334 from atgeirr/use-move-semantics
...
Use move semantics to gain performance
2015-03-20 10:47:07 +01:00
Tor Harald Sandve
388ce7548e
Averaging multiple layers of NTG values
2015-03-19 12:27:08 +01:00
Atgeirr Flø Rasmussen
ad3da1d946
Re-add copying overload of AutoDiffBlock::function().
2015-03-19 11:46:48 +01:00
Tor Harald Sandve
65199735e2
Use average NTG values for merged cells due to MINPV algorithm
...
The volume weighted averaged NTG values are used to get more
reasonable x and y transmissibilities for the cells effected by the
MINPV grid processing algorithm.
This commit starts the process of supporting the MINPV-FILL keyword
where upscaled properties are used for the merged/filled cells.
2015-03-19 11:37:03 +01:00
Andreas Lauser
f0c3a6f892
add glue code needed for thermal gas PVT
2015-03-17 13:34:29 +01:00
Andreas Lauser
924818f445
add glue code needed for thermal oil PVT
2015-03-17 13:34:29 +01:00
Andreas Lauser
debb8a1a04
add glue code needed for thermal water PVT
2015-03-17 13:34:29 +01:00
Atgeirr Flø Rasmussen
0a76af1b14
Include <utility> for std::move().
2015-03-17 09:46:15 +01:00
Atgeirr Flø Rasmussen
f0ba4a5797
Use swap() and move() to reduce copying in formEllipticSystem().
2015-03-16 14:22:32 +01:00
Atgeirr Flø Rasmussen
5ff65b40e1
Fix bug added when adapting to new API.
...
Avoid using invalidated 'jacs', make copy.
2015-03-16 14:22:32 +01:00
Atgeirr Flø Rasmussen
a4a3505fae
Remove unused method computeRelPermWells().
2015-03-16 14:22:32 +01:00
Atgeirr Flø Rasmussen
04b255a03f
Make more use of move semantics in AD code.
...
This makes some API changes to AutoDiffBlock.
- Add overload for the constant() constructor taking rvalue ref.
- Add overload for the variable() constructor taking rvalue ref.
- Make the function() constructor *require* rvalue refs.
- Add a swap() function.
The remaining changes in this commit are follow-ups especially
to the third change (adding std::move in many places), and
some removal of unnecessary block pattern arguments from calls to
the constant() static method.
2015-03-16 14:22:32 +01:00
Atgeirr Flø Rasmussen
635f3db814
Use references in computeRelperm().
2015-03-16 14:22:32 +01:00
Atgeirr Flø Rasmussen
5d5ab267d2
Use std::move() in variableState().
2015-03-16 14:22:31 +01:00
Bård Skaflestad
531bc7fd73
Merge pull request #333 from atgeirr/reduce-recalculation
...
Reduce recalculation of phase pressures
2015-03-11 09:20:51 +01:00
Bård Skaflestad
5ae25819f1
Merge pull request #331 from dr-robertk/PR/eclipsewriter-only-summary-in-substeps
...
SimFullyImplBO: write simulation state at all report step and in the end.
2015-03-10 12:32:11 +01:00
Robert Kloefkorn
11ef164865
SimFullyImplBO: write simulation state at all report step and in the end when adaptive
...
TS is enabled.
2015-03-10 12:12:31 +01:00
Atgeirr Flø Rasmussen
f6b28b0f66
Add helper computeGasPress(), use to improve performance.
...
This avoids excessive calling of constantState().
2015-03-09 10:56:35 +01:00
Atgeirr Flø Rasmussen
ec9f5c1634
Move initial term computation to assemble().
2015-03-09 10:56:35 +01:00
Atgeirr Flø Rasmussen
8f91296974
Eliminate extra computePressure() calls.
...
The function still gets called more than necessary,
but that is due to its use in variableState() and that
constantState() calls variableState().
2015-03-09 10:56:35 +01:00
Bård Skaflestad
50fd23bffe
Merge pull request #330 from atgeirr/simplify-props
...
Further simplify properties
2015-03-09 10:25:56 +01:00
Atgeirr Flø Rasmussen
818b653c15
Removed extra overload of relperm().
2015-03-09 09:40:30 +01:00
Atgeirr Flø Rasmussen
a347e35304
Removing extra overloads of rsSat() and rvSat().
...
Also a few minor fixes to docs and indentation while in the area.
2015-03-09 09:40:30 +01:00
Atgeirr Flø Rasmussen
64769f1062
Merge pull request #332 from atgeirr/fix-compile-error
...
Fix compile error instroduced by merging #275 .
2015-03-09 09:39:02 +01:00
Atgeirr Flø Rasmussen
ae31c034b6
Fix compile error instroduced by merging #275 .
...
Moved output directory code near top again, changed rank query
to use Dune::MPIHelper instead of the grid.
2015-03-09 09:37:16 +01:00
Joakim Hove
8e9cc4728e
Merge pull request #275 from joakim-hove/use-OpmLog
...
Using OpmLog instead of explicit logger
2015-03-09 08:08:07 +01:00
Joakim Hove
9b7d84bd9f
ERT-830: Using OpmLog instead of explicit logger
2015-03-09 08:00:13 +01:00
Bård Skaflestad
eed6b0a4a3
Merge pull request #329 from atgeirr/fix-rateconverter-test
...
Fix for test failures after #327 .
2015-03-05 16:27:28 +01:00
Atgeirr Flø Rasmussen
17117e7a0e
Avoid storing return value in reference.
...
Normally this is OK for by-value returns, but here the right hand side
was changed to call ADB::value(), which returns by reference.
2015-03-05 16:07:04 +01:00
Atgeirr Flø Rasmussen
17b2a0e726
Merge pull request #327 from atgeirr/simplify-props
...
Simplify properties
2015-03-05 14:01:41 +01:00
Atgeirr Flø Rasmussen
d9d3554cb7
Merge pull request #328 from dr-robertk/PR/tolerance-wells
...
Output Newton and Lienar solver iterations
2015-03-05 11:32:47 +01:00
Robert Kloefkorn
b20733eb29
nitpick adjustments.
2015-03-05 11:28:11 +01:00
Robert Kloefkorn
05260e9582
added number of linear and newton iterations to output.
2015-03-05 10:40:20 +01:00
Robert Kloefkorn
e5eec509d2
make terminal output a parameter to avoid output.
2015-03-05 10:40:20 +01:00
Robert Kloefkorn
06396b4b82
FullyImplicitBlackoilSolver: added tolerance for well convergence as parameter.
2015-03-05 10:40:15 +01:00
Atgeirr Flø Rasmussen
4be1671b4f
Merge pull request #326 from dr-robertk/PR/tolerances-as-parameters
...
Allow tolerances to be set in parameter files.
2015-03-03 14:39:08 +01:00
Atgeirr Flø Rasmussen
fbf06c06e7
Remove extra overloads of bWat(), bOil() and bGas().
...
Remaining method is the one taking AD objects. This modification
required changes to a few more places than anticipated:
- RateConverter
- FullyImplicitBlackoilSolver::computeWellConnectionPressures()
In these places, the call now is a little more complex and there
might be a very minor performance loss, until we optimize the
bX() functions to check for the no-derivatives case.
2015-03-03 14:33:19 +01:00
Robert Kloefkorn
96bda6a453
FullImplicitBlackOil and CPR: allow for dynamically changed tolerances from parameter
...
file. Default is as before.
2015-03-03 13:42:03 +01:00
Atgeirr Flø Rasmussen
1195ced57a
Remove obsolete comment.
2015-03-03 13:19:42 +01:00
Atgeirr Flø Rasmussen
1d68f7e846
Remove extra overloads of muGas() and muWat().
...
This change has been made in both BlackoilPropsAdInterface
and BlackoilPropsAdFromDeck. Only remaining overloads are
those using AD objects and passing the PhasePresence for
each data point.
2015-03-03 13:14:31 +01:00
Atgeirr Flø Rasmussen
965be0471f
Remove non-AD overload of muWat().
...
The AD version is made a little smarter, detecting the
case of input with no derivatives. Existing use of the
non-AD rewritten.
2015-03-03 12:56:30 +01:00
Bård Skaflestad
5a390f0d27
Merge pull request #323 from blattms/uggridhelpers-completion
...
Moves functions that do not depend on Eigen to Opm::UgGridHelpers. [3/3]
2015-03-02 18:50:06 +01:00
Markus Blatt
5e66f2844b
Moves include of iterterator facades to cornerpoint
2015-03-02 16:22:22 +01:00
Bård Skaflestad
e1805f3224
Merge pull request #322 from blattms/bugfix-blackoilsate
...
[bugfix] read only from the sendState in BlackoilStateDataHandle.
2015-03-02 11:30:11 +01:00
Markus Blatt
aaf82d2a65
[bugfix] read only from the sendState in BlackoilStateDataHandle.
...
During BlackoilStateDataHandle::gather we did read values from the
state where we should only receive values to. With this commit we
read from the state where we should send values.
Kudos to Bard for noticing this.
2015-03-02 11:10:02 +01:00
Atgeirr Flø Rasmussen
e1c9eea997
Merge pull request #321 from atgeirr/remove-unused-variable
...
Remove unused variable.
2015-03-02 10:35:13 +01:00
Atgeirr Flø Rasmussen
94742bd560
Remove unused variable.
2015-03-02 10:33:44 +01:00
Atgeirr Flø Rasmussen
09f6e8aacb
Merge pull request #319 from blattms/removes-uggridhelpers-cpgrid
...
Moves Opm::UgGridHelpers from opm-autodiff to dune-cornerpoint
2015-03-02 10:10:26 +01:00