Commit Graph

29 Commits

Author SHA1 Message Date
Andreas Lauser
d21f146998 consolidate the unit system to opm-parser
since the unit code within opm-parser is now a drop-in replacement,
this simplifies things and make them less error-prone.

unfortunately, this requires quite a few PRs. (most are pretty
trivial, though.)
2016-10-10 17:50:26 +02:00
Kjell W. Kongsvik
f294745fea Replace comment with "ifdef DISABLE_OUTPUT" 2016-03-29 14:57:58 +02:00
Kjell W. Kongsvik
cbef942d54 Commented out usage of OutputWriter in tutorials 2016-03-29 14:56:24 +02:00
Joakim Hove
25e82cf160 Replaced SimulatorState -> SimulationDatacontainer
Have removed the SimulatorState base class, and instead replaced with
the SimulationDatacontainer class from opm-common. The SimulatorState
objects were typcially created with a default constructor, and then
explicitly initialized with a SimulatorState::init() method. For the
SimulationDataContainer RAII is employed; the init( ) has been removed -
and there is no default constructor.
2016-03-29 10:44:49 +02:00
Joakim Hove
e5b20cb614 Added free function initSaturation().
The state argument is of type SimulatorState& - and no longer a template
parameter.
2016-02-22 22:03:41 +01:00
Joakim Hove
4e81f95c87 Changes in SimulatorState:
1. Added method setCellDataComponent()
 2. Removed setFirstSat()

Implemented saturation initialisation using setCellDataComponent()
instead of setFirstSat(). This way the template<class Props> has been
removed from the SimulatorState class.
2016-02-22 08:42:04 +01:00
Joakim Hove
61a600d840 Removed SimulatorState::init( UnstructureGrid& ) 2016-01-25 07:30:03 +01:00
Arne Morten Kvarving
96f5509243 fixed: tutorials should include config.h conditionally 2014-06-23 09:53:52 +02:00
Andreas Lauser
eec694729c catch all exceptions in all tutorials and examples 2013-09-05 13:04:38 +02:00
Júlio Hoffimann
5641247d6f Remove trailing whitespaces 2013-07-28 08:34:13 -03:00
Andreas Lauser
616a92cf80 Fix a few doxygen issues with the tutorials 2013-04-15 18:59:55 +02:00
Atgeirr Flø Rasmussen
31e7eba497 Move GridManager to grid subdir.
Also remove GridAdapter (moved to dune-cornerpoint), and
moved grid.c implementation file to grid subdir.
2013-03-18 10:16:46 +01:00
Atgeirr Flø Rasmussen
3d18341a9c Make initGravity() to private, call from constructor.
Also modify interface of solveGravity() to be minimal,
construcing columns for segregations solver at construction time.
2013-03-15 13:53:37 +01:00
Atgeirr Flø Rasmussen
bfc086a9d0 Make TransportSolverTwophaseReorder inherit TransportSolverTwophaseInterface.
This changes the solve() interface, which requires clients to change.
2013-03-15 11:31:31 +01:00
Atgeirr Flø Rasmussen
eb1b22b514 Modified for added files and changed class names. 2013-03-14 21:43:21 +01:00
Atgeirr Flø Rasmussen
2edaf4152c Adapt include statements to moved headers. 2013-03-14 10:29:42 +01:00
Atgeirr Flø Rasmussen
ed7b63f75d Merge remote-tracking branch 'upstream/release/2013.03' into make-io-subdir 2013-03-12 10:46:58 +01:00
Andreas Lauser
b6453cb0e7 tutorial: make the copyright notice disappear in the HTML
IMHO it is not useful there.
2013-03-08 12:26:42 +01:00
Atgeirr Flø Rasmussen
97959ac566 Moved writeECLData and writeVtkData to opm/core/io subdirs. 2013-03-08 08:06:18 +01:00
Tor Harald Sandve
20e7c63d69 code is now included using \snippet. Apparently this looks better with the new Doxygen version. The HTML_EXTRA_STYLESHEET is now used rather then the HTML_STYLESHEET in order to include used-defined styles for the same reason 2013-03-06 10:17:27 +01:00
Atgeirr Flø Rasmussen
f01622bd09 Examples and tutorials follow change to IncompTpfa interface. 2012-06-12 15:28:53 +02:00
Atgeirr Flø Rasmussen
99bb8c9587 Removed default null argument for wells in IncompTpfa constructor. 2012-06-07 13:34:05 +02:00
Atgeirr Flø Rasmussen
6add0e3634 Reorganized, added opm/core/wells/ and opm/core/simulator/. 2012-06-05 15:42:49 +02:00
Atgeirr Flø Rasmussen
f20f3eaf11 Simplified and cleaned up tutorial. 2012-05-30 14:40:17 +02:00
Atgeirr Flø Rasmussen
9314fc63e6 Follow changes to TwophaseState class and initState*() functions. 2012-05-16 12:54:12 +02:00
Atgeirr Flø Rasmussen
23cbdd3430 Now computePorevolume() takes a porosity array instead of a property object.
This is to make it compatible with blackoil properties.
An alternative would be to give [Incomp|Blackoil]PropertiesInterface a
common base class (RockInterface?) with the common rock-related methods.
2012-05-14 21:47:10 +02:00
Xavier Raynaud
fc9bc50896 Removed warnings from compiler. 2012-04-18 14:33:44 +02:00
Xavier Raynaud
12aaf93535 Updated tutorials. 2012-04-17 17:24:19 +02:00
Xavier Raynaud
d2fcdeec2f Added Multiphase tutorial. 2012-04-16 17:50:29 +02:00