Bård Skaflestad
38ade97e86
Install More Headers
...
Needed for Main::runStatic<>() to be usable out-of-tree.
2025-01-30 18:20:19 +01:00
Bård Skaflestad
1df6079007
Merge pull request #5928 from bska/main-dispatch-dynamic-tu
...
Move Dynamic Dispatch Function to Separate TU
2025-01-30 13:53:30 +01:00
Bård Skaflestad
1bf755f5e8
Move Dynamic Dispatch Function to Separate TU
...
This moves about 300 lines of code out of Main.hpp and, especially,
moves the <flow/flow_*.hpp> include statements as well. This, in
turn, makes Main::runStatic<>() usable for out-of-tree consumers.
2025-01-30 13:18:02 +01:00
Bård Skaflestad
caf1723d8f
Merge pull request #5930 from bska/add-missing-headers
...
Add Missing Headers to Python Simulator
2025-01-30 12:29:52 +01:00
Bård Skaflestad
54663f96a4
Add Missing Headers to Python Simulator
...
These were originally obtained through transitive includes,
especially from Main.hpp, but that's not a stable condition if the
set of transitive includes changes.
2025-01-30 12:17:39 +01:00
Bård Skaflestad
c708e28176
Merge pull request #5931 from bska/install-ttag-flow-problem-tpfa
...
Install Type Tag for TPFA Flow Problems
2025-01-30 12:12:16 +01:00
Bård Skaflestad
a0f907b59b
Install Type Tag for TPFA Flow Problems
...
Makes this accessible for out-of-tree uses.
2025-01-30 11:35:19 +01:00
Bård Skaflestad
aa5c52ee56
Merge pull request #5922 from bska/property-tree-get-children-as-vector
...
Add Property Tree Array Retrieval Mechanism
2025-01-29 17:01:07 +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
2fe71ce294
Merge pull request #5927 from bska/property-tree-std-sizet
...
Implement Property Tree Put/Get for std::size_t
2025-01-29 14:54: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
9fb46ab420
Merge pull request #5925 from akva2/janitoring
...
janitoring: use string concat instead of operator+
2025-01-29 13:39:22 +01:00
Bård Skaflestad
b102ecd00f
Merge pull request #5921 from bska/document-and-test-property-tree
...
Document and Test PropertyTree Class
2025-01-29 13:38:19 +01:00
Arne Morten Kvarving
aa3226a71f
janitoring: use string concat instead of operator+
...
and avoid unnecessary temporary
2025-01-29 13:23:25 +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
Atgeirr Flø Rasmussen
d2b272b5f5
Merge pull request #5923 from michal-toth/bugfix/log-message
...
Correct a keyword in a message
2025-01-29 09:23:43 +01:00
Michal Tóth
f9af91abfc
Correct the keyword in the message
2025-01-28 16:04:12 +01:00
Atgeirr Flø Rasmussen
270018cfbb
Merge pull request #5900 from totto82/improve_well_shutting
...
Improve well shutting logic
2025-01-28 10:46:10 +01:00
Kai Bao
536ad41987
Merge pull request #5918 from vkip/nwparam
...
Parameterize network sub-iterations and pressure update dampening
2025-01-28 10:44:37 +01:00
Atgeirr Flø Rasmussen
2fedd5c29e
Merge pull request #5912 from atgeirr/use-element-chunks
...
Switch property evaluation to using ElementChunks.
2025-01-28 10:39:15 +01:00
Kai Bao
ff29f04cdb
Merge pull request #5919 from vkip/network_empty_leaf_nodes
...
Allow empty leaf nodes that do not exist in GRUPTREE
2025-01-28 10:05:04 +01:00
Tor Harald Sandve
eabb2de362
Merge pull request #5902 from totto82/wcycle_chop
...
Dont reset subtimestep from tuning/wcycle if time step is chopped due to convergence issues
2025-01-28 10:00:58 +01:00
Atgeirr Flø Rasmussen
57fb01ad57
Switch property evaluation to using ElementChunks.
2025-01-28 09:59:16 +01:00
Tor Harald Sandve
cfc2b03b5a
Improve well shutting logic
...
In particular allow for failed wells to shut even though they haven't failed consitatantly in the last 3 attempts
if the timestep is reduce enhough already.
2025-01-28 09:55:36 +01:00
Atgeirr Flø Rasmussen
e912d3b3de
Merge pull request #5890 from akva2/multithread_tran_calc
...
Add multi-threading to transmissibility calculation
2025-01-28 09:22:23 +01:00
Vegard Kippe
7b1d8d1df6
Allow empty leaf nodes that do not exist in GRUPTREE
2025-01-27 13:11:49 +01:00
Vegard Kippe
1d2e413d63
Parameterize network sub-iterations and pressure update dampening
2025-01-27 11:44:10 +01:00
Atgeirr Flø Rasmussen
6bfb60ded0
Merge pull request #5915 from akva2/serialize_glift_last_opt
...
BlackoilWellModelGasLift: serialize last_glift_opt_time
2025-01-27 10:17:44 +01:00
Arne Morten Kvarving
b41f512214
BlackoilWellModelGasLift: serialize last_glift_opt_time
2025-01-24 14:37:00 +01:00
Arne Morten Kvarving
da22efb623
BlackoilWellModelGeneric: move operator== to translation unit
2025-01-24 14:35:52 +01:00
Arne Morten Kvarving
2b930ca51c
SimulatorSerializer: add LoadFile to ignore list
2025-01-24 14:33:58 +01:00
Bård Skaflestad
6b5097ce63
Merge pull request #5913 from bska/udq-regression-tests
...
Add Regression/Restart Tests for Recent UDQ Work
2025-01-24 13:50:07 +01:00
Arne Morten Kvarving
f68864db8c
reindent
2025-01-24 12:27:41 +01:00
Arne Morten Kvarving
8772f41e62
Transmissibility::update(): enable multithreading
2025-01-24 12:26:34 +01:00
Arne Morten Kvarving
d551d95762
Transmissibility::update: use ThreadedMap for dispersivity_
...
this in preparation for multithreading the loop
2025-01-24 12:17:56 +01:00
Arne Morten Kvarving
a502a86dc1
Transmissibility::update: use ThreadSafeMapBuilder for diffusivity_
...
this in preparation for multithreading the loop
2025-01-24 12:17:56 +01:00
Arne Morten Kvarving
23e1654ba7
Transmissibility::update: use ThreadSafeMapBuilder for thermalHalfTrans
...
this in preparation for multithreading the loop
2025-01-24 12:17:56 +01:00
Arne Morten Kvarving
5cbbde67d7
Transmissibility::update: use ThreadSafeMapBuilder for thermalHalfTransBoundary
...
this in preparation for multithreading the loop
2025-01-24 12:17:56 +01:00
Arne Morten Kvarving
da696ff0eb
Transmissibility::update: use ThreadSafeMapBuilder for trans_
...
this in preparation for multithreading the loop
2025-01-24 12:17:56 +01:00
Arne Morten Kvarving
52a22afa3b
Transmissibility::update: use ThreadSafeMapBuilder for transBoundary
...
this in preparation for multithreading the loop
2025-01-24 12:17:56 +01:00
Bård Skaflestad
f0c62ff223
Add Regression Test for Group Level UDQ Assignments
...
Uses the example model UDQ_GRP-01 from PR OPM/opm-tests#1174 .
2025-01-24 11:06:30 +01:00
Bård Skaflestad
0660b62d29
Add Restart Test for ZUDL Character Limit
...
Uses the example model from PR OPM/opm-tests#1279 in which the
defining expression of one UDQ is exactly 128 characters long. This
expression will overflow the character limit if we insert any new
characters like blanks or quotes.
2025-01-24 10:05:25 +01:00
Bård Skaflestad
f67cdb0c6e
Merge pull request #5891 from bska/group-udq
...
Chase UDQConfig::Eval() API Change
2025-01-23 18:22:36 +01:00
Bård Skaflestad
64edbff477
Chase UDQConfig::Eval() API Change
...
We must now pass a GroupOrder object into eval() in order to support
group name pattern matching in group level UDQ assignments.
2025-01-23 12:48:39 +01:00
Bård Skaflestad
66f4e59c16
Merge pull request #5910 from atgeirr/fix-compile-error-and-warnings
...
Fix compile error and warnings
2025-01-23 12:42:27 +01:00
Bård Skaflestad
d02ad0f637
Merge pull request #5909 from hnil/add_tracy
...
added more timing
2025-01-23 12:24:55 +01:00
Atgeirr Flø Rasmussen
439a0a9847
Add template parameter needed for clang.
...
Not sure if this is a gcc-ism, a clang-ism or a c++20-ism,
but as written here it should compile for all.
2025-01-23 11:59:56 +01:00
Atgeirr Flø Rasmussen
057eabcbe8
Silence warning for missing 'override'.
2025-01-23 11:59:24 +01:00
Bård Skaflestad
06904dc93f
Merge pull request #5908 from akva2/janitoring_sca_various
...
Janitoring: address various static analyzer issues
2025-01-23 11:50:01 +01:00
Halvor M Nilsen
f2bfa1b2ef
added more timing
2025-01-23 11:28:20 +01:00