Commit Graph

34 Commits

Author SHA1 Message Date
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
Tor Harald Sandve
d83cb9e61f Add boolean flag to determine whether crossflow is allowed in a well
This PR adds allow_cf to the wells structure that determine whether
crossflow is allowed or not. An extra argument is added to addWell(..)
to specify the allow_cf flag.
2015-10-06 15:54:20 +02: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
Andreas Lauser
d69e463b30 convert THROW to OPM_THROW 2013-09-05 13:04:37 +02:00
Andreas Lauser
66c0705e54 use std::shared_ptr instead of boost::shared_ptr
our policy is that we only use boost if necessary, i.e., if the oldest
supported compiler does not support a given feature but boost
does. since we recently switched to GCC 4.4 or newer, std::shared_ptr
is available unconditionally.
2013-08-08 13:25:58 +02:00
Júlio Hoffimann
5641247d6f Remove trailing whitespaces 2013-07-28 08:34:13 -03:00
Júlio Hoffimann
0be19840e3 Purge unused variable in tutorial 4 2013-07-26 11:42:24 -03:00
Markus Blatt
7ede9ec88a Changed std::tr1 occurences to boost.
std::tr1 might not be supported by all compilers and will eventually
be dropped by others. Using boost instead makes this more
portable.
2013-07-04 16:04:35 +02: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
Bård Skaflestad
5f3b172d35 Dispose of "Wells" object at end of simulation.
Discovered by valgrind.
2012-06-18 10:16:28 +02:00
Bård Skaflestad
23ae68968f Add support for storing well names in "Wells" structure.
The well name must be passed as a parameter to add_well(), so update
callers accordingly.
2012-06-18 10:15:53 +02:00
Atgeirr Flø Rasmussen
f01622bd09 Examples and tutorials follow change to IncompTpfa interface. 2012-06-12 15:28:53 +02:00
Kjetil Olsen Lye
1a4e7e3065 Updated tutorial4 to use the reorder solver. 2012-06-11 13:13:19 +02:00
Xavier Raynaud
e662d1867e merge. 2012-06-06 15:19:02 +02:00
Xavier Raynaud
b01d1e7bb6 Corrected typo. 2012-06-06 15:16:07 +02:00
Atgeirr Flø Rasmussen
6add0e3634 Reorganized, added opm/core/wells/ and opm/core/simulator/. 2012-06-05 15:42:49 +02:00
Kjetil Olsen Lye
f10a76ffd1 merge. 2012-05-16 17:00:09 +02:00
Kjetil Olsen Lye
9fd882132b created first draft of well tutorial 2012-05-16 16:58:05 +02:00
Kjetil Olsen Lye
8cc01a8158 Created base for new wells tutorial 2012-05-15 10:53:13 +02:00