Commit Graph

4405 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
6b2bc6c4d6 Avoid signed/unsigned warning. 2014-04-15 13:40:50 +02:00
Atgeirr Flø Rasmussen
3ec1e22f21 Comment out unused function argument. 2014-04-15 13:40:15 +02:00
Atgeirr Flø Rasmussen
049df8bc60 Avoid signed/unsigned mismatch. 2014-04-15 13:39:44 +02:00
Atgeirr Flø Rasmussen
0aa72eda5d Comment or add (void) usage of unused arguments. 2014-04-15 13:39:03 +02:00
Bård Skaflestad
04704de376 Merge pull request #518 from blattms/master-refactor-for-cpgrid-support
refactor for cpgrid support to apply to master
2014-04-15 00:02:31 +02:00
Markus Blatt
9afa1d3834 Merge pull request #2 from bska/master-refactor-for-cpgrid-support
Fix build in !HAVE_DUNE_CORNERPOINT case
2014-04-14 23:12:19 +02:00
Bård Skaflestad
0ced59db4a Merge pull request #570 from andlaus/pvdco_to_pvcdo
fix typo: it's PVCDO, not PVDCO
2014-04-11 17:40:50 +02:00
Andreas Lauser
693ac17aed fix typo: it's PVCDO, not PVDCO
(since the parser did not have a definition for this keyword until
_very_ recently, I severly doubt that these code paths have been used
recently...)
2014-04-11 11:56:27 +02:00
Atgeirr Flø Rasmussen
f1b4321d28 Merge pull request #569 from atgeirr/fix-incomplete-removal
Remove grdecl.h from file list.
2014-04-10 20:54:54 +02:00
Atgeirr Flø Rasmussen
14e93aea75 Remove grdecl.h from file list. 2014-04-10 20:51:06 +02:00
Atgeirr Flø Rasmussen
53690a448f Merge pull request #568 from andlaus/remove_grdecl_h
remove second grdecl.h header file
2014-04-10 20:47:54 +02:00
Andreas Lauser
07d0196466 remove second grdecl.h header file
that one was completely unused and the "grdecl" struct defined in
there collided name-wise with the one defined in "GridManager.hpp".
trying to link code which used the version of the grdecl.h header with
code that used the one from GridManager.hpp would have resulted in _a
lot_ hilarity...
2014-04-10 18:06:05 +02:00
Bård Skaflestad
18624766f2 Declare initBlackoilStateFromDeck(DeckConstPtr)
This was missing in commit 4c2120c and produced some build failures
that were hard to analyse.  I'm not convinced that the underlying
problem is solved, but this does at least restore the build.
2014-04-10 00:51:28 +02:00
Bård Skaflestad
89f282f19f Implement Dune::CpGrid operations when needed only
The functions

    multiplyFaceNormalWithArea
    maybeFreeFaceNormal

operating on Dune::CpGrids must not be implemented unless they are
actually used.  Otherwise we get link failures if (e.g.,)
opm-autodiff is being built without CpGrid support.

Hide the definitions behind "#ifdef HAVE_DUNE_CORNERPOINT".
2014-04-10 00:03:10 +02:00
Bård Skaflestad
51c664800f Prefer C++ headers
Also, remove a couple of headers that were no longer needed.
2014-04-10 00:00:14 +02:00
Bård Skaflestad
4fe22ea137 Don't include "config.h" in public header
That's always an error.  Presumably, this was a left-over from
conversion to templates.
2014-04-09 23:58:34 +02:00
Markus Blatt
4c2120c770 Added missing variant of initBlackoilStateFromDeck with new parser and without UG. 2014-04-09 14:34:04 +02:00
Markus Blatt
0dcd0351fc Removed superfluous parameter cartdims from initStateFromDeck.
The parameter was unused and would cause trouble in initBlackoilStateFromDeck.
2014-04-09 14:33:35 +02:00
Markus Blatt
fdd19fd3f6 Reintroduce lifetime guarantees for UnstructuredGrid used.
In this pull requested we resorted to storing the data items (e.g. cart_dims, global_cell,
etc.) instead of the UnstructuredGrid. Unfortunately, this is a change of the lifetime
guarantees: Previously, a shared_ptr to the Unstructuredgrid was stored. Thus the data members
were available for the lifetime of the EclipseWriter. With the previous changes the grid could
actually have been destroyed before the writer.

Therefore we no store a shared_ptr to the UnstructuredGrid again (in addition to the datamembers).
Thus at least for UnstructuredGrid the old guarantees still hold.
2014-04-09 10:31:46 +02:00
Markus Blatt
ebc86bc624 Merge remote-tracking branch 'upstream/master' into master-refactor-for-cpgrid-support
Manually resolved conflicts in:
	opm/core/io/eclipse/EclipseWriter.cpp
	opm/core/io/eclipse/EclipseWriter.hpp
	opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp
2014-04-08 21:50:00 +02:00
Atgeirr Flø Rasmussen
f0c334a901 Merge pull request #563 from osae/testEPS
New parser; proper handling of ENPTVD/ENKRVD.
2014-04-08 13:51:43 +02:00
Bård Skaflestad
f3ebd78296 Merge pull request #538 from blattms/parallel-solver-support
Added support for parallel dune-istl solvers
2014-04-08 00:17:35 +02:00
Markus Blatt
94c9a69bfb Merge pull request #1 from bska/no-mpi
Fix build issues in !HAVE_MPI case
2014-04-07 23:26:56 +02:00
Bård Skaflestad
ce687039b2 Don't reference OwnerOverlap* unless MPI is available
The class OwnerOverlapCopyCommunication is not defined unless MPI is
avilable.  Therefore, we cannot reference the type unless we know
that MPI is available in the current translation unit.
2014-04-07 20:01:18 +02:00
Bård Skaflestad
e434000f4e Search for MPI support
The build system depends on knowing if MPI is available.  Explicitly
search for MPI to honour that requirement.  Don't rely on ISTL's
transitive searching for the same.
2014-04-07 20:01:18 +02:00
Bård Skaflestad
1fca44fb03 Explicitly group conditions
For some reason I was unable to produce correct criteria without
inserting explicit parentheses.  I don't know why that is, but
better safe than sorry.
2014-04-07 20:01:18 +02:00
Bård Skaflestad
a154887a2b Exclude "test_parallel_linearsolver" from non-MPI builds
The "sources_hook" runs after "OpmFiles" in "OpmLibMain".
Therefore, we must search the "tests_SOURCES" to exclude particular
tests from the build.

This fixes a build problem in the non-MPI case.
2014-04-07 20:01:18 +02:00
Bård Skaflestad
18119e0cb4 Merge pull request #564 from atgeirr/add_compi_producers
Add Wells::comp_frac for producers
2014-04-07 18:16:17 +02:00
Atgeirr Flø Rasmussen
59bdd5f31e Changed documentation of Wells::comp_frac to match reality. 2014-04-06 23:45:08 +02:00
Atgeirr Flø Rasmussen
3d98f7a77e Use preferred phase of producer well to set comp_fraction.
This replaces the previous hack, that set comp_fraction to (0,1,0) always.
2014-04-06 23:33:43 +02:00
osae
498555fcdd New parser; proper handling of ENPTVD/ENKRVD. 2014-04-05 10:56:30 +02:00
Atgeirr Flø Rasmussen
954924064f Merge remote-tracking branch 'totto82/add_compi_producers' into add_compi_producers 2014-04-05 00:18:38 +02:00
Atgeirr Flø Rasmussen
c0ecf0bc77 Merge pull request #559 from andlaus/EclipseWriter_fix_summary_output
Eclipse writer fix summary output
2014-04-04 23:30:31 +02:00
Atgeirr Flø Rasmussen
55fe6b5b69 Merge pull request #558 from andlaus/EclipseWriter_refactor_writeInit_semantics
Eclipse writer refactor write init semantics
2014-04-04 23:24:48 +02:00
Bård Skaflestad
2ffc5a0480 Merge pull request #562 from atgeirr/add-testfiles-to-list
Add test data files needed for test_equil to the right cmake list.
2014-04-04 23:08:52 +02:00
Atgeirr Flø Rasmussen
4f330ea07b Merge pull request #557 from andlaus/EclipseWriter_remove_old_parser
Eclipse writer remove old parser
2014-04-04 23:02:24 +02:00
Atgeirr Flø Rasmussen
4d5a92e3ff Add test data files needed for test_equil to the right cmake list. 2014-04-04 22:53:34 +02:00
Atgeirr Flø Rasmussen
b07cd277a7 Merge pull request #561 from totto82/fix_viscosity_table
Fix undersaturated viscosity table
2014-04-04 22:41:11 +02:00
Atgeirr Flø Rasmussen
a47c9c7330 Merge pull request #544 from osae/equil-init
Equil init
2014-04-04 22:39:37 +02:00
Markus Blatt
ec789bc63a Removes unused parameter warnings in TransTpfa_impl.hpp. 2014-04-04 21:29:19 +02:00
Markus Blatt
d83374e6b7 Merge remote-tracking branch 'upstream/master' into master-refactor-for-cpgrid-support
Removed conflicts in
	opm/core/wells/WellsManager.cpp
that were due to the change
```diff
-                    pd.well_index = WellsManagerDetail::computeWellIndex(radius, cubical, cell_perm, completion->getDiameter());
+                    pd.well_index = WellsManagerDetail::computeWellIndex(radius, cubical, cell_perm, completion->getSkinFactor());
```
in  WellsManager::createWellsFromSpecs which moved from WellsManager.cpp to WellsManager_impl.hpp file in a previous commit.
2014-04-04 21:21:22 +02:00
Markus Blatt
67fffa0951 Fix matrix size and symmetry for parallel runs. 2014-04-04 21:01:32 +02:00
Markus Blatt
3375e313e5 Merge remote-tracking branch 'upstream/master' into parallel-solver-support
Removed conflicts in:
	opm/core/linalg/LinearSolverIstl.cpp
2014-04-04 20:38:52 +02:00
Bård Skaflestad
5bb0345698 Merge pull request #535 from blattms/add-scalar-product
Explicitly construct the ScalarProduct, and SequentialInformation.
2014-04-04 18:41:56 +02:00
Tor Harald Sandve
4576917061 Fix undersaturatd viscosity table
Data is now correctly read from ununderdatTable instead of pvtgTable
2014-04-04 16:06:19 +02:00
Andreas Lauser
e693fa8cf1 EclipseWriter: write the summary file after each call to writeTimeStep()
this allows to interrupt a simulation and inspect the summary file
which was computed up to that point...
2014-04-04 14:29:34 +02:00
Tor Harald Sandve
aef6205fb7 Hack to set compi for producer.
compi is set to [0 1 0] for all producers
2014-04-04 12:15:49 +02:00
osae
04d8322fa0 Some additional tests: live gas, RSVD and RVVD 2014-04-03 09:07:00 +02:00
Andreas Lauser
b4b03ffee3 EclipseWriter: remove unused method activeToGlobalCellData_() 2014-04-02 16:47:59 +02:00
Andreas Lauser
c8683b39d0 EclipseWriter: fold the writeSolution_() method back into writeTimeStep()
because this was the only caller...
2014-04-02 16:47:27 +02:00