Commit Graph

17966 Commits

Author SHA1 Message Date
Lisa Julia Nebel
fa3392fb7d Use generate_docstring_hpp.py of opm-common and delete the one here 2024-07-09 13:52:01 +02:00
Bård Skaflestad
eea42f7363
Merge pull request #5472 from atgeirr/test-fixes
Test fixes
2024-07-09 09:21:21 +02:00
Atgeirr Flø Rasmussen
db1be5e92b Fix Damaris test.
The h5diff program returns 1 (failure) if there are any differences at all,
even if using a relative or absolute difference tolerance and seeing no
differences above the tolerance. In that situation, the output will be empty,
but the return value 1.

To make this test behave similar to the other regression tests, we now check
if its output is empty instead.

Also: set relative tolerance to 0.01 and remove the absolute test. This test
is not meant to trigger for numerics changes, but should capture errors in
the writing of the HDF5 file.
2024-07-08 15:57:10 +02:00
Atgeirr Flø Rasmussen
874b136ce9 Enable running test on BSD/MacOS.
BSD getopts() require options first.
2024-07-08 15:55:41 +02:00
Kjetil Olsen Lye
f3b5e0d14d
Merge pull request #5433 from multitalentloes/useRecomendedBlockSize
Autotune thread block size
2024-07-08 14:17:39 +02:00
Tobias Meyer Andersen
085c3a9b16 add new constructor arguments in test instantiations 2024-07-08 11:35:26 +02:00
Tobias Meyer Andersen
844c7d9f67 use std::numerics for long max values 2024-07-05 11:07:58 +02:00
Bård Skaflestad
758a5f0dfd
Merge pull request #5450 from blattms/feature/remove-axisCentroid-copy
[refactor] Remove unnecessary copy in axisCentroid and simply code.
2024-07-04 23:04:21 +02:00
Markus Blatt
0caf92c6a6
Merge pull request #5448 from atgeirr/ensure-initialized-members-bdystate
Ensure all members are initialized in FlowProblem::boundaryFluidState().
2024-07-04 16:43:05 +02:00
Markus Blatt
3ee2830d28 Change distanceVector_ to take the element index instead of centroid 2024-07-04 14:40:28 +02:00
Bård Skaflestad
34502976a1
Merge pull request #5466 from akva2/fix_test_name_typo
fix typo in test name
2024-07-04 12:05:14 +02:00
Arne Morten Kvarving
220ce99a41 fix typo in test name 2024-07-04 09:32:17 +02:00
Bård Skaflestad
0406d199ab
Merge pull request #5465 from akva2/fix_damaris
add missing include and damaris reference file update support
2024-07-04 09:04:14 +02:00
Kai Bao
706fa281a1
Merge pull request #4935 from plgbrts/auto-choke
WIP: Enabling automatic choke to model a sub-sea manifold in an extended network
2024-07-03 21:29:50 +02:00
Arne Morten Kvarving
5c46d9cde5 add damaris test support to update_reference_data.sh 2024-07-03 21:01:54 +02:00
Paul
f9d82c6042 adressing several reviewers comments 2024-07-03 16:55:00 +02:00
Paul
6e76602e8f changed assessing safe THP range 2024-07-03 16:54:24 +02:00
Paul
393c70a83e clean up and improvements according reviewer comments 2024-07-03 16:54:05 +02:00
Paul
1ddf675cfd moved common thp calculation to updateWellControls 2024-07-03 16:53:51 +02:00
Paul
6ddf5dd01b allow individual well constraints 2024-07-03 16:53:29 +02:00
Paul
36dcf233c5 simplyfying code as some logic is moved to the parser 2024-07-03 16:52:11 +02:00
Bård Skaflestad
efa0895fcd
Merge pull request #5462 from GitPaean/handle_group_well_action_local
make sure a well exists in the process before closing it due to group action
2024-07-03 11:33:29 +02:00
Arne Morten Kvarving
d26ec065f3 add missing include 2024-07-03 11:02:16 +02:00
Arne Morten Kvarving
84c1f0f5c8
Merge pull request #5464 from akva2/quell_gcc12_warnings
Quell some gcc12 warnings
2024-07-03 11:00:39 +02:00
Arne Morten Kvarving
74cd10b1f2 avoid using deprecated type 2024-07-03 07:58:07 +02:00
Arne Morten Kvarving
48344facd4 add virtual destructor to class with virtual members 2024-07-02 22:41:48 +02:00
Paul
b2258dcf90 autochoke producers control mode set to THP 2024-07-02 12:13:56 +02:00
Paul
30e1f5178c Automatic choke 2024-07-02 12:13:52 +02:00
Kai Bao
ce05406483 make sure a well exists in the process
before closing it due to group action
2024-07-01 22:00:39 +02:00
Bård Skaflestad
0137bd566c
Merge pull request #5461 from akva2/basicproperties_split_param
basicproperties:  split out params
2024-07-01 20:12:12 +02:00
Arne Morten Kvarving
fb6286d795 changed: PredeterminedTimeStepsFile parameter moved to Opm::Parameters namespace 2024-07-01 17:52:10 +02:00
Arne Morten Kvarving
dfcf2358fe changed: RestartTime parameter moved to Opm::Parameters namespace 2024-07-01 17:52:10 +02:00
Arne Morten Kvarving
b4c6a1a240 changed: InitialTimeStepSize parameter moved to Opm::Parameters namespace 2024-07-01 17:52:10 +02:00
Arne Morten Kvarving
1f967940f1 changed: EndTime parameter moved to Opm::Parameters namespace 2024-07-01 17:52:10 +02:00
Arne Morten Kvarving
1e0f2b61b6 changed: PrintParameters parameter moved to Opm::Parameters namespace 2024-07-01 17:52:10 +02:00
Arne Morten Kvarving
0db393fc07 changed: PrintProperties parameter moved to Opm::Parameters namespace 2024-07-01 17:52:10 +02:00
Bård Skaflestad
0f556e583b
Merge pull request #5460 from akva2/newtonmethod_param_split
NewtonMethod: split parameters and properties
2024-07-01 17:31:40 +02:00
Arne Morten Kvarving
82cd3a2e01 changed: NewtonMaxIterations parameter moved to Opm::Parameters namespace 2024-07-01 14:13:48 +02:00
Arne Morten Kvarving
8def6b722b changed: NewtonTargetIterations parameter moved to Opm::Parameters namespace 2024-07-01 14:13:48 +02:00
Arne Morten Kvarving
0342566fd6 changed: NewtonMaxError parameter moved to Opm::Parameters namespace 2024-07-01 14:13:48 +02:00
Arne Morten Kvarving
514eddc950 changed: NewtonTolerance parameter moved to Opm::Parameters namespace 2024-07-01 14:13:48 +02:00
Arne Morten Kvarving
389ea1ef8b changed: NewtonWriteConvergence parameter moved to Opm::Parameters namespace 2024-07-01 14:13:48 +02:00
Arne Morten Kvarving
1a63dcdf8b changed: NewtonVerbose parameter moved to Opm::Parameters namespace 2024-07-01 14:13:48 +02:00
Arne Morten Kvarving
b55cc972c2
Merge pull request #5459 from OPM/dependabot/pip/python/sphinx_docs/requests-2.32.2
Bump requests from 2.31.0 to 2.32.2 in /python/sphinx_docs
2024-07-01 13:40:48 +02:00
Arne Morten Kvarving
ae6e58a468
Merge pull request #5458 from OPM/dependabot/pip/python/sphinx_docs/idna-3.7
Bump idna from 3.6 to 3.7 in /python/sphinx_docs
2024-07-01 13:40:24 +02:00
Arne Morten Kvarving
1f92effa27
Merge pull request #5456 from OPM/dependabot/pip/python/sphinx_docs/jinja2-3.1.4
Bump jinja2 from 3.1.3 to 3.1.4 in /python/sphinx_docs
2024-07-01 13:39:57 +02:00
Arne Morten Kvarving
033c3dba67
Merge pull request #5457 from OPM/dependabot/pip/python/sphinx_docs/urllib3-2.2.2
Bump urllib3 from 2.2.1 to 2.2.2 in /python/sphinx_docs
2024-07-01 13:39:23 +02:00
dependabot[bot]
027818b09a
Bump requests from 2.31.0 to 2.32.2 in /python/sphinx_docs
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 11:36:22 +00:00
dependabot[bot]
ccb85f17e0
Bump idna from 3.6 to 3.7 in /python/sphinx_docs
Bumps [idna](https://github.com/kjd/idna) from 3.6 to 3.7.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.6...v3.7)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 11:36:18 +00:00
dependabot[bot]
fe1e86bf5c
Bump jinja2 from 3.1.3 to 3.1.4 in /python/sphinx_docs
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 11:36:17 +00:00