Commit Graph
1653 Commits
Author SHA1 Message Date
Lisa Julia Nebel c92bad8cfe Change asserts to BOOST_REQUIRE_* in test_tasklets_failure 2024-07-15 14:56:26 +02:00
Lisa Julia Nebel c78a629528 Fix indentation 2024-07-15 14:52:47 +02:00
Lisa Julia Nebel 0a70296eb9 Change pointer to tasklet runners to smart pointer and add comment about why they are created on the heap 2024-07-15 14:51:52 +02:00
Lisa Julia Nebel c73a51650f Change lock mechanism to std::lock_guard 2024-07-15 14:22:28 +02:00
Lisa Julia Nebel 4d0179cffc Implement a more polling-based interface for the tasklets failure mechanism 2024-07-12 15:12:41 +02:00
Lisa Julia Nebel f86623a70c Add test for failing tasklets 2024-07-09 09:44:13 +02:00
Lisa Julia Nebel 92a8ef1c4b Add an atomic flag to TaskletRunner
This flag is shared between the threads, if any thread fails, this is set and before the new threads get dispatched or run, this flag is checked.
In case it is set, the program aborts.
2024-07-08 20:58:02 +02:00
Bård Skaflestad db0b4e1e6d Merge pull request #906 from akva2/basicproperties_split_param
basicproperties: split out params
2024-07-01 20:11:47 +02:00
Arne Morten Kvarving b4db328670 cosmetics 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving ef55cf2489 changed: move the GridFile parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving ff46b91ff0 changed: move the Cells(X|Y|Z) parameters to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving fdf0179c5a changed: move the DomainSize(X|Y|Z) parameters to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving 6b11559bf4 changed: move the PredeterminedTimeStepsFile parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving 48d2672402 changed: move the RestartTime parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving 65fa0fae9e changed: move the InitialTimeStepSize parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving 7101b68989 changed: move the EndTime parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving 78cd842193 changed: move the PrintParameters parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving fda381c349 changed: move the PrintProperties parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Bård Skaflestad 1a5476c873 Merge pull request #905 from akva2/newtonmethod_param_split
NewtonMethod: split parameters and properties
2024-07-01 17:31:16 +02:00
Arne Morten Kvarving e28284b68a changed: move the NewtonMaxIterations parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving 7a4a91c3bf changed: move the NewtonTargetIterations parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving 526aac8865 changed: move the NewtonMaxError parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving 2a133b615e changed: move the NewtonTolerance parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving c54fb7816f changed: move the NewtonWriteConvergence parameter to Opm::Parameters 2024-07-01 14:13:34 +02:00
Arne Morten Kvarving a39ccfd4d3 changed: move the NewtonVerbose parameter to Opm::Parameters 2024-07-01 14:13:34 +02:00
Bård Skaflestad 13964c96be Merge pull request #904 from akva2/fvbasediscretization_param_split
Start separating (compile time) Properties from (runtime) Parameters
2024-07-01 13:21:18 +02:00
Arne Morten Kvarving 3730ce659e fvbaseproperties.hh: put setting of defaults values in separate section
increases overview
2024-07-01 10:13:03 +02:00
Arne Morten Kvarving 59a246e178 changed: move setting of default vanguard to basicproperties.hh
use forwarding to avoid including dgfvanguard.hh unless it is actually
used
2024-07-01 10:13:03 +02:00
Arne Morten Kvarving 23e9bc5ebc cosmetics 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving cea13e4b96 changed: move the ParameterFile parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving 4cce7022bb changed: move the GridGlobalRefinements parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving b38a991b05 changed: move the EnableThermodynamicHints parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving 67bb6717f3 changed: move the EnableStorageCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving e3222a6dd6 changed: move the EnableIntensiveQuantitiesCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving f77c12bce9 changed: move the ContinueOnConvergenceError parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving 3f1e2eb73c changed: move the MaxTimeStepDivisions parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving b7cf4b8132 changed: move the MinTimeStepSize parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving eaa75856c6 changed: move the MaxTimeStepSize parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving d1f3411a66 changed: move the EnableAsyncVtkOutput parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving db9ac62d9d changed: move the EnableVtkOutput parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving da2b47b459 changed: move the OutputDir parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving 95841aaae2 changed: move the EnableGridAdaptation parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving 7e304296a5 changed: start splitting compile time properties from runtime parameters
working towards putting the latter in the Opm::Parameters namespace.
start by moving the ThreadsPerProcess parameter
2024-07-01 09:46:45 +02:00
Arne Morten Kvarving 055734ec23 Merge pull request #903 from akva2/fix_param_as_property
Fix runtime parameters used as properties
2024-07-01 09:46:33 +02:00
Arne Morten Kvarving ca21f087b5 fixed: don't use a EnableVtkOutput parameters as a property
query it as a parameter should be queried instead
2024-06-28 13:19:43 +02:00
Arne Morten Kvarving bd4ed90b78 fixed: don't use a runtime-parameter as a typetag property
since this is unused in any case, just remove it
2024-06-28 11:20:01 +02:00
Bård Skaflestad d370945992 Merge pull request #898 from atgeirr/fix-expensive-call-in-flux-calc
Avoid call to FaceDir::FromIntersectionIndex() in hot path.
2024-04-27 22:48:04 +02:00
Atgeirr Flø Rasmussen 8699cec954 Avoid call to FaceDir::FromIntersectionIndex() in hot path.
Call is expensive, might also be good to improve the function in opm-common. (FaceDir.cpp)
2024-04-26 16:43:50 +02:00
Bård Skaflestad 1c8acff8c6 Merge pull request #895 from akva2/parametersystem_spring_cleaning
ParameterSystem: some cleanup
2024-04-15 12:53:56 +02:00
Arne Morten Kvarving ac909fefc4 replace iterators with range based loops 2024-04-15 11:38:32 +02:00