Arne Morten Kvarving
36b167b451
remove use of Unused.hpp
2022-08-02 11:53:54 +02:00
Arne Morten Kvarving
90a983f942
remove faulty brace
2022-07-27 18:26:30 +02:00
Arne Morten Kvarving
57066fbdf7
add missing include
2022-07-27 16:24:04 +02:00
Arne Morten Kvarving
eeeeb283c5
remove unnecessary includes
2022-07-26 19:03:39 +02:00
Arne Morten Kvarving
9f9b21932f
add some missing EclipseState includes
2022-07-26 14:59:09 +02:00
Arne Morten Kvarving
c5fcbb8f3d
changed: use gcc pragma's to suppress strict-aliasing warning
...
we don't care
2022-06-27 14:55:30 +02:00
Arne Morten Kvarving
133856b943
changed: avoid lambda capture
...
clang warns it's not necessary to use a capture for this.
i opted to make it constexpr and avoid the capture with gcc as well.
2022-06-27 14:47:56 +02:00
Arne Morten Kvarving
9751b78992
fixed: add virtual dtor to class with virtual members
2022-06-27 14:47:44 +02:00
Arne Morten Kvarving
1794934f0d
anonymize unused parameters
2022-06-27 14:47:44 +02:00
Arne Morten Kvarving
32eb467ead
fix tests that relied on internal deck handling
2022-06-24 15:27:56 +02:00
Arne Morten Kvarving
a4d254b749
changed: introduce EclGenericVanguard::setParams
...
this is used transferring ownership of setup structures to the
simulator. drop all the flowEbosXXX set deck methods and use the
generic vanguard. also means various structs that were only passed
in the blackoil simulator are now passed in all simulators.
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
36ffb65525
remove parsecontext in generic vanguard
...
not used
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
4087fbff5b
remove errorguard in generic vanguard
...
not used
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
00c374be5c
changed: remove support for internal summaryconfig handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
4510f40b6d
changed: remove support for internal schedule handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
1a35c5ac47
changed: remove support for internal eclstate handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
371c8058bc
changed: remove support for internal deck handling in simulators
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
c793aff5d1
changed: rename externalSetupTime
...
external is (or will be) implied
2022-06-24 15:06:13 +02:00
Arne Morten Kvarving
3a6abf7f5c
Merge pull request #3949 from akva2/fix_build_dune2.6
...
fixed: fix build with dune 2.6
2022-06-20 14:51:20 +02:00
Arne Morten Kvarving
da57e15271
fixed: fix build with dune 2.6
2022-06-20 14:16:43 +02:00
Arne Morten Kvarving
7edca13df6
fixed: add missing config.h include
2022-04-28 11:38:02 +02:00
Arne Morten Kvarving
ae32035ebc
changed: also run the parallel onephase tests through flow binary
2022-04-27 12:41:24 +02:00
Arne Morten Kvarving
c8ee73f95f
update redhat packaging
...
- add parameter for which toolset to use
- build against openmpi3
- build with python support
- add boolean flags for the different mpi builds (mostly for testing)
- add parameter for appending extra token to package names.
this can be used for allowing multiple versions to be installed on the
same system.
2022-04-05 11:47:48 +02:00
Arne Morten Kvarving
a5374bb6b0
remove in-tree debian (ubuntu) packaging
...
ubuntu packages will be built using the debian packaging in the future
2022-03-31 15:44:14 +02:00
Arne Morten Kvarving
dd0b335dc1
fixed: use the --porcelain option when parsing git status
...
the formatting for the standard git status output is unstable,
and has changed in newer versions of the git client. this lead
to missing lines in untracked files.
2022-02-02 15:08:36 +01:00
Arne Morten Kvarving
4efd278017
fixed: build with dune 2.6
2022-01-20 10:13:12 +01:00
Arne Morten Kvarving
999e2a449e
fixed: conditionally build test_csrToCscOffsetMap
2022-01-18 13:49:24 +01:00
Arne Morten Kvarving
ea8a631ee0
Merge pull request #3772 from akva2/janitoring
...
Some janitoring
2022-01-17 14:21:59 +01:00
Arne Morten Kvarving
a82ad816c7
add fallback return (control reaches end of non-void function)
2022-01-17 13:59:47 +01:00
Arne Morten Kvarving
fd6299364b
avoid boost deprecation warning
2022-01-17 13:59:39 +01:00
Arne Morten Kvarving
9c4478c35b
adjust to upstream changes
2021-12-14 13:40:47 +01:00
Arne Morten Kvarving
81859b4268
Merge pull request #3722 from tskille/tracer_tests
...
Multiple restart tests
2021-12-13 09:33:23 +01:00
Arne Morten Kvarving
2d0d48d8c9
fix build with dune 2.6
2021-12-09 09:02:13 +01:00
Arne Morten Kvarving
390e5250f9
Merge pull request #3732 from Tongdongq/fix-solvetransposed-test
...
Only include test if opencl is found
2021-12-09 09:01:50 +01:00
Arne Morten Kvarving
ec7998d584
Merge pull request #3703 from blattms/fix-bda-wellcontrib-incomplete
...
Fixes compile error incomplete type WellContributions
2021-11-17 20:16:03 +01:00
Arne Morten Kvarving
11c0a75080
fixed: build without any bda backend
2021-11-16 15:48:29 +01:00
Arne Morten Kvarving
06fe93a430
changed: do not always start update_data branch from origin/master
...
this allows for update_data from opm-tests. the generated
PR will include the contents of the PR it was generated for
2021-11-12 11:57:13 +01:00
Arne Morten Kvarving
9e01b3b790
fixed: only update files if they actually changed
...
fixes the changed tests output
2021-11-12 11:25:45 +01:00
Arne Morten Kvarving
069882f3e4
fixed: no device handling in test_cusparseSolver
...
the exception is not thrown while setting up the bridge as in
opencl. rather the exception is thrown in the solve_system call.
2021-11-12 10:29:26 +01:00
Arne Morten Kvarving
e25caba8ed
changed: refactor BDA well contributions
...
split in API specific classes for Cuda/OpenCL
this to
1) it's cleaner
2) it avoids pulling in openCL code in cuda classes which leads
to clashes between nvidia headers and opencl.hpp
there is still too much API specific things in interface between the
bda components to work through a virtual interface so we still have to cast
to the relevant implementation in various places.
2021-11-11 14:49:33 +01:00
Arne Morten Kvarving
352d31a1e9
BdaBridge: avoid FPGA include in header
...
already includ in the cpp file where it is required.
2021-11-11 13:39:46 +01:00
Arne Morten Kvarving
7fb39f8308
BdaBridge: avoid includes in header
2021-11-11 13:39:25 +01:00
Arne Morten Kvarving
be6c857b16
bda: use forwarding for WellContributions
2021-11-11 13:29:12 +01:00
Arne Morten Kvarving
4a1fb0b86a
use std::vector for val_pointers
2021-11-11 13:15:29 +01:00
Arne Morten Kvarving
2b0508af8b
changed: use unique_ptr for MultisegmentWellContributions
...
less manual pointer management is always good
2021-11-11 13:15:29 +01:00
Arne Morten Kvarving
5bfac05827
Merge pull request #3688 from blattms/fix-wellcontrib-without-opencl
...
Fixes compilation of WellContributions with deactivated OpenCL.
2021-11-11 11:59:45 +01:00
Arne Morten Kvarving
dc136746df
cosmetics: do not indent for namespace
...
also avoid an unnecessary close/open for namespace Opm
2021-11-10 14:24:51 +01:00
Arne Morten Kvarving
24e252f46d
fix serial build after PR #3675
...
annoyingly, dune has a casting operator for mpicollectivecommunication
-> MPIComm but for some reason does not have a casting operator for
the dummy collectivecommunication -> No_Comm
2021-11-10 10:41:24 +01:00
Arne Morten Kvarving
f27931c2e2
fixed: auto function parameters requires the concept-ts
...
use a regular template parameter instead
2021-11-10 10:25:27 +01:00
Arne Morten Kvarving
7f7fbab2f4
remove FLOW_BLACKOIL_ONLY hack from Main.hpp
...
now that the python simulator uses runStatic, the
runDynamic template is never instanced, and thus there
are no linker issues.
2021-11-10 10:07:11 +01:00
Arne Morten Kvarving
3a512c0f20
changed: use runStatic in python simulator
2021-11-10 09:51:17 +01:00
Arne Morten Kvarving
7bce64cde9
use multi-var broadcast for rates
2021-11-10 08:56:04 +01:00
Arne Morten Kvarving
09f61e0e6f
WellGroupHelpers: use an array to allow for one sum call
2021-11-10 08:50:39 +01:00
Arne Morten Kvarving
04ed31f800
GasLiftGroupInfo: use an array to allow for one sum call
2021-11-10 08:48:33 +01:00
Arne Morten Kvarving
e67bae5453
fix: serial build after PR #3671
2021-11-09 15:57:24 +01:00
Arne Morten Kvarving
2120cbf043
added: utility to broadcast multiple variables in one operation
2021-11-09 13:02:05 +01:00
Arne Morten Kvarving
7de50b94c7
changed: probe for cl/opencl.hpp and use if found
...
this to avoid a spam of warnings
2021-11-01 19:41:05 +01:00
Arne Morten Kvarving
903b5462aa
Merge pull request #3650 from akva2/remove_ebos
...
Remove ebos
2021-11-01 13:38:02 +01:00
Arne Morten Kvarving
39a94863a0
remove ebos
2021-11-01 13:08:40 +01:00
Arne Morten Kvarving
06bd25575f
use std::filesystem directly
2021-11-01 12:31:58 +01:00
Arne Morten Kvarving
9395c74b3e
changed: build separate simulator binaries for flow
...
this is very convenient during development.
we can then remove the FLOW_BLACKOIL_ONLY option,
as it is no longer needed - use the flow_blackoil binary instead.
however we need to keep this support in Main.hpp due to the python
bindings relying on it.
2021-11-01 09:31:09 +01:00
Arne Morten Kvarving
371f26ac6b
fix deprecation warning with dune 2.7+
2021-10-29 12:18:36 +02:00
Arne Morten Kvarving
a056aa858a
changed: special case no input deck given handling
...
we do not want to invoke MPI_Abort in this case
2021-10-29 12:16:01 +02:00
Arne Morten Kvarving
8c7f635dc2
build flow_brine_energy as an object library
...
improves parallel builds
2021-10-18 14:24:55 +02:00
Arne Morten Kvarving
21af223b92
rename flow_brine_thermal to flow_brine_energy
...
naming should be consistent with the established convention
2021-10-18 12:48:11 +02:00
Arne Morten Kvarving
673b049b9a
changed: use getopts in test drivers
...
the number of options were getting unmanagable as
a flat list.
also add help/usage to the scripts
2021-10-13 14:24:55 +02:00
Arne Morten Kvarving
8eb63409cb
fixed: double call to MPI_Finalize
...
I missed this one when moving the MPI handling into RAII style
2021-10-13 09:35:16 +02:00
Arne Morten Kvarving
c6d2fc85ef
added: option to add a restart run to a regression test
...
this restarts the simulation at a specified step.
it then compares the results from this run to a separate,
existing regression data set.
2021-09-24 14:34:53 +02:00
Arne Morten Kvarving
50f060a54e
Merge pull request #3517 from atgeirr/fix-missing-include
...
Add missing include for unordered_map.
2021-09-09 13:34:52 +02:00
Arne Morten Kvarving
ce4028b2f0
drop using statement for getAllowCrossFlow
...
rather qualify member function calls with this->
2021-09-09 11:53:48 +02:00
Arne Morten Kvarving
7609f7e1f7
drop using statement for ebosCompIdxToFlowCompIdx
...
rather qualify member function calls with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
36cec80269
drop using statement for flowPhaseToEbosPhaseIdx
...
rather qualify member function calls with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
d2fb4f3266
drop using statement for flowPhaseToEbosCompIdx
...
rather qualify member function calls with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
fc882fbc29
drop using statement for name
...
rather qualify member function calls with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
ddf621acdd
drop using statement for phaseUsage
...
rather qualify member function calls with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
824232b7c9
drop using statement for ipr_b_
...
rather qualify member variable with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
115cfe26df
drop using statement for ipr_a_
...
rather qualify member variable with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
14273b8c2d
drop using statement for connectionRates_
...
rather qualify member variable with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
15b4ea672f
drop using statement for num_components_
...
rather qualify member variable with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
9970fb4ab4
drop using statement for perf_depth_
...
rather qualify member variable with this->
2021-09-09 11:53:35 +02:00
Arne Morten Kvarving
78a4aa3ede
drop using statement for gravity_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
5c3e13abd5
drop using statement for well_efficiency_factor_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
4a0aa788ee
drop using statement for saturation_table_number_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
b34808895a
drop using statement for well_index_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
bfb7d2a466
drop using statement for param_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
6f4f41f080
drop using statement for well_cells_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
d10fa061c3
drop using statement for number_of_phases_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
72b14cf07e
drop using statement for number_of_perforations_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
aa389ff4f8
drop using statement for ref_depth_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
0f6e07676e
drop using statement for well_ecl_
...
rather qualify member variable with this->
2021-09-09 11:53:34 +02:00
Arne Morten Kvarving
af745f26ef
drop unused using statements
2021-09-09 11:53:33 +02:00
Arne Morten Kvarving
ae212ff883
drop using statement for ipr_b_
...
rather qualify member variable with this->
2021-09-07 11:26:33 +02:00
Arne Morten Kvarving
870cb04e68
drop using statement for ipr_a_
...
rather qualify member variable with this->
2021-09-07 11:26:33 +02:00
Arne Morten Kvarving
ad39dbdaf0
drop using statement for bore_diameters_
...
rather qualify member variable with this->
2021-09-07 11:26:33 +02:00
Arne Morten Kvarving
001d69c17b
drop using statement for perf_length_
...
rather qualify member variable with this->
2021-09-07 11:26:33 +02:00
Arne Morten Kvarving
475bea085c
drop using statement for perf_rep_radius_
...
rather qualify member variable with this->
2021-09-07 11:26:33 +02:00
Arne Morten Kvarving
2cc38ed396
drop using statement for connectionRates_
...
rather qualify member variable with this->
2021-09-07 11:26:33 +02:00
Arne Morten Kvarving
9b92837673
drop using statement for num_components_
...
rather qualify member variable with this->
2021-09-07 11:26:33 +02:00
Arne Morten Kvarving
1d15c3064a
drop using statement for index_of_well_
...
rather qualify member variable with this->
2021-09-07 11:25:09 +02:00
Arne Morten Kvarving
10b756d08c
drop using statement for well_index_
...
rather qualify member variable with this->
2021-09-07 11:25:09 +02:00