Commit Graph
52 Commits
Author SHA1 Message Date
Arne Morten Kvarving 5ceff8284a drop use of deprecated std::bind1first 2024-07-02 20:40:55 +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 bfbf727c92 fixed: avoid unnecessary assignments 2019-07-10 10:02:21 +02:00
Arne Morten Kvarving b5471788f6 quell unused variable warning without MPI 2019-07-01 14:36:28 +02:00
Joakim Hove c1f14f04dc Remove ParseContext argument 2019-01-07 15:56:15 +01:00
Andreas Lauser 96bcb765e5 better fix for squelching unused variable
besides the new way of doing things being better IMO, Unused.hpp
should not be used by this module anymore.
2018-02-07 10:08:45 +01:00
Andreas Lauser 6d856ad4ec adapt to the move of Unused.hpp from opm-material to opm-common 2016-11-22 14:49:01 +01: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
Arne Morten Kvarving 608fa588b0 fix build of the relperm benchmark after parser changes 2016-05-09 09:31:27 +02:00
Arne Morten Kvarving c1bf5b5f80 fixed: build of upscale_relperm_benchmark
regression from a6cf6dfa
2016-04-22 16:54:00 +02:00
Bård Skaflestad e6c8d682fb Chase ParseMode -> ParseContext Renaming in Benchmark 2016-03-17 10:42:35 +01:00
Arne Morten Kvarving d6bf0fc192 fixed: benchmark build broke with opm-parser ptr to const ref changes 2016-03-01 09:44:09 +01:00
Arne Morten Kvarving add320f783 benchmark: sync with opm-parser change 2015-09-14 13:09:59 +02:00
Arne Morten Kvarving f9ea2ef47a fixed: mpi build 2015-09-14 13:08:42 +02:00
Arne Morten Kvarving 0a46c04ddf changed: quell / remove cause of unused variable warnings 2015-09-14 11:34:32 +02:00
Arne Morten Kvarving 2969bb295f changed: make internal data private 2015-09-14 11:34:32 +02:00
Arne Morten Kvarving 4f342d9958 changed: hold on to a reference to options structure
avoid having to pass it to (almost) all functions
2015-09-14 11:34:32 +02:00
Arne Morten Kvarving c0b2fe3590 changed: make the dP vector a private member
not needed on application side
2015-09-14 11:34:32 +02:00
Arne Morten Kvarving 5afba719cb changed: make conversion factor a private member in helper class
and remove it from applications
2015-09-14 11:34:32 +02:00
Arne Morten Kvarving e8ae00d425 changed: remove debug function 2015-09-14 11:34:32 +02:00
Arne Morten Kvarving 6548d6b724 changed: move all error handling to exceptions 2015-09-14 11:34:32 +02:00
Arne Morten Kvarving 2e3d2b91c6 changed: move permeability upscaling to a function
- was duplicated in upscale_relperm / upscale_relperm_benchmark
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 3749f061ff changed: replace loops with push_back with proper calls to resize 2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 0f87352e92 changed: put upscaling of capillary pressure in a function
- was duplicated across upscale_relperm / upscale_relperm_benchmark
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 46db96d245 changed: put calculation of min/max capillary pressures in a function
- was duplicated across upscale_relperm / upscale_relperm_benchmark
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 1e7f059dca changed: move some initialization code to helper constructor 2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 95a6461107 changed: move calculation of cell center pressure gradients to a function
- was duplicated across upscale_relperm / upscale_relperm_benchmark
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 15d47ef70e changed: put grid resolutions in an array instead of 3 loose variables 2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 2fb08e4f2b changed: move tesselation of grid to a function
- was duplicated across upscale_relperm / upscale_relperm_benchmark
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving eef1a51f56 changed: move boundary condition initialization to a function
- was duplicated across upscale_relperm / upscale_relperm_benchmark
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 4ecd4ed293 changed: unify option structure with main relperm application
- to factor out common code, it needs to be similiar.
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving 24bfed5228 changed: put check for critical saturation in a function
- duplicated across upscale_relperm / upscale_relperm_benchmark
- code was duplicated for each component
- code was duplicated for each phase
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving b9ac1b0177 changed: use an array for relperm curves instead of loose members 2015-09-14 11:34:31 +02:00
Arne Morten Kvarving da60be1620 changed: move sanity checking of grid input to a function
- was duplicated across upscale_relperm / upscale_relperm_benchmark
- improves main function readability
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving aa486d7e42 changed: move upscaling of single phase permeability to a function
- was duplicated in upscale_relperm and upscale_relperm_benchmark
- improves readability of main function
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving f1f1df5c4f refactor: move phase perm to relperm calculations to helper class
- avoids duplication per phase
- avoids duplication in upscale_relperm / upscale_relperm_benchmark
2015-09-14 11:34:31 +02:00
Arne Morten Kvarving a2c2f1021f changed: use an array for phase permeability instead of two loose members. 2015-09-14 11:26:25 +02:00
Arne Morten Kvarving 5d9271620e changed: move collection of results from MPI nodes to helper class 2015-09-14 11:26:25 +02:00
Arne Morten Kvarving 6ebe55b756 changed: introduce a helper struct for relperm upscaling apps
currently only holds shared data but shared code will follow
2015-09-14 11:26:25 +02:00
Arne Morten Kvarving 2b396e0ccb changed: put the voigt tensor helper functions in a shared source
they were duplicated in 3 source files
2015-09-14 11:26:25 +02:00
Arne Morten Kvarving 086a74d5ab changed: postpone multiplication with surfaceTension to the end
unifies the benchmark with the main application. see
fa1f87c98d for the reasoning.
2015-09-14 11:26:25 +02:00
Arne Morten Kvarving da592f0049 fixed: benchmark was comparing reference to reference
NOTE: The absolute tolerance is too strict for these values,
for now lifted two orders of magnitude.
2015-09-14 11:26:25 +02:00
Arne Morten Kvarving 30e92183c6 add exception handling to upscale_relperm_benchmark 2015-09-14 11:26:24 +02:00
Arne Morten Kvarving 052609ac46 changed: mark application helper functions static 2015-09-14 11:26:24 +02:00
Arne Morten Kvarving 3a7746618d changed: write usage to cerr and remove exception message prepend 2015-09-14 11:26:24 +02:00
Arne Morten Kvarving 060bbd73d2 changed: replace C99 VLAs with std::vector in the benchmark application 2015-07-01 09:31:20 +02:00
Arne Morten Kvarving 69e4b5833b changed: use a c++11 initializer list instead of repeated inserts 2015-07-01 09:25:09 +02:00
Arne Morten Kvarving 30c7ebb607 changed: use an index table instead of switch() 2015-07-01 09:24:59 +02:00