Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import opm-models #4627

Merged
merged 1,808 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1808 commits
Select commit Hold shift + click to select a range
edbe1a1
Merge pull request #873 from blattms/nnc-fix-flows-flores
atgeirr Feb 7, 2024
c76c3b8
adjust to output module accessor change
akva2 Feb 12, 2024
e6c8eed
Fix Flows/Flores for NNCs
Feb 9, 2024
cdc86b4
Merge pull request #874 from totto82/fixNNCFlows
atgeirr Feb 12, 2024
2b0d9a7
Tag Certain Parameters As Maybe-Unused
bska Mar 1, 2024
866a1f4
Merge pull request #878 from bska/maybe-unused-parameters
akva2 Mar 1, 2024
6f9ab61
Merge pull request #875 from akva2/adjust_outputmodule
GitPaean Mar 5, 2024
99ac834
fixed: initialize meaning variables
akva2 Mar 11, 2024
1898a16
changing including guard name for two diffusionmodule
GitPaean Mar 21, 2024
45dd411
Merge pull request #881 from GitPaean/changing_include_guard_name_dif…
bska Mar 21, 2024
0d9312b
remove last remnants of property system macros
akva2 Mar 22, 2024
6fd995c
Merge pull request #882 from akva2/remove_propsystem_macros
bska Mar 22, 2024
967738e
use OPM, not EWOMS in header guard
akva2 Mar 22, 2024
0da838f
remove unused macro EWOMS_RESET_PARAMS_
akva2 Mar 22, 2024
81c62e1
Merge pull request #883 from akva2/remove_reset_params
bska Apr 3, 2024
783eaa2
remove EWOMS_END_PARAM_REGISTRATION macro
akva2 Mar 22, 2024
4f6bc92
remove macro EWOMS_PARAM_IS_SET macro
akva2 Mar 22, 2024
8044bd3
Merge pull request #884 from akva2/remove_end_param_macro
bska Apr 3, 2024
a2ff5e9
Merge pull request #885 from akva2/remove_ewoms_param_is_set_macro
bska Apr 3, 2024
399e39b
remove EWOMS_GET_PARAM_LISTS macro
akva2 Mar 22, 2024
8370e90
Merge pull request #886 from akva2/remove_macro_ewoms_get_param_lists
bska Apr 3, 2024
f22f51a
Parameters::hideParam: remove unused parameter
akva2 Mar 22, 2024
b309088
remove EWOMS_HIDE_PARAM macro
akva2 Mar 22, 2024
2fea434
Merge pull request #887 from akva2/remove_hide_param_macro
bska Apr 4, 2024
8b02ba2
Parameters::registerParam: remove propertyName
akva2 Mar 22, 2024
6103383
fixed: inconsistent parameter setups
akva2 Apr 4, 2024
2066977
Merge pull request #889 from akva2/fix_inconsistent_params
bska Apr 4, 2024
069161b
Parameters::registerParam: pass Property struct and use parameter typ…
akva2 Mar 22, 2024
22a5aab
Parameters::registerParam: grab name from struct
akva2 Mar 22, 2024
48fa0f3
drop macro EWOMS_REGISTER_PARAM
akva2 Apr 4, 2024
bdb93b6
Merge pull request #890 from akva2/remove_ewoms_register_param_macro
bska Apr 5, 2024
04273d3
Parameters::hideParam
akva2 Apr 4, 2024
a2a7003
Merge pull request #891 from akva2/hide_param_no_strings
bska Apr 5, 2024
5dea27c
remove unused propName param in Parameters::get
akva2 Mar 22, 2024
72322ec
Parameter::get: remove unused overload
akva2 Apr 4, 2024
fe06454
pass property struct to Parameters::get
akva2 Apr 4, 2024
4d24861
remove macro EWOMS_GET_PARAM_
akva2 Apr 5, 2024
078b0e8
remove macro EWOMS_GET_PARAM
akva2 Apr 5, 2024
c52f24a
Merge pull request #892 from akva2/remove_ewoms_get_param_macro
bska Apr 5, 2024
cd92d15
[fix] Fix missing include dune/common/version.hh
timokoch Apr 10, 2024
66152c5
Merge pull request #893 from timokoch/fix/missing-include-vtkmultiwriter
bska Apr 10, 2024
b02eb95
Parameters::isSet: pass parameter struct instead of stringified
akva2 Apr 14, 2024
f105a3a
Merge pull request #894 from akva2/parameters_isset_struct
bska Apr 15, 2024
43cbc05
remove Param::check_
akva2 Apr 14, 2024
fee52d4
ParameterSystem: drop unnecessary Param struct
akva2 Apr 14, 2024
ac909fe
replace iterators with range based loops
akva2 Apr 14, 2024
1c8acff
Merge pull request #895 from akva2/parametersystem_spring_cleaning
bska Apr 15, 2024
8699cec
Avoid call to FaceDir::FromIntersectionIndex() in hot path.
atgeirr Apr 26, 2024
d370945
Merge pull request #898 from atgeirr/fix-expensive-call-in-flux-calc
bska Apr 27, 2024
bd4ed90
fixed: don't use a runtime-parameter as a typetag property
akva2 Jun 28, 2024
ca21f08
fixed: don't use a EnableVtkOutput parameters as a property
akva2 Jun 28, 2024
055734e
Merge pull request #903 from akva2/fix_param_as_property
akva2 Jul 1, 2024
7e30429
changed: start splitting compile time properties from runtime parameters
akva2 Jun 28, 2024
95841aa
changed: move the EnableGridAdaptation parameter to Opm::Parameters
akva2 Jun 28, 2024
da2b47b
changed: move the OutputDir parameter to Opm::Parameters
akva2 Jun 28, 2024
db9ac62
changed: move the EnableVtkOutput parameter to Opm::Parameters
akva2 Jun 28, 2024
d1f3411
changed: move the EnableAsyncVtkOutput parameter to Opm::Parameters
akva2 Jun 28, 2024
eaa7585
changed: move the MaxTimeStepSize parameter to Opm::Parameters
akva2 Jun 28, 2024
b7cf4b8
changed: move the MinTimeStepSize parameter to Opm::Parameters
akva2 Jun 28, 2024
3f1e2eb
changed: move the MaxTimeStepDivisions parameter to Opm::Parameters
akva2 Jun 28, 2024
f77c12b
changed: move the ContinueOnConvergenceError parameter to Opm::Parame…
akva2 Jun 28, 2024
e3222a6
changed: move the EnableIntensiveQuantitiesCache parameter to Opm::Pa…
akva2 Jun 28, 2024
67bb671
changed: move the EnableStorageCache parameter to Opm::Parameters
akva2 Jun 28, 2024
b38a991
changed: move the EnableThermodynamicHints parameter to Opm::Parameters
akva2 Jun 28, 2024
4cce702
changed: move the GridGlobalRefinements parameter to Opm::Parameters
akva2 Jun 28, 2024
cea13e4
changed: move the ParameterFile parameter to Opm::Parameters
akva2 Jun 28, 2024
23e9bc5
cosmetics
akva2 Jul 1, 2024
59a246e
changed: move setting of default vanguard to basicproperties.hh
akva2 Jul 1, 2024
3730ce6
fvbaseproperties.hh: put setting of defaults values in separate section
akva2 Jul 1, 2024
13964c9
Merge pull request #904 from akva2/fvbasediscretization_param_split
bska Jul 1, 2024
a39ccfd
changed: move the NewtonVerbose parameter to Opm::Parameters
akva2 Jul 1, 2024
c54fb78
changed: move the NewtonWriteConvergence parameter to Opm::Parameters
akva2 Jul 1, 2024
2a133b6
changed: move the NewtonTolerance parameter to Opm::Parameters
akva2 Jul 1, 2024
526aac8
changed: move the NewtonMaxError parameter to Opm::Parameters
akva2 Jul 1, 2024
7a4a91c
changed: move the NewtonTargetIterations parameter to Opm::Parameters
akva2 Jul 1, 2024
e28284b
changed: move the NewtonMaxIterations parameter to Opm::Parameters
akva2 Jul 1, 2024
1a5476c
Merge pull request #905 from akva2/newtonmethod_param_split
bska Jul 1, 2024
fda381c
changed: move the PrintProperties parameter to Opm::Parameters
akva2 Jul 1, 2024
78cd842
changed: move the PrintParameters parameter to Opm::Parameters
akva2 Jul 1, 2024
7101b68
changed: move the EndTime parameter to Opm::Parameters
akva2 Jul 1, 2024
65fa0fa
changed: move the InitialTimeStepSize parameter to Opm::Parameters
akva2 Jul 1, 2024
48d2672
changed: move the RestartTime parameter to Opm::Parameters
akva2 Jul 1, 2024
6b11559
changed: move the PredeterminedTimeStepsFile parameter to Opm::Parame…
akva2 Jul 1, 2024
fdf0179
changed: move the DomainSize(X|Y|Z) parameters to Opm::Parameters
akva2 Jul 1, 2024
ff46b91
changed: move the Cells(X|Y|Z) parameters to Opm::Parameters
akva2 Jul 1, 2024
ef55cf2
changed: move the GridFile parameter to Opm::Parameters
akva2 Jul 1, 2024
b4db328
cosmetics
akva2 Jul 1, 2024
db0b4e1
Merge pull request #906 from akva2/basicproperties_split_param
bska Jul 1, 2024
5eac088
initialize water saturation for gas dissolved in water
jakobtorben Jul 5, 2024
92a8ef1
Add an atomic flag to TaskletRunner
lisajulia Jul 8, 2024
f86623a
Add test for failing tasklets
lisajulia Jul 8, 2024
4d0179c
Implement a more polling-based interface for the tasklets failure mec…
lisajulia Jul 12, 2024
c73a516
Change lock mechanism to std::lock_guard
lisajulia Jul 15, 2024
0a70296
Change pointer to tasklet runners to smart pointer and add comment ab…
lisajulia Jul 15, 2024
c78a629
Fix indentation
lisajulia Jul 15, 2024
c92bad8
Change asserts to BOOST_REQUIRE_* in test_tasklets_failure
lisajulia Jul 15, 2024
94c88f8
Merge pull request #909 from lisajulia/feature/add-failureFlag-to-tas…
bska Jul 15, 2024
55608d9
Merge pull request #908 from jakobtorben/initialize_water_saturation_…
atgeirr Jul 19, 2024
09ac67b
changed: move the VTKEnergyModule parameters to Opm::Parameters
akva2 Jul 1, 2024
218960a
changed: move the VtkPTFlashModule parameters to Opm::Parameters
akva2 Jul 1, 2024
2400cf0
changed: move the VtkMultiPhaseModule parameters to Opm::Parameters
akva2 Jul 1, 2024
74fd766
changed: move the VtkDiscreteFractureModule parameters to Opm::Parame…
akva2 Jul 1, 2024
4d8b6af
changed: move the VtkDiffusionModule parameters to Opm::Parameters
akva2 Jul 1, 2024
8f536c7
changed: move the VtkWritePhasePresence parameter to Opm::Parameters
akva2 Jul 1, 2024
0bedc4d
changed: move the VtkBlackoilModule parameters to Opm::Parameters
akva2 Jul 1, 2024
3a939c5
changed: move the VtkCompositionModule parameters to Opm::Parameters
akva2 Jul 1, 2024
57f562b
changed: move the VtkBlackoilEnergyModule parameters to Opm::Parameters
akva2 Jul 1, 2024
e39165c
changed: move the VtkPrimaryVarsModule parameters to Opm::Parameters
akva2 Jul 1, 2024
dc89d30
changed: move the VtkBlackoilPolymerModule parameters to Opm::Parameters
akva2 Jul 1, 2024
42f393d
changed: move the VtkSolventBlackoilModule parameters to Opm::Parameters
akva2 Jul 1, 2024
0cf2d1d
changed: move the VtkWriteTemperature parameter to Opm::Parameters
akva2 Jul 1, 2024
63d233a
changed: move the VtkMicpModule parameters to Opm::Parameters
akva2 Jul 1, 2024
ff07e7f
Merge pull request #911 from akva2/move_vtk_params_to_params
atgeirr Aug 1, 2024
d2e1b31
changed: move the FlashTolerance parameter to Opm::Parameters
akva2 Jul 1, 2024
8869202
changed: move the BlackoilNewthonMethod parameters to Opm::Parameters
akva2 Jul 1, 2024
c8f8b53
changed: move the NumericDifferenceMethod parameter to Opm::Parameters
akva2 Jul 1, 2024
6beb557
changed: move the SeparateSparseSourceTerms parameter to Opm::Parameters
akva2 Jul 1, 2024
3a261e1
changed: move the PTFlash parameters to Opm::Parameters
akva2 Jul 1, 2024
858cc11
simplexvanguard: update parameter references
akva2 Jul 4, 2024
0235119
unstructuredgridvanguard: update parameter references
akva2 Jul 4, 2024
88fc367
changed: move the PressureScale parameter to Opm::Parameters
akva2 Jul 1, 2024
c4ac204
changed: move the PvsVerbosity parameter to Opm::Parameters
akva2 Jul 1, 2024
0ecb848
Merge pull request #912 from akva2/move_various_params_to_params
atgeirr Aug 2, 2024
67b1055
changed: move the EnableGravity parameter to Opm::Parameters
akva2 Jul 1, 2024
321a7c7
changed: move the LinearSolverOverlapSize parameter to Opm::Parameters
akva2 Jul 1, 2024
b9615ea
changed: move the LinearSolverTolerance parameter to Opm::Parameters
akva2 Jul 1, 2024
ffdbd2f
changed: move the LinearSolverAbsTolerance parameter to Opm::Parameters
akva2 Jul 1, 2024
59f5861
changed: move the LinearSolverVerbosity parameter to Opm::Parameters
akva2 Jul 1, 2024
0e06d64
changed: move the LinearSolverMaxIterations parameter to Opm::Parameters
akva2 Jul 1, 2024
5cab2e6
changed: move the PreconditionerOrder parameter to Opm::Parameters
akva2 Jul 1, 2024
b23f028
changed: move the LinearSolverMaxError parameter to Opm::Parameters
akva2 Jul 1, 2024
b5470dc
changed: move the PreconditionerRelaxation parameter to Opm::Parameters
akva2 Jul 1, 2024
f3af894
changed: move the GMResRestart parameter to Opm::Parameters
akva2 Jul 1, 2024
4e0cdd2
changed: move the AmgCoarsenTarget parameter to Opm::Parameters
akva2 Jul 1, 2024
a28f76c
Merge pull request #913 from akva2/move_linsol_params_to_params
akva2 Aug 2, 2024
63d707a
BaseOutputModule: replace copy-pasted code with helper
akva2 Aug 7, 2024
4e083a0
BaseOutputModule: replace if-nests with switch
akva2 Aug 7, 2024
e5843a4
BaseOutputModule: reuse member function instead of copy-pasta
akva2 Aug 7, 2024
7f62313
BaseOutputModule: remove unnecessary warning suppressions
akva2 Aug 7, 2024
79615f6
Merge pull request #917 from akva2/baseoutputmodule_cleanup
bska Aug 7, 2024
78412ff
changed: remove the print-properties parameter
akva2 Aug 7, 2024
fab0a5c
BlackOilIndices: use constexpr
akva2 Aug 7, 2024
30cd551
BlackOilTwoPhaseIndices: use constexpr
akva2 Aug 7, 2024
f5ceed0
BlackOilOnePhaseIndices: use constexpr
akva2 Aug 7, 2024
07d20a8
Merge pull request #919 from akva2/indices_use_constexpr
bska Aug 8, 2024
0459595
Merge pull request #918 from akva2/remove_print_properties
bska Aug 8, 2024
2cb931e
changed: move the Co2PtFlashProblem parameters to Opm::Parameters
akva2 Jul 1, 2024
024bbe0
changed: move the Co2InjectionProblem parameters to Opm::Parameters
akva2 Jul 1, 2024
4b11743
changed: move the GroundWaterProblem parameters to Opm::Parameters
akva2 Jul 1, 2024
6c901f5
changed: move the ReservoirProblem parameters to Opm::Parameters
akva2 Jul 1, 2024
6bb7d60
changed: move the FingerProblem parameters to Opm::Parameters
akva2 Jul 1, 2024
5b08cc9
changed: move the LensProblem parameters to Opm::Parameters
akva2 Jul 1, 2024
ad8dd1e
Merge pull request #915 from akva2/problems_move_params
bska Aug 8, 2024
2b5825e
extending drsdtcon with regimes, and option for GAS/WATER
Jun 7, 2024
3d94377
adressed minor comments by reviewer, added enableConvectiveMixing fla…
Jun 12, 2024
9696ff0
fix for flag when DRSDTCON is active, adressed warnings and fixed ini…
Jun 24, 2024
46462dd
Move modification of density to convective mixing module
Aug 7, 2024
b0d6f9e
Restrict convective mass flux by Psi
Aug 9, 2024
32b0015
changed: remove the typetag for using the parameter system
akva2 Jul 5, 2024
a5b4f82
Parameters::endParamRegistration
akva2 Jul 5, 2024
85e48bd
Parameters::getLists: remove unused TypeTag tparam
akva2 Jul 5, 2024
6a43a7e
Parameters::printUnused: remove unused TypeTag tparam
akva2 Jul 5, 2024
b9d46da
Parameters::printValues: remove unused TypeTag tparam
akva2 Jul 5, 2024
b60f390
Parameters::printUsage: remove unused TypeTag tparam
akva2 Jul 5, 2024
0e5ea0f
Parameters::parseParameterFile: remove unused TypeTag tparam
akva2 Jul 5, 2024
b682b7d
Parameters::parseCommandLineOptions: remove unused TypeTag tparam
akva2 Jul 5, 2024
add584f
rename Parameters::ParamRegFinalizer to ParamRegFinalizerTT
akva2 Jul 5, 2024
129e15b
ParameterSystem: add overloads for typetag free parameter system
akva2 Jul 5, 2024
4f9a05a
Merge pull request #910 from totto82/convmix
totto82 Aug 9, 2024
1a2cfa7
Merge pull request #916 from akva2/typetag_free_param_system
bska Aug 9, 2024
e95c1c2
blackoilConvectiveMixingModule: anonymize unused parameters
akva2 Aug 12, 2024
ba7993f
Merge pull request #920 from akva2/janitoring
akva2 Aug 12, 2024
c1e2a3a
Add workaround from libc++ incomplete from_chars().
atgeirr Aug 12, 2024
3d737c0
ParameterSystem: add support for quad Scalar
akva2 Aug 12, 2024
b424c38
move ParameterFile to TypeTag-free parameter system
akva2 Jul 5, 2024
b4f3e65
move GridGlobalRefinements to TypeTag-free parameter system
akva2 Jul 5, 2024
4905289
move GridFile to TypeTag-free parameter system
akva2 Jul 5, 2024
00c0304
move EnableAsyncVtkOutput to TypeTag-free parameter system
akva2 Jul 5, 2024
65db009
move FlashTolerance to TypeTag-free parameter system
akva2 Jul 5, 2024
d209603
move FlashTwoPhaseMethod to TypeTag-free parameter system
akva2 Jul 5, 2024
ac4c723
move FlashVerbosity to TypeTag-free parameter system
akva2 Jul 5, 2024
25aed6d
move Cells(X|Y|Z) to TypeTag-free parameter system
akva2 Jul 5, 2024
0509285
move DomainSize(X|Y|Z) to TypeTag-free parameter system
akva2 Jul 5, 2024
7da433b
move SeparateSparseSourceTerms to TypeTag-free parameter system
akva2 Jul 5, 2024
00121f1
move NumericDifferenceMethod to TypeTag-free parameter system
akva2 Jul 5, 2024
cbbf1fc
move PressureScale to TypeTag-free parameter system
akva2 Jul 5, 2024
db62f4d
move PvsVerbosity to TypeTag-free parameter system
akva2 Jul 5, 2024
6c7f40b
move PredeterminedTimeStepsFile to TypeTag-free parameter system
akva2 Jul 5, 2024
0e3d960
move PrintParameters to TypeTag-free parameter system
akva2 Jul 5, 2024
d95c049
move RestartTime to TypeTag-free parameter system
akva2 Jul 5, 2024
f5c7bad
move EndTime to TypeTag-free parameter system
akva2 Jul 5, 2024
a2cbb8c
move InitialTimeStepSize to TypeTag-free parameter system
akva2 Jul 5, 2024
f6abb46
move ThreadsPerProcess to TypeTag-free parameter system
akva2 Jul 5, 2024
805e0a4
move EnableGridAdaptation to TypeTag-free parameter system
akva2 Jul 5, 2024
8d382f7
Merge pull request #922 from atgeirr/from_char-workaround
bska Aug 12, 2024
6b724aa
Merge pull request #921 from akva2/typetag_free_params_no_downstream
bska Aug 12, 2024
8a67f44
move OutputDir parameter to TypeTag-less implementation
akva2 Jul 5, 2024
c979eae
move EnableVtkOutput to TypeTag-free parameter system
akva2 Jul 5, 2024
08002ca
move MaxTimestepSize to TypeTag-free parameter system
akva2 Jul 5, 2024
508422f
move MinTimestepSize to TypeTag-free parameter system
akva2 Jul 5, 2024
07dcd1a
move MaxTimestepDivisions to TypeTag-free parameter system
akva2 Jul 5, 2024
af30ebf
move ContinueOnConvergenceError to TypeTag-free parameter system
akva2 Jul 5, 2024
5b7fd50
move EnableIntensiveQuantityCache to TypeTag-free parameter system
akva2 Jul 5, 2024
3266752
move EnableStorageCache to TypeTag-free parameter system
akva2 Jul 5, 2024
a480fe5
move EnableThermodynamicHints to TypeTag-free parameter system
akva2 Jul 5, 2024
b76dd13
Merge pull request #923 from akva2/typetag_free_params1
bska Aug 13, 2024
36b05f9
move NewtonVerbose to TypeTag-free parameter system
akva2 Jul 5, 2024
6d649be
move NewtonWriteConvergence to TypeTag-free parameter system
akva2 Jul 5, 2024
73344cf
move NewtonTolerance to TypeTag-free parameter system
akva2 Jul 5, 2024
8285d99
move NewtonMaxError parameter to TypeTag-free parameter system
akva2 Jul 5, 2024
930e6c8
move NewtonTargetIterations to TypeTag-free parameter system
akva2 Jul 5, 2024
84d5044
move NewtonMaxIterations to TypeTag-free parameter system
akva2 Jul 5, 2024
ee57810
move VtkBlackoilPolymerModule parameters to TypeTag-free parameter sy…
akva2 Jul 5, 2024
26114b7
move VtkMultiphaseModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
f97959c
move VtkDiffusionModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
19e8c39
move VtkCompositionModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
4853860
move VtkBlackoilEnergyModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
185b4d9
move VtkPhasePresence parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
bd582e8
move VtkPrimaryVars parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
3c92550
move VtkSolventModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
8b860aa
move VtkEnergyModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
e388125
move VtkTemperatureModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
46b5b99
move VtkBlackoilModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
f011bb5
move VtkBlackoilMICPModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
5c108be
move VtkPtFlashModule parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
1a74100
move VtkDiscreteFractureModule parameters to TypeTag-free parameter s…
akva2 Jul 5, 2024
f14c738
move EnableGravity to TypeTag-free parameter system
akva2 Jul 5, 2024
0a40ed2
move BlackoilNewtonMethod parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
62a1804
move LinearSolver parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
87b1ea1
move FingerProblem parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
92cc154
move Co2InjectionProblem parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
0d7bba7
move GroundWaterProblem parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
9a572e1
move LensProblem parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
0ff3c08
move Co2PtFlashProblem parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
7425dde
move ReservoirProblem parameters to TypeTag-free parameter system
akva2 Jul 5, 2024
d271cd3
Merge pull request #925 from akva2/typetag_free_params2
bska Aug 14, 2024
2b7fe4c
support drsdtcon with pvtnum
Aug 14, 2024
d9863d5
Don't Require Floating Point from_chars() Function
bska Aug 15, 2024
d60a21e
Merge pull request #926 from bska/no-floating-point-from-chars
bska Aug 16, 2024
a7737fe
remove typetag based parameter system
akva2 Aug 16, 2024
8cc1a0e
Merge pull request #928 from akva2/remove_typetag_param_system
bska Aug 16, 2024
23034c0
Avoid deleting derivatives with zero pressure difference
hnil Feb 29, 2024
fa610b4
Merge pull request #924 from totto82/drsdtcon_pvtnum
totto82 Aug 22, 2024
43fafc1
BlackoilMICPModules: fix field prop copy if Scalar is float
akva2 Apr 11, 2024
61abbc2
consistently use Scalar type
akva2 Apr 11, 2024
818f8b9
Merge pull request #877 from hnil/no_early_exit_zero_flux
GitPaean Aug 29, 2024
f5aeffc
Merge pull request #896 from akva2/floats
bska Aug 30, 2024
bc46647
Import opm-models
akva2 Sep 2, 2024
e3a16df
add imported opm-models code to buildsystem
akva2 Aug 9, 2024
a26b981
Don't Require Floating Point from_chars() Function
bska Aug 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 53 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ macro (config_hook)
if(dune-fem_FOUND)
opm_need_version_of ("dune-fem")
endif()
opm_need_version_of ("opm-models")

if(NOT fmt_FOUND)
include(DownloadFmt)
Expand All @@ -293,6 +292,21 @@ macro (config_hook)
if(BUILD_FLOW_FLOAT_VARIANTS)
set(FLOW_INSTANTIATE_FLOAT 1)
endif()

# The parameter system can leverage std::from_chars() for
# floating-point types if available. Detect support for this
# feature.
try_compile(
have_float_from_chars
${CMAKE_BINARY_DIR}
${PROJECT_SOURCE_DIR}/cmake/test/testFloatFromChars.cpp
CXX_STANDARD 17
)

set(HAVE_FLOATING_POINT_FROM_CHARS 0)
if(have_float_from_chars)
set(HAVE_FLOATING_POINT_FROM_CHARS 1)
endif()
endmacro (config_hook)

macro (prereqs_hook)
Expand Down Expand Up @@ -371,6 +385,44 @@ opm_add_test(test_tuning_tsinit_nextstep
${Boost_UNIT_TEST_FRAMEWORK_LIBRARY} opmcommon
ONLY_COMPILE)

# this test is identical to the simulation of the lens problem that
# uses the element centered finite volume discretization in
# conjunction with automatic differentiation
# (lens_immiscible_ecfv_ad). The only difference is that it uses
# multiple compile units in order to ensure that eWoms code can be
# used within libraries that use the same type tag within multiple
# compile units.
opm_add_test(lens_immiscible_ecfv_ad_mcu
SOURCES
examples/lens_immiscible_ecfv_ad_cu1.cpp
examples/lens_immiscible_ecfv_ad_cu2.cpp
examples/lens_immiscible_ecfv_ad_main.cpp
LIBRARIES
opmsimulators opmcommon
ONLY_COMPILE)

if(QuadMath_FOUND)
foreach(tapp co2injection_flash_ni_ecfv
co2injection_flash_ni_vcfv
co2injection_flash_ecfv
co2injection_flash_vcfv)
opm_add_test(${tapp}_quad
EXE_NAME ${tapp}_quad
SOURCES
examples/${tapp}.cpp
ONLY_COMPILE)
target_link_libraries(${tapp}_quad QuadMath::QuadMath)
target_compile_definitions(${tapp}_quad PRIVATE HAVE_QUAD=1)
endforeach()
endif()

target_sources(test_outputdir PRIVATE $<TARGET_OBJECTS:moduleVersion>)
target_sources(test_equil PRIVATE $<TARGET_OBJECTS:moduleVersion>)
target_sources(test_RestartSerialization PRIVATE $<TARGET_OBJECTS:moduleVersion>)
target_sources(test_glift1 PRIVATE $<TARGET_OBJECTS:moduleVersion>)

include (${CMAKE_CURRENT_SOURCE_DIR}/modelTests.cmake)

if (HAVE_OPM_TESTS)
include (${CMAKE_CURRENT_SOURCE_DIR}/compareECLFiles.cmake)
endif()
Expand All @@ -379,11 +431,6 @@ if(MPI_FOUND)
include (${CMAKE_CURRENT_SOURCE_DIR}/parallelUnitTests.cmake)
endif()

target_sources(test_outputdir PRIVATE $<TARGET_OBJECTS:moduleVersion>)
target_sources(test_equil PRIVATE $<TARGET_OBJECTS:moduleVersion>)
target_sources(test_RestartSerialization PRIVATE $<TARGET_OBJECTS:moduleVersion>)
target_sources(test_glift1 PRIVATE $<TARGET_OBJECTS:moduleVersion>)

include(OpmBashCompletion)

if (NOT BUILD_FLOW)
Expand Down
Loading