Commit Graph
23168 Commits
Author SHA1 Message Date
Kjetil Olsen Lye 38a2e20e2c Removed unused variables 2025-09-15 14:08:52 +02:00
Arne Morten Kvarving c167c4c8ab Merge pull request #6466 from multitalentloes/extract_invariants
Extract loop invariant in matrix assembly
2025-09-15 13:56:05 +02:00
Kjetil Olsen Lye d9fa3f100d Formatting 2025-09-15 13:20:54 +02:00
Kjetil Olsen Lye 4398ee56c3 Adding tests for BlackOilFluidState and ConditionalStorage on GPU 2025-09-15 13:20:54 +02:00
Tobias Meyer Andersen 3fe4b533e0 updated comment 2025-09-15 11:48:57 +02:00
Tobias Meyer Andersen 4414ae6846 fetch timestepsize outside of loop 2025-09-15 11:28:15 +02:00
Arne Morten Kvarving 5190f487f9 Merge pull request #6465 from akva2/python_packaging_lto
python packaging: enable LTO
2025-09-15 11:02:01 +02:00
Arne Morten Kvarving b44692349e python packaging: enable LTO 2025-09-15 09:53:25 +02:00
Arne Morten Kvarving 920bbd6d12 Merge pull request #6461 from hakonhagland/fix_su_warnings
Fix python setup.py warnings
2025-09-15 09:27:37 +02:00
Bård Skaflestad 2303077513 Merge pull request #6460 from GitPaean/removing_two_instantion_indices
removing instantiation for two Indices setup with non-zero PVOffset
2025-09-15 08:54:18 +02:00
Tor Harald Sandve 6b3f14684d Dont include temporary stopped wells among the wells considered for group control 2025-09-15 08:47:22 +02:00
Håkon Hægland 53270c95b6 docker: clean pip usage and drop pytest-runner
- Export PIP_ROOT_USER_ACTION=ignore to silence root-user warning in manylinux.
- Remove pytest-runner from build-time pip installs; no longer needed after
  removing setup_requires.
2025-09-12 17:57:33 +02:00
Kai Bao 71c1feb55c removing instantiation for two Indices setup
with non-zero PVOffset.
2025-09-12 16:13:47 +02:00
Håkon Hægland ac490531f1 python/docker: finalize pyproject build-system and SPDX license
- Bump setuptools floor to >=61 in pyproject.toml with rationale comments.
- Declare build-backend explicitly; keep classic scikit-build.
- Switch setup.py license to SPDX expression (GPL-3.0-or-later) and remove
  deprecated license classifier, keeping only non-license classifiers.
2025-09-12 16:06:51 +02:00
Håkon Hægland 31716f2cef docker/python: switch to PEP 517 builds via python -m build
- Replace direct setup.py invocations with: python -m build --sdist --wheel
- Add comments explaining motivation (setuptools deprecations, build isolation)
  and why we drop explicit --plat-name/--python-tag (auditwheel/env handles).
- Ensure the build frontend is present per-interpreter by installing 'build'.

Also add build-backend to pyproject.toml with notes and TODO for full modernization.
2025-09-12 16:00:57 +02:00
Atgeirr Flø Rasmussen 00e9b6b276 Merge pull request #6443 from GitPaean/phase_usage_components_conversions
removing the function flowPhaseToModelPhaseIdx and reimplementing the other two mapping functions.
2025-09-12 15:55:03 +02:00
Håkon Hægland ce3ee6fc98 python: remove deprecated setup.py args (setuptools warnings)
- Drop legacy setup_requires and test_suite to stop
  setuptools _DeprecatedInstaller / fetch_build_eggs and
  unknown distribution option warnings.
- Add inline comment explaining rationale and PEP 517 context.
2025-09-12 15:42:24 +02:00
Bård Skaflestad 5728fa73da Merge pull request #6459 from hakonhagland/fix_colon
Fixed python dockerfile directory names
2025-09-12 14:05:12 +02:00
Håkon Hægland d5664a5f1c python/docker(test_wheels): prefer hyphenated OS names; accept colon input
- Default --docker-os to ubuntu-22.04
- Normalize input (: -> -) for paths/tags
- Fallback to legacy directories pre-rename
- Update docs with Windows compatibility note
2025-09-12 13:08:40 +02:00
Håkon Hægland bd69d21af8 docker(test_wheels): rename dockerfiles dirs to hyphen (Windows checkout fix)
- debian:11    -> debian-11
- ubuntu:22.04 -> ubuntu-22.04
- ubuntu:24.04 -> ubuntu-24.04

CLI accepts colon or hyphen; code now canonicalizes to hyphen.
2025-09-12 13:06:41 +02:00
Kai Bao d550f4d5b7 adding comments for BlackoilWellModel::numConservationQuantities()
for better clarity.
2025-09-12 09:38:04 +02:00
Kai Bao e17b96305d typo fixing from reviewing comment
and removing one else following IDE suggestion
2025-09-12 09:38:04 +02:00
Kai Bao 6180c69ee0 adapting to function name change from upstream 2025-09-12 09:38:04 +02:00
Kai Bao 1449544ee6 cleaning up based on reviewing comments 2025-09-12 09:38:04 +02:00
Kai Bao cbedc8276a removing unused Indices to silent a warning. 2025-09-12 09:38:04 +02:00
Kai Bao 428ca87311 removing Indices::canonicalToActiveComponentIndex 2025-09-12 09:38:04 +02:00
Kai Bao f762d56dc4 not using Indices::canonicalToActiveComponentIndex anymore
using FluidSystem
2025-09-12 09:38:04 +02:00
Kai Bao 6eb69844b7 removing the index mapping functions from WellInterfaceIndices
modelCompIdxToFlowCompIdx and flowPhaseToModelCompIdx

using the new functions from FluidSystem
2025-09-12 09:38:04 +02:00
Kai Bao 20716c65ca removing the function flowPhaseToModelPhaseIdx 2025-09-12 09:38:04 +02:00
Kai Bao a69b1f031c modelCompIdxToFlowCompIdx rename to modelCompIdxToFlowPhaseIdx 2025-09-12 09:38:04 +02:00
Kai Bao 7d5663cd47 changing numComponents in wells to be numConservationQuantities
numComponents has been a very misleading name and something causes
confusion when coming to phase/component indices.

For example, mobility is not way to be associated with compoent.
2025-09-12 09:38:04 +02:00
Kai Bao 1d75bf47fe removing function activeToCanonicalComponentIndex
for the Indices classes.
it does not look used anywhere.
2025-09-12 09:38:04 +02:00
Arne Morten Kvarving b9e966523d Merge pull request #6136 from hakonhagland/test_wheels
Test PyPI wheels in docker containers
2025-09-12 09:34:36 +02:00
Atgeirr Flø Rasmussen eeb15c208b Merge pull request #6457 from jakobtorben/optimise_cpr_weight_calculation
Optimise CPR weight calculation
2025-09-11 15:55:56 +02:00
jakobtorben 187b54ab59 Optimise CPR weight calculation 2025-09-11 13:45:23 +02:00
Bård Skaflestad 4e424a4fba Merge pull request #6454 from steink/gsatprod_rewrite
Include satellite injection, update satellite production
2025-09-11 09:06:46 +02:00
Stein Krogstad 934134ec9d Include satellite injection, update satellite production 2025-09-10 16:21:43 +02:00
Arne Morten Kvarving 490f70d91c Merge pull request #6455 from jakobtorben/fix_hypre_for_float_builds
Only create Hypre preconditioner for double scalar type
2025-09-10 14:24:56 +02:00
Bård Skaflestad fb815768d3 Merge pull request #6429 from daavid00/gsatprod
UDQ support for GSATPROD
2025-09-10 11:45:21 +02:00
jakobtorben 76fd94a820 Only create Hypre preconditioner for double scalar type 2025-09-10 11:04:17 +02:00
David Landa Marban 2166d52920 UDQ support for GSATPROD 2025-09-09 17:43:07 +02:00
Bård Skaflestad 2b4c23f342 Merge pull request #6453 from akva2/janitoring_doxy
fix doxy issues
2025-09-09 15:18:06 +02:00
Arne Morten Kvarving 83d096b232 fix doxy issues 2025-09-08 11:54:45 +02:00
Tobias Meyer Andersen 165020c1ea Merge pull request #6444 from jakobtorben/add_support_for_hypre_with_gpu_input_types
Add support for Hypre with GPU input types
2025-09-08 10:30:46 +02:00
Tor Harald Sandve 499342da5f clean up from review 2025-09-08 10:27:12 +02:00
Bård Skaflestad 02ca477a31 Merge pull request #6449 from bska/rft-allocate-split-wells
Fix RFT State Collection for Distributed Wells
2025-09-08 08:39:21 +02:00
Markus Blatt 12c1fdcb22 Merge pull request #6440 from hakonhagland/rc_slave_sync
Reservoir coupling: Allow slaves and master to activate at different times
2025-09-08 08:34:17 +02:00
Atgeirr Flø Rasmussen ef4cf09ee5 Merge pull request #6419 from jakobtorben/make_cpr_weight_calculation_thread_parallel
Make cpr weight calculation thread parallel
2025-09-06 09:35:21 +02:00
jakobtorben 8806ff8be4 Make cpr weight calculation thread parallel 2025-09-05 16:25:32 +02:00
jakobtorben fe05ef6f62 Refactor HypreInterface 2025-09-05 16:16:00 +02:00