Jørgen Kvalsvik
a52724ae97
Update to shared_ptr-less parser interface.
2016-10-20 10:14:41 +02:00
Joakim Hove
6eab1b9954
shared_ptr<EclipseGrid> -> const EclipseGrid&
2016-09-03 17:49:46 +02:00
Pål Grønås Drange
7ff2328f3f
transmult and initconfig are ref's, use ref for EclipseState constructor
2016-08-08 10:02:53 +02:00
Markus Blatt
b0b43e97b6
Fix incomplete type error for std::ofstream in examples
...
On my system I got
```c++
error: variable ‘std::ofstream file’ has initializer but incomplete type
std::ofstream file(fname.str().c_str());
```
This is fixed with this commit by including fstream. Previously,
this include might have happened implicitely.
2016-05-27 08:59:00 +00:00
Liu Ming
3e3c028581
remove the prefix from raw string, using OpmLog format.
2016-05-19 10:07:36 +08:00
Liu Ming
568101a373
use StreamLog to output messages.
2016-05-19 09:48:12 +08:00
Pål Grønås Drange
75936c1d9c
Using getInputGrid API from Parser, changed GridManager to no longer accept Deck in constructor
2016-04-20 08:51:10 +02:00
Liu Ming
939085155e
refactor relperm diagnostics using OpmLog functions.
2016-04-01 12:27:03 +08:00
Joakim Hove
a256dc0e5d
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
Liu Ming
b4a9529aed
rename ParseMode in examples folder.
2016-03-17 09:46:12 +08:00
Liu Ming
355f349470
make grid as template parameter.
2016-03-04 09:09:38 +08:00
Liu Ming
215a3f24d4
change .LOG to .SATFUNCLOG.
2016-03-02 14:58:37 +08:00
Liu Ming
d4ac98fb61
use standard filename for output log file.
2016-02-19 09:35:15 +08:00
Liu Ming
dbabffb91a
Add more parser mode options.
2016-01-25 11:13:19 +08:00
Jørgen Kvalsvik
50c1bbdc85
Fixes includes wrt opm-parser PR-656
...
Several files stopped compiling due to relying on opm-parser headers
doing includes. From opm-parser PR-656
https://github.com/OPM/opm-parser/pull/656 this assumption is no longer
valid.
2016-01-21 09:42:51 +01:00
Liu Ming
5ba0742bc9
remove unused object.
2015-12-08 16:02:36 +08:00
Liu Ming
35dff82700
Use OpmLog to output messages.
...
return messages and opmLog.
2015-12-02 10:58:06 +08:00
Liu Ming
2fc6a037b8
rename variables and remove some unnecessary check and comments.
2015-12-01 13:49:49 +08:00
Liu Ming
b4b23bfab0
1. Move implemtation to .cpp file.
...
2. Delete constructors.
3. Add config.h
2015-11-30 10:11:43 +08:00
Liu Ming
7fa569bc91
add endpoints scaling consistency check.
2015-11-26 15:22:51 +08:00
Liu Ming
bb92612fec
use commandline instead of paramGroup.
2015-11-19 16:08:26 +08:00
Liu Ming
bec412793d
use more relax ParseMode.
2015-11-19 13:31:19 +08:00
Liu Ming
d9a2fa6f42
initial RelpermDiagnostics.
2015-11-19 09:21:00 +08:00
Andreas Lauser
d41f989a78
use the error macros from opm-common
2015-10-08 11:42:15 +02:00
Joakim Hove
23b3670c1e
Updated to use ParseMode.
2015-08-06 15:56:51 +02:00
Atgeirr Flø Rasmussen
378f5d7319
Make some programs stricter about parameter parsing.
...
This applies to programs which always require at least one parameter.
2015-04-14 15:32:19 +02:00
Atgeirr Flø Rasmussen
9cb9ec50b1
Rename directory opm/core/tof -> opm/core/flowdiagnostics.
2015-02-03 21:44:24 +01:00
Atgeirr Flø Rasmussen
b54f4f0e2a
Add a utility for actually running the eikonal solver.
2014-12-29 12:28:30 +01:00
osae
c1732b0b32
Make use of EclipseState for EQLNUM and SWATINIT.
2014-06-26 14:46:57 +02:00
Andreas Lauser
05775a0b36
Glue in support for the grid property modifier keywords
...
this basically means using Opm::EclipseState instead of the raw deck
for these keywords.
with this, property modifiers like ADD, MULT, COPY and friends are
supported for at least the PERM* keywords. If additional keywords are
required these can be added relatively easily as well.
no ctest regressions have been observed with this patch on my machine.
2014-06-11 13:48:49 +02:00
Andreas Lauser
112e96d7e6
convert the examples and the tests to opm-parser
2014-04-25 14:25:54 +02:00
osae
b86fa0af86
New parser included.
2014-03-28 17:35:43 +01:00
Atgeirr Flø Rasmussen
200b5372dd
Added simple program example for initialisation.
2014-02-27 13:55:15 +01:00
Andreas Lauser
a224122d84
catch all exceptions in all tutorials and examples
2013-09-05 13:04:38 +02:00
Andreas Lauser
cb76a0fd7f
convert THROW to OPM_THROW
2013-09-05 13:04:37 +02:00
Andreas Lauser
e6a2f2655a
replace boost::scoped_ptr by std::unique_ptr
...
thanks to Bård Skaflestad, Atgeirr Rasmusen and Roland Kaufmann for
the hint.
2013-08-08 15:21:38 +02:00
Atgeirr Flø Rasmussen
5401baf533
Add call to DG tracer computations if user requests.
...
Used to throw with an 'unimplemented' message.
2013-04-24 10:40:56 +02:00
Atgeirr Flø Rasmussen
f0ba716b3a
Minor fix: do not read tracer heads unless compute_tracer is true.
2013-04-23 09:54:52 +02:00
Atgeirr Flø Rasmussen
b82a41df18
Work in progress on tracers.
...
- Changed interface.
- Read tracerheads (tracer start locations) from file in compute_tof_from_files.
- Initialize tracerheads from wells in compute_tof.
2013-04-22 14:02:45 +02:00
Atgeirr Flø Rasmussen
5578400e72
Removed experimental multi-cell solver code.
...
Since the Gauss-Seidel approach seems to be both simplest and
fastest, all parts dealing with assembling multicell systems
have been removed.
2013-04-22 11:22:23 +02:00
Atgeirr Flø Rasmussen
25a2c3d00b
Implement solveMultiCell() properly.
...
Interface change: solver now requires a linear solver (for the multi-cell blocks only).
Implementation uses new private method assembleSingleCell(), that is a modified copy
of solveSingleCell(). Should refactor.
2013-04-17 12:58:15 +02:00
Atgeirr Flø Rasmussen
f9f5cbf321
Moved ColumnExtract and initState.
...
ColumnExtract -> opm/core/grid/ and initState -> opm/core/simulator/.
2013-03-18 12:47:23 +01:00
Atgeirr Flø Rasmussen
2d876925b7
Update to follow previous moves and deletes.
2013-03-18 12:40:34 +01:00
Atgeirr Flø Rasmussen
c78b7de680
Renamed newwells.h -> wells.h.
...
Also moved implementation file to subdir.
2013-03-18 10:33:34 +01:00
Atgeirr Flø Rasmussen
507b756dac
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
87c8d0dc28
Modified for added files and changed class names.
2013-03-14 21:43:21 +01:00
Atgeirr Flø Rasmussen
b73a33f4af
Adapt include statements to moved headers.
2013-03-14 10:29:42 +01:00
Atgeirr Flø Rasmussen
862c489cc3
Complete separation of basis func classes.
...
Also:
- Add use_tensorial_basis parameter allowing run-time choice of basis.
- Remove degree argument from solveTof() method, degree is instead obtained
from parameters in constructors. Modified compute_tof* programs to match.
2013-01-16 15:13:45 +01:00
Atgeirr Flø Rasmussen
a0827ab02d
Change constructor to take ParameterGroup argument.
...
Also make tof to limit against >= 0.0, for case when upstream cell values go
below zero.
Disabled some debug output.
2013-01-08 13:14:26 +01:00
Atgeirr Flø Rasmussen
76868ebc1c
Added parameter compute_tracer. Defaults to false.
...
Triggers tracer computation and output, in addition to time-of-flight.
2013-01-03 14:08:09 +01:00