Commit Graph

17923 Commits

Author SHA1 Message Date
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
dependabot[bot]
e946bfe55b
Bump urllib3 from 2.2.1 to 2.2.2 in /python/sphinx_docs
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 11:36:17 +00:00
Arne Morten Kvarving
5d3f4115f2
Merge pull request #5243 from hakonhagland/sphinx_gha
Add sphinx documentation for Python bindings and GitHub action workflow to push to GitHub pages
2024-07-01 13:35:19 +02:00
Bård Skaflestad
9f8075e8a0
Merge pull request #5455 from akva2/fvbasediscretization_param_split
Adjust to to changes in fvbaseproperties.hh (moving of parameters to Opm::Parmeters namespace)
2024-07-01 13:22:26 +02:00
Arne Morten Kvarving
d4422742a2 AquiferAnalytical: add missing include 2024-07-01 12:06:47 +02:00
Arne Morten Kvarving
5514ebf4e0 AquiferNumerical: add missing include 2024-07-01 11:20:57 +02:00
Arne Morten Kvarving
74a4ab7823 changed: EnableThermodynamicHints parameter moved to Opm::Parameters namespace 2024-06-28 15:26:30 +02:00
Arne Morten Kvarving
1f6ddb052d changed: EnableStorageCache parameter moved to Opm::Parameters namespace 2024-06-28 15:13:13 +02:00
Arne Morten Kvarving
02f1c6c230 changed: EnableIntensiveQuantitiesCache parameter moved to Opm::Parameters namespace 2024-06-28 14:59:38 +02:00
Arne Morten Kvarving
3e1c8baa35 changed: ContinueOnConvergenceError parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
f95ec4daa1 changed: MaxTimeStepDivisions parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
325b841771 changed: MinTimeStepSize parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
e08b6b1163 changed: MaxTimeStepSize parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
6a03394d5b changed: EnableVtkOutput parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
b3fae7f0f9 changed: OutputDir parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
da4471acfa changed: EnableGridAdaptation parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Arne Morten Kvarving
afa62ee428 changed: ThreadsPerProcess parameter moved to Opm::Parameters namespace 2024-06-28 14:43:11 +02:00
Bård Skaflestad
1e831bab80
Merge pull request #5449 from bska/sfunc-consistency-checks-parallel
Add MPI Support to Saturation Function Consistency Checks
2024-06-28 14:16:31 +02:00
Bård Skaflestad
9895c15d7c Simplify Generation of Processor Dependent MPI Tests
Suggested by: [at]akva2.
2024-06-28 11:24:48 +02:00
Bård Skaflestad
0c71d0701c Add MPI Support to Saturation Function Consistency Checks
This commit adds a new public member function

    SatfuncConsistencyChecks<>::collectFailures(root, comm)

which aggregates consistency check violations from all ranks in the
MPI communication object 'comm' onto rank 'root' of 'comm'.  This
amounts to summing the total number of violations from all ranks and
potentially resampling the failure points for reporting purposes.

To this end, extract the body of function processViolation() into a
general helper which performs reservoir sampling and records point
IDs and which uses a call-back function to populate the check values
associated to a single failed check.  Re-implement the original
function in terms of this helper by wrapping exportCheckValues() in
a lambda function.  Extract similar helpers for numPoints() and
anyFailedChecks(), and add a new helper function

    SatfuncConsistencyChecks<>::incorporateRankViolations()

which brings sampled points from an MPI rank into the 'root's
internal data structures.

One caveat applies here.  Our current approach to collecting check
failures implies that calling member function reportFailures() is
safe only on the 'root' process in a parallel run.  On the other
hand functions anyFailedChecks() and anyFailedCriticalChecks() are
safe, and guaranteed to return the same answer, on all MPI ranks.

On a final note, the internal helper functions are at present mostly
implemented in terms of non-owning pointers.  I intend to switch to
using 'std::span<>' once we enable C++20 mode.
2024-06-28 11:04:53 +02:00
Bård Skaflestad
ce7d415e4d
Merge pull request #5447 from blattms/feature/hide-comp-by-dune
[refactor] Use DUNE's dot product to hide code complexity.
2024-06-27 15:28:55 +02:00
Bård Skaflestad
0267a3612f
Merge pull request #5446 from atgeirr/fix-uninitialized-member
Initialize member for WellState serialization test constructor.
2024-06-27 15:28:31 +02:00
Kjetil Olsen Lye
9b414419e7
Merge pull request #5404 from multitalentloes/add_dilu_LU_splitting
Add cudilu lu splitting
2024-06-27 14:30:45 +02:00
Markus Blatt
f6a4d7b076 [refactor] Use DUNE's do product to hide code complexity.
this removes some explicit loops.
2024-06-27 13:29:55 +02:00
Atgeirr Flø Rasmussen
34d44876fb Initialize member for test constructor. 2024-06-27 11:24:54 +02:00
Markus Blatt
ddb984c24e
Merge pull request #5444 from akva2/hipify_only_build_time
changed: remove hipification at configure time
2024-06-27 10:41:14 +02:00
Arne Morten Kvarving
386fbed37f changed: remove hipification at configure time
the outputs will be generated when needed by the custom_command

since these outputs are not intended to be edited, there is no reason
to hipify them up front. in particular this removes the long sequential
process at configure time, allowing all hipification to run in parallel
(if using multiple build jobs, ie. ninja -jx or make -jx)
2024-06-26 16:01:16 +02:00
Tobias Meyer Andersen
65aa334313 formalize new fromMatrix 2024-06-26 15:41:42 +02:00
Tobias Meyer Andersen
605e32c54b use camelCase, remove commented code 2024-06-26 15:34:47 +02:00
Tobias Meyer Andersen
d6f8678617 use unique_ptr consistently for delayed instantiation 2024-06-26 15:31:52 +02:00
Bård Skaflestad
e9591e0a3c
Merge pull request #5438 from bska/sfunc-consistency-checks
Add New Platform for Saturation Function Consistency Checks
2024-06-26 13:22:21 +02:00
Bård Skaflestad
c3939c5444 Add New Platform for Saturation Function Consistency Checks
The intention is that this will ultimately replace the existing
RelpermDiagnostics component which does not really work in parallel
and which does not report enough context to help diagnose underlying
issues.  For now, though, we just add the shell of a new set of
checks and hook that up to the build.

Class SatfuncConsistencyChecks<Scalar> manages a configurable set of
consistency checks, the implementations of which must publicly
derive from SatfuncConsistencyChecks<Scalar>::Check.  Client code
will configure a set of checks by first calling

    SatfuncConsistencyChecks<Scalar>::resetCheckSet()

then register individual checks by calling

    SatfuncConsistencyChecks<Scalar>::addCheck()

and finally build requisite internal structures by calling

    SatfuncConsistencyChecks<Scalar>::finaliseCheckSet()

Client code will then run the checks by calling

    SatfuncConsistencyChecks<Scalar>::checkEndpoints()

typically in a loop.  Class SatfuncConsistencyChecks<Scalar> will
count consistency check failures and attribute these to each
individual check as needed.  We also maintain separate counts for
"Standard" and "Critical" failures.  The former will typically
generate warnings while the latter will typically cause the
simulation run to stop.  Individual checks get to decide which check
is "Critical", and client code gets to decide how to respond to
"Critical" failures.

Member function SatfuncConsistencyChecks<Scalar>::reportFailures()
will generate a textual report of the known set of consistency check
failures at a give severity level.

As an internal implementation detail, SatfuncConsistencyChecks uses
"reservoir sampling"
(https://en.wikipedia.org/wiki/Reservoir_sampling) to track details
about individual failed checks.  We maintain at most a fixed number
of individual points (constructor argument).
2024-06-26 12:17:00 +02:00
Bård Skaflestad
ac42250b25
Merge pull request #5402 from totto82/output_wetting_hyst
Output maximum/minimum saturations directly for restart hysteresis
2024-06-26 12:15:20 +02:00
Kai Bao
eb83fff9d5
Merge pull request #5435 from steink/updates_in_preparation_for_5157
Minor updates in preparation for New defaults #5157.
2024-06-26 00:24:29 +02:00
Atgeirr Flø Rasmussen
007dd81b95
Merge pull request #5440 from bska/move-opm-core-contents
Move opm/core/props to opm/simulators/utils
2024-06-25 16:03:29 +02:00
Tor Harald Sandve
230656ec31 updateInitialHystParams 2024-06-25 12:55:02 +02:00
Bård Skaflestad
26cd7ab993 Move opm/core/props to opm/simulators/utils
The opm/core directory is no longer meaningful, and it contains only
components which might collectively be described as simulator
utilities.
2024-06-25 12:22:09 +02:00
Arne Morten Kvarving
010c2ae545
Merge pull request #5439 from akva2/comment_cleanups
clean up some comments
2024-06-25 12:13:54 +02:00
Stein Krogstad
fd199d2558 Rewrite to properly loop over components 2024-06-25 11:46:53 +02:00
Stein Krogstad
1efcd2c936 Fix potential for solvent + adjust perforation pressures 2024-06-25 11:46:53 +02:00