Commit Graph
1754 Commits
Author SHA1 Message Date
Atgeirr Flø Rasmussen dd87f45dfb Merge pull request #433 from GitPaean/optimizing_interleaved_implementation
optimizing the formInterleavedSystem().
2015-08-17 16:06:02 +02:00
Kai Bao 997616658b adding 0th phase only once when computing sparse pattern 2015-08-17 15:33:33 +02:00
Kai Bao ce4b25f0b8 removing the unused SparseMatrix A 2015-08-17 15:12:13 +02:00
Kai Bao 7d7b05a126 removing unused Span variable. 2015-08-17 15:04:31 +02:00
Kai Bao a816f4c06c optimizing the formInterleavedSystem().
The current implementation avoids the using of formEllipticSystem() and
vercatCollapseJacs(), which take a significant amount of computing time
during the non-linear solutions.
2015-08-17 13:36:44 +02:00
Atgeirr Flø Rasmussen 8897e2bb46 Merge pull request #431 from atgeirr/silence-warnings
Silence warnings.
2015-08-14 14:04:10 +02:00
Atgeirr Flø Rasmussen 9a0ff41221 Silence warnings. 2015-08-11 09:20:35 +02:00
Joakim Hove cd02c3fb83 Merge pull request #429 from joakim-hove/parsemode2
Using new string based ParseMode api.
2015-08-10 14:36:27 +02:00
Joakim Hove 6680279815 Using new string based ParseMode api. 2015-08-09 22:18:36 +02:00
Atgeirr Flø Rasmussen d00d78453c Merge pull request #428 from dr-robertk/PR/remove-hackery-for-dune2.4
DuneMatrix: remove hackery of defining private as protected.
2015-08-07 13:04:30 +02:00
Robert Kloefkorn 9cf207f1fb DuneMatrix: remove hackery of defining private as protected. This issues has been
resolved in dune-2.4.
2015-08-07 12:08:06 +02:00
Joakim Hove b58aafe896 Merge pull request #427 from joakim-hove/parsemode-fixup
Removed extre trailing '/'
2015-08-06 18:40:15 +02:00
Joakim Hove 83c14a4dd7 Removed extre trailing '/' 2015-08-06 18:39:36 +02:00
Joakim Hove 578fb09310 Merge pull request #421 from joakim-hove/parsemode
Added ParseMode argument to parse and EclipseState
2015-08-06 17:45:01 +02:00
Joakim Hove 5ed11e4af9 Merge pull request #426 from joakim-hove/OPM-218
Opm 218
2015-08-05 15:11:28 +02:00
Joakim Hove 7bd36a6b65 Addde ParseMode argument to parse and EclipseState 2015-08-05 14:18:05 +02:00
Joakim Hove 6a841cfa83 Added new 'false' argument to writeTimeStep() 2015-08-05 13:46:17 +02:00
chflo 077f3d8ea7 OPM-218: Fix for restart interval write 2015-08-02 22:36:50 +02:00
dr-robertk c86d25a5be Merge pull request #423 from dr-robertk/PR/no-update-operator-for-bool
SimulatorBase: avoid using update operator for bool.
2015-07-29 10:23:06 +02:00
Robert Kloefkorn affc64f346 SimulatorBase: avoid using update operator for bool. 2015-07-29 10:21:55 +02:00
Atgeirr Flø Rasmussen e24cb27ad4 Merge pull request #420 from dr-robertk/PR/bug-fix-is-parallel-init
SimulatorBase[bugfix]: is_parallel_run_ was not initialized correctly.
2015-07-27 18:14:35 +02:00
Robert Kloefkorn 3ef2e883f8 SimulatorBase[bugfix]: is_parallel_run_ was not initialized when output_terminal was
false.
2015-07-27 13:08:36 +02:00
Atgeirr Flø Rasmussen 5b7e1a2e03 Merge pull request #419 from blattms/prevent-init-shared_ptr-from-nullptr
Prevents initializing std::shared_ptr from nullptr to suit gcc-4.4
2015-07-23 23:32:57 +02:00
Markus Blatt 67d5a1f503 Prevents initializing std::shared_ptr from nullptr.
For g++-4.4 support for nullptr is not complete. Using it
to initialize an empty shared_ptr breaks compilation:

/home/mblatt/src/dune/opm/opm-autodiff/opm/autodiff/AutoDiffHelpers.hpp: In constructor ‘Opm::HelperOps::HelperOps(const Grid&, Opm::EclipseStateConstPtr)’:
/home/mblatt/src/dune/opm/opm-autodiff/opm/autodiff/AutoDiffHelpers.hpp:87: error: no match for ternary ‘operator?:’ in ‘(bool)eclState ? eclState->.Opm::EclipseState::getNNC() : nullptr’
/home/mblatt/src/dune/opm/opm-autodiff/opm/autodiff/AutoDiffHelpers.hpp:87: note: candidates are: operator?:(bool, const Opm::NNC* std::__shared_ptr<const Opm::NNC, (__gnu_cxx::_Lock_policy)2u>::*, const Opm::NNC* std::__shared_ptr<const Opm::NNC, (__gnu_cxx::_Lock_policy)2u>::*) <built-in>
/home/mblatt/src/dune/opm/opm-autodiff/opm/autodiff/AutoDiffHelpers.hpp:87: note:                 operator?:(bool, const Opm::NNC* std::__shared_ptr<const Opm::NNC, (__gnu_cxx::_Lock_policy)2u>::*, T*) <built-in>

Here no conversion to shared_ptr happens.

/home/mblatt/src/dune/opm/opm-autodiff/opm/autodiff/ImpesTPFAAD.cpp: In constructor ‘Opm::HelperOps::HelperOps(const Grid&, Opm::EclipseStateConstPtr) [with Grid = UnstructuredGrid]’:
/home/mblatt/src/dune/opm/opm-autodiff/opm/autodiff/ImpesTPFAAD.cpp:160: error: no matching function for call to ‘std::shared_ptr<const Opm::EclipseState>::shared_ptr(const dune_nullptr_t&)’
/usr/include/c++/4.4/bits/shared_ptr.h:1263: note: candidates are: std::shared_ptr<_Tp>::shared_ptr(std::shared_ptr<_Tp>&&) [with _Tp = const Opm::EclipseState]
/usr/include/c++/4.4/bits/shared_ptr.h:1238: note:                 std::shared_ptr<_Tp>::shared_ptr() [with _Tp = const Opm::EclipseState]
/usr/include/c++/4.4/bits/shared_ptr.h:1236: note:                 std::shared_ptr<const Opm::EclipseState>::shared_ptr(const std::shared_ptr<const Opm::EclipseState>&)

Here the DUNE's nullptr implementation is used with std::shared_ptr which are not
compatible.

We fix this by using the emptry constructor of std::shared_ptr to create a nullptr.
2015-07-23 15:33:45 +02:00
Atgeirr Flø Rasmussen b7764601f8 Merge pull request #418 from atgeirr/fix-flow-parallel
Pass parallel info to NewtonIteration... classes.
2015-07-16 15:04:30 +02:00
Atgeirr Flø Rasmussen 6494dee820 Pass parallel info to NewtonIteration... classes. 2015-07-16 14:32:36 +02:00
Atgeirr Flø Rasmussen e638176c4a Merge pull request #416 from atgeirr/fix-eigen-resize-nnc
Fixed Eigen array dimensions must be respected in resize().
2015-07-15 13:33:08 +02:00
Atgeirr Flø Rasmussen de2a52bbda Fixed Eigen array dimensions must be respected in resize(). 2015-07-15 13:26:34 +02:00
Bård Skaflestad c5ae85e480 Merge pull request #415 from atgeirr/fix-nnctreatment
Fix nnc treatment
2015-07-13 22:09:10 +02:00
Atgeirr Flø Rasmussen 61b1a67140 Bugfix: do not call method on pointer that can be null. 2015-07-13 11:24:21 +02:00
Atgeirr Flø Rasmussen eda6899571 Simplify rhs of conditional. 2015-07-13 11:23:56 +02:00
Atgeirr Flø Rasmussen 6ca3fb7d18 Merge pull request #414 from dr-robertk/PR/adjust-autodiffgridhelpers
GridHelpers: added specialization for PolyhedralGrid.
2015-07-13 10:11:28 +02:00
Robert Kloefkorn 752f80572e GridHelpers: added specialization for PolyhedralGrid. 2015-07-10 14:16:43 +02:00
Atgeirr Flø Rasmussen 5be3ae9ad6 Merge pull request #394 from totto82/addNNC
Add support for NNC in the simulator
2015-07-10 13:07:01 +02:00
Tor Harald Sandve ab872b15e3 Remove old constructor
Pass Null pointer as default argument for the EclipseState to enable all
users to use the new constructor.
2015-07-10 10:30:29 +02:00
Tor Harald Sandve 662849637c Change size_t to int to avoid comparison warnings
and add some white spaces
2015-07-10 05:08:04 +02:00
Bård Skaflestad 85fe3d6ad2 Merge pull request #412 from atgeirr/fix-warning
Avoid unused argument warning.
2015-07-09 13:51:47 +02:00
Atgeirr Flø Rasmussen 41eefa188f Removed unneeded Opm:: qualifier, and reindent. 2015-07-09 13:45:15 +02:00
Atgeirr Flø Rasmussen c64222ce33 Avoid unused argument warning. 2015-07-09 13:37:20 +02:00
Tor Harald Sandve f1e91b8b87 Use the gridhelpers to make it run with cp-grid 2015-07-09 12:18:52 +02:00
Tor Harald Sandve 065b2f595c Add support for NNC in the simulator
1) NNC are added the grad, div and average operators
2) NNC are added the upwindSelector
3) NNC transmissibilities are added to the face transmissibilities
2015-07-09 12:15:59 +02:00
Atgeirr Flø Rasmussen 8265e0f07d Merge pull request #411 from dr-robertk/PR/fix-local-perm-for-flow_cp
Fix use of local perm for flow_cp.
2015-07-08 14:02:39 +02:00
Robert Kloefkorn db36dd6f43 GeoProps: initialize scaledFaceNormal with zero. 2015-07-08 13:46:03 +02:00
Robert Kloefkorn 3c1bf1a669 GeoProps: avoid complications if dune is not found. 2015-07-08 13:18:52 +02:00
Robert Kloefkorn bdb30ec023 GeoProps: fix the use_local_perm implementation for flow_cp. The problem that the
faceNormals are scaled differently remains.
2015-07-08 13:15:00 +02:00
Bård Skaflestad 8cd014f937 Merge pull request #408 from atgeirr/performance-opt
Performance enhancements and simplifications for BlackoilModelBase
2015-07-01 14:41:50 +02:00
Atgeirr Flø Rasmussen f0db1974cf Merge pull request #409 from andlaus/use_fluidstates_for_satfuncs
adapt to the opm-core API change in the SaturationFunctionsFromDeck to always use non-uniform tables
2015-07-01 12:58:13 +02:00
Atgeirr Flø Rasmussen 3d855b1535 Merge pull request #399 from dr-robertk/PR/merge-flow-and-flow_cp
Merge flow and flow_cp to avoid code duplication.
2015-06-30 15:11:37 +02:00
Robert Kloefkorn 34429b60f1 [bugfix] CpGrid does not yet work with use_local_perm. 2015-06-30 14:28:01 +02:00
Robert Kloefkorn 5b51a5b7b1 Merge remote-tracking branch 'upstream/master' into PR/merge-flow-and-flow_cp 2015-06-30 13:39:03 +02:00