David Landa Marban
a7fde98608
Removing trailing spaces and adding eol at eof
2025-10-02 12:54:58 +02:00
Halvor M Nilsen
0e1adcde76
Chase CpGrid CPG Processing API Change
...
The processing functions have a new 'edge_conformal' flag. Pass
'false' for this as we don't need edge conformal grids for our use
case.
2025-08-25 12:21:21 +02:00
Arne Morten Kvarving
6cedcf6a16
remove duplicate checks
...
quells static analyzer warnings
2024-08-16 14:53:46 +02:00
Arne Morten Kvarving
77dec4a64a
reformat logging statements
...
in particular avoid some repeated if conditions and multi-line
statements in one-liner ifs.
both of these quells sca warnings
2024-08-16 14:43:54 +02:00
Arne Morten Kvarving
d8ecc8be90
mark variables const
...
quells static analyzer warnings
2024-08-16 14:30:30 +02:00
Arne Morten Kvarving
41bcc182bb
mark constructors explicit
...
quells static analyzer warnings
2024-08-16 14:18:24 +02:00
Arne Morten Kvarving
3c468c6112
mark overridden methods as override
...
quells sca warnings
2024-08-16 14:08:15 +02:00
Arne Morten Kvarving
0c78a3e1b9
remove unused variable
2023-05-31 09:36:30 +02:00
Arne Morten Kvarving
fc8ac68e3e
add missing EclipseGrid.hpp includes
2023-01-17 11:15:56 +01:00
Arne Morten Kvarving
ffa1a1c32b
upscale_steadystate_implicit: remove use of sstream
2023-01-02 13:22:21 +01:00
Arne Morten Kvarving
33d67a642a
CpChop: remove use of sstream
2023-01-02 13:22:18 +01:00
Arne Morten Kvarving
45844b6422
remove unused variables
2022-09-09 08:42:48 +02:00
Joakim Hove
cc00c1444f
Downstream of filesystem reorganisation in opm-common
2021-12-14 13:26:53 +01:00
Joakim Hove
98fc9388f5
Update deck access api
2021-11-19 07:42:16 +01:00
Arne Morten Kvarving
e56141da26
Merge pull request #346 from blattms/utf-spelling
...
Use UTF-8 encoding for files and fix spelling errors.
2021-09-14 12:50:30 +02:00
Markus Blatt
2527e96d5c
Fixed spelling errors from upstream.
...
Was pointed out by lintian on Debian.
2021-09-14 12:18:55 +02:00
Arne Morten Kvarving
6ac23aea6b
Merge pull request #342 from akva2/iterator_range
...
adjust to iterator_range from opm-grid
2021-06-15 12:49:18 +02:00
Arne Morten Kvarving
b24644e0fd
adjust to iterator_range from opm-grid
2021-06-15 11:12:33 +02:00
Markus Blatt
cbe9f78c65
Cater for removed z_tolerance param of CpGrid::processEclipseFormat
2021-06-08 22:00:14 +02:00
Alf Birger Rustad
127850e3e7
Remove obsolete application
2021-05-10 15:04:10 +02:00
Kai Bao
28b32fefa7
fixing the interface of processEclipseFormat
...
due to the upstream change.
2021-04-20 15:46:50 +02:00
Bård Skaflestad
7074099338
Merge pull request #296 from akva2/use_std_random
...
changed: use std::random instead of boost::random
2020-02-17 08:25:00 -06:00
Arne Morten Kvarving
0eefc75864
changed: use std::random instead of boost::random
...
also use lambdas instead of bind
2020-02-17 14:56:43 +01:00
Arne Morten Kvarving
2c324b606c
changed: use std::to_string instead of boost::lexical_cast
2020-02-11 13:46:13 +01:00
Arne Morten Kvarving
e41517a68e
bump required dune version to 2.6
...
remove compatiblity code for older versions
2020-02-06 16:29:35 +01:00
Markus Blatt
e3d613e445
Pass a pointer to the EclipseGrid to CpGrid::processEclipseGrid.
...
... instead of a reference This is needed as we only want to read the
full deck and construct the EclipseGrid only on the master process
with rank 0. Hence all other ranks will pass a nullptr to this
function. This will be possible with this move from a reference to a
pointer.
2019-12-18 21:49:24 +01:00
Arne Morten Kvarving
7b2bbd4cab
fixed: limit scope of variables
2019-07-10 10:02:21 +02:00
Arne Morten Kvarving
bfbf727c92
fixed: avoid unnecessary assignments
2019-07-10 10:02:21 +02:00
Joakim Hove
c1f14f04dc
Remove ParseContext argument
2019-01-07 15:56:15 +01:00
Arne Morten Kvarving
bfff52244f
cpchop: add option to disable randomness in subsamples
...
useful for regression test purposes
2018-08-01 11:34:59 +02:00
Arne Morten Kvarving
e638c281fb
fixed: make sure we get a non-empty interval for the random numbers
...
if not, the generator throws
2018-08-01 10:15:32 +02:00
Atgeirr Flø Rasmussen
ce4e24b302
Adapt to moved headers in opm-grid.
2018-02-08 12:11:15 +01:00
Arne Morten Kvarving
e3ddc5b184
changed: relocate the remaining files in opm/core/utility
...
move to opm/common/utility/numeric# On branch master
2018-01-30 14:07:04 +01:00
Arne Morten Kvarving
e1490588d8
changed: opm/[core -> common]/utility/parameters
2018-01-30 13:25:45 +01:00
Atgeirr Flø Rasmussen
d05a95b033
Deleting more files not needed after the impes sims were removed.
2017-11-16 14:03:31 +01:00
Arne Morten Kvarving
a3f7e8f104
remove sim_blackoil_impes and sim_co2_impes
2017-11-15 16:22:40 +01:00
Arne Morten Kvarving
cfc70fc075
fixed: look for last dot, not first
...
resulted in unexpected file names if path held a dot.
2017-10-16 13:37:05 +02:00
Arne Morten Kvarving
5946fb2f37
Merge pull request #221 from akva2/req_dune_2.4
...
Require Dune 2.4
2017-09-22 11:41:07 +02:00
Arne Morten Kvarving
d001093c58
fixed/added: make sure wave speed calculation in elasticity upscaling is tested
2017-08-17 14:14:19 +02:00
Arne Morten Kvarving
7d9ccbd620
fixed: catch Dune::exception before std::exception
...
Dune::exception extends std::exception in dune 2.5, meaning it will be
caught by the std::exception catch
2017-08-16 11:27:39 +02:00
Arne Morten Kvarving
b2d29b7209
adjust for changed ParameterGroup namespacing
2017-04-28 15:35:33 +02:00
Jørgen Kvalsvik
d3f08246b0
Get CornerpointChopper.hpp; remove shared_ptrs
...
opm-parser no longer exposes shared_ptr or shared_ptr aliases.
2016-10-20 15:35:20 +02:00
Andreas Lauser
8af1929965
adapt to the removal of the unit system of opm-core
...
the one which is in opm-parser is now a drop-in replacement.
2016-10-10 17:31:02 +02:00
Joakim Hove
24459b4801
shared_ptr<EclipseGrid> -> const EclipseGrid&
2016-08-31 20:28:07 +02:00
Joakim Hove
063de95365
Changed grid initialisation.
...
The routines invoking EclipseGrids parsing are implemented here in
opm-upscaling.
2016-05-08 07:17:56 +02:00
Bård Skaflestad
ba0174ccd6
Upscaling Examples: Centralise ECLIPSE File Parsing
...
This commit moves the parseEclipseFile() function from the
upscale_relperm.cpp example to the RelPermUpscalerHelper class[%].
This, in turn, enables using the same implementation in most
relevant example utilities.
While here, also call the centralised {get,set}VoigtValue()
functions rather than local implementations.
[%] Suggested by: Arne Morten Kvarving
2016-04-20 10:12:14 +02:00
Bård Skaflestad
17fe369853
Upscaling Examples: Spring cleaning
...
Mostly:
- Sort headers
- Re-indent to fix white-space
- Remove long-disabled code
2016-04-19 17:51:08 +02:00
Bård Skaflestad
39eb707355
Gravity Capillary Pressure Adjustment: Use Active Grid Only
...
We already know the grid's number of active cells and its Cartesian
dimensions once we've called method tesselateGrid(). There's no
need to recompute that information. Using the values already in the
active grid enables simplifying and generalising the calculation of
the model thickness based on all the model's layers.
2016-04-19 17:51:08 +02:00
Bård Skaflestad
5cdd0f1218
upscale_relperm: Split setup out to helper functions
2016-04-18 13:59:25 +02:00
Bård Skaflestad
4b461fa7f5
Extra Keywords: Use Reference Rather Than Pointer API
...
This commit switches function addNonStandardUpscalingKeywords() to
using a reference to a modifiable Parser rather than ParserPtr.
While here, also switch to using std::make_shared<>() when
constructing the parser object.
2016-04-18 13:59:25 +02:00