Atgeirr Flø Rasmussen
4b688e5945
Merge pull request #5988 from atgeirr/remove-unneeded-evaluation-updaters
...
Remove explicit updating of well AD vars.
2025-02-14 20:40:31 +01:00
Atgeirr Flø Rasmussen
06c5c17c96
Remove explicit updating of well AD vars.
...
Now that the AD (Evaluation) primary variables in the well classes
are always updated whenever the value primary variables are, we
no longer need to remember to explicitly update them, simplifying
the code and enabling removal of functions.
The init() function of the primary variable classes have been renamed
to setEvaluationsFromValues() and made private.
2025-02-14 09:56:54 +01:00
Erik Hide Saeternes
7ac57ae177
Added test
2025-02-13 10:18:51 +01:00
Arne Morten Kvarving
41361baa44
added: SymmTensor
...
this is a VoigtContainer with some algebraic operations
2025-02-06 12:57:25 +01:00
Arne Morten Kvarving
5a3373f93f
added: voigt array
...
this is a container for vector data stored using voigt notation
2025-02-06 12:57:25 +01:00
Kai Bao
a799f463fb
Merge pull request #5866 from vkip/fully_supported_validation
...
Separate keyword validation for fully supported keywords
2025-02-06 10:06:46 +01:00
Kjetil Olsen Lye
e9cf89fd23
Added copy functions from GPU smart pointers
2025-02-05 11:29:22 +01:00
Tobias Meyer Andersen
f993fe9361
fix include error, rename test_smart_pointers.cu
...
This pr fixes an include error caused by a bad
rebase. I also change the name of the test for
gpu smart pointers to start with "gpu" to make it
easier to run all gpu tests at once
2025-02-04 16:03:05 +01:00
Kjetil Olsen Lye
c7e2ad39c2
Added utility class to hold a GPU resource (stream, event, graph, etc).
2025-02-04 14:53:31 +01:00
Tobias Meyer Andersen
4172deb815
Merge pull request #5946 from kjetilly/smart_pointers
...
Smart pointers for GPU memory
2025-02-04 14:45:59 +01:00
Kjetil Olsen Lye
db440df072
Added convenience functions for smart pointers on GPU and a view to pointers.
2025-02-04 10:26:48 +01:00
Halvor M Nilsen
bc227ab784
Support Inserting Bools Into Property Trees
...
While here, also add a simple unit test that as_vector<T>() returns
nullopt for non-existing property nodes.
2025-02-04 10:02:14 +01:00
Bård Skaflestad
1f81756a8d
Merge pull request #5608 from akva2/explicit_ctor_tabulated1d_function
...
adjust to constructor being marked explicit
2025-01-31 12:06:01 +01:00
Bård Skaflestad
03ac2cbd93
Add Property Tree Array Retrieval Mechanism
...
This commit adds a new member function
template <typename T>
std::optional<std::vector<T>>
get_child_items_as_vector(const std::string& child) const;
which retrieves an array-type property value from a property tree.
Initially defined for 'int' and 'double', but could be extended to
'std::string', 'float', or other element types as needed.
2025-01-29 15:15:49 +01:00
Bård Skaflestad
999f98e281
Implement Property Tree Put/Get for std::size_t
...
This replaces the original specialisations for "bare" size_t from
the <stddef.h> header.
While here, also reorder the specialisations to match declaration
order in the header.
2025-01-29 13:48:31 +01:00
Bård Skaflestad
efede0a253
Document and Test PropertyTree Class
...
In particular, add Doxygen-style documentation to the header file
and add a simple unit test for the PropertyTree class interface.
While here, also add missing headers and prefer template argument
deduction over explicit template arguments.
2025-01-29 12:58:29 +01:00
Arne Morten Kvarving
b41f512214
BlackoilWellModelGasLift: serialize last_glift_opt_time
2025-01-24 14:37:00 +01:00
Arne Morten Kvarving
c114def851
mark parameters/variables as const where appropriate
2025-01-23 07:57:44 +01:00
Tor Harald Sandve
fef6cfcf38
Fix parallel gsatprod
2025-01-22 12:55:44 +01:00
Arne Morten Kvarving
1c537632fc
mark methods override
2025-01-21 14:41:57 +01:00
Arne Morten Kvarving
4119b66866
tabs to spaces
2025-01-21 14:41:18 +01:00
Arne Morten Kvarving
6d964c1370
mark constructors explicit
2025-01-21 14:41:17 +01:00
Arne Morten Kvarving
8755413c72
added: option to only compare summary files in regression tests
2025-01-21 06:20:45 +01:00
Vegard Kippe
76667d613b
Introduce struct to reduce number of constructor params
2025-01-15 13:34:05 +01:00
Vegard Kippe
2cd0d63fe4
Update KeywordValidator tests to new constructor signature
2025-01-13 14:34:30 +01:00
Tobias Meyer Andersen
fa02d686d4
refactor move_to_gpu
2025-01-13 11:19:43 +01:00
Tobias Meyer Andersen
6c29cf6962
use less template arguments
2025-01-08 15:08:50 +01:00
Tobias Meyer Andersen
b48479b7e4
fix piecewiselineartwophasematerial tests
...
Fixing the test required avoid accesses to a
mutable gpu buffer on the CPU. Removing function
from the GPUBuffer and GPUView class also required
a minor adjustment in the GPUView test.
2025-01-08 08:35:21 +01:00
Kjetil Olsen Lye
119282bd6d
Merge pull request #5674 from multitalentloes/add_gpudilu_mixed_precision
...
Add gpudilu mixed precision
2025-01-07 14:57:17 +01:00
Atgeirr Flø Rasmussen
f6e1c3de26
Merge pull request #5839 from multitalentloes/gpu_support_brineco2pvt_2
...
add test for gpu brineco2pvt
2025-01-07 09:16:35 +01:00
Tobias Meyer Andersen
7f86a6724a
remove unnecessary template argument
2025-01-07 08:49:36 +01:00
Arne Morten Kvarving
89dbda4621
changed: move GasLift to separate class
...
move to has-a instead of is-a for modelling in BlackoilWellModel
2025-01-06 15:15:59 +01:00
Tobias Meyer Andersen
ca52fd33b3
add test for brineco2pvt
2025-01-03 08:33:08 +01:00
Bård Skaflestad
8f42288d71
Chase WBP Source Requirement Change
...
The revised depth correction algorithm requires per-cell depth
information (in SourceDataSpan::Item::Depth) for the reservoir
contributions so honour this requirement.
This is potentially a somewhat wasteful approach since the cell
centre depth is constant throughout a simulation, but it's a simple
strategy that does not require large API and synchronisation
changes, so we nevertheless stick to this as a first implementation.
We will reduce the amount of communication if this becomes a
bottleneck.
2024-12-18 16:35:13 +01:00
Atgeirr Flø Rasmussen
369332ef3d
Merge pull request #5808 from jakobtorben/AMGX_integration
...
Amgx integration
2024-12-18 16:27:02 +01:00
jakobtorben
b4b3f0d144
Add tests for AMGX preconditioner
2024-12-18 13:30:02 +01:00
Bård Skaflestad
79d2747cfa
Merge pull request #5802 from lisajulia/feature/ms-wells-fix-restart
...
Feature/ms wells fix restart file error
2024-12-17 09:47:00 +01:00
Lisa Julia Nebel
1b094fd65b
Remove option of comparing only the SMRY file to run-parallel-regressionTest.sh via the flag -s, i.e. revert commit debb7cb036
2024-12-16 18:00:59 +01:00
Bård Skaflestad
340855a41d
Chase API Update
...
The WBP result type is now top-level.
2024-12-11 15:34:36 +01:00
Arne Morten Kvarving
61b7b0c113
Merge pull request #5762 from jakobtorben/hypre_integration
...
Add Hypre BoomerAMG Support
2024-12-11 10:52:55 +01:00
jakobtorben
d663f16bea
Add tests for Hypre Preconditioner
2024-12-10 17:08:18 +01:00
Tor Harald Sandve
96da980897
Merge pull request #5753 from totto82/maxGroupChange
...
Alternative way of avoiding group control oscillations
2024-12-09 11:24:21 +01:00
Tor Harald Sandve
095c0457bc
Code improvment for the group control switching
...
Pass the controls as enums not strings
Avoid pair as key in map
2024-12-06 13:56:00 +01:00
Markus Blatt
0e22cc1552
Merge pull request #5746 from lisajulia/feature/ms-wells-solving
...
Feature/ms wells - part 2: Solving, straightforward option
2024-12-06 09:16:20 +01:00
Arne Morten Kvarving
e3a48a3059
changed: do not use boost.test in test_tasklets_failure
...
the boost.test signal handlers do not play nicely with fork()
2024-12-04 15:44:01 +01:00
Tor Harald Sandve
128e80ec7a
Maximum allowed oscillation for groups part 2
...
Set a parameter for maximum allowed oscillation of group controls
The parameter is only used for iter > nupcol
2024-12-04 09:17:46 +01:00
Arne Morten Kvarving
73c45c7282
bump minimum dune version to 2.9
2024-12-03 13:59:53 +01:00
Tor Harald Sandve
73a28a7abb
Maximum allowed oscillation for groups part 1
2024-12-03 09:21:38 +01:00
Lisa Julia Nebel
6bdb80126f
Add parameter enableDistributedWells to the well state an when set to true, do not throw when initalizing distributed multi-segment wells in WellState.cpp
2024-11-22 15:16:00 +01:00
Lisa Julia Nebel
debb7cb036
Add option of comparing only the SMRY file to run-parallel-regressionTest.sh via the flag -s
2024-11-22 08:26:27 +01:00