From 23e9bc5ebc751420a0ea2fceeeb8c909d0f80d5d Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Mon, 1 Jul 2024 08:58:28 +0200 Subject: [PATCH] cosmetics --- examples/co2injection_flash_ecfv.cpp | 15 +++++++++++---- examples/co2injection_flash_ni_ecfv.cpp | 17 ++++++++++++----- examples/co2injection_flash_ni_vcfv.cpp | 17 ++++++++++++----- examples/co2injection_flash_vcfv.cpp | 11 ++++++++--- examples/co2injection_immiscible_ni_ecfv.cpp | 10 +++++++--- examples/co2injection_immiscible_ni_vcfv.cpp | 6 ++++-- examples/co2injection_immiscible_vcfv.cpp | 3 ++- examples/co2injection_ncp_ecfv.cpp | 9 +++++++-- examples/co2injection_ncp_ni_ecfv.cpp | 16 ++++++++++++---- examples/co2injection_ncp_ni_vcfv.cpp | 12 +++++++++--- examples/co2injection_ncp_vcfv.cpp | 9 +++++++-- examples/co2injection_pvs_ecfv.cpp | 9 +++++++-- examples/co2injection_pvs_ni_ecfv.cpp | 14 ++++++++++---- examples/co2injection_pvs_ni_vcfv.cpp | 14 ++++++++++---- examples/co2injection_pvs_vcfv.cpp | 9 +++++++-- examples/cuvette_pvs.cpp | 4 +++- examples/groundwater_immiscible.cpp | 5 ++++- examples/infiltration_pvs.cpp | 3 ++- examples/lens_richards_ecfv.cpp | 11 ++++++++--- examples/lens_richards_vcfv.cpp | 9 +++++++-- examples/obstacle_immiscible.cpp | 4 +++- examples/obstacle_ncp.cpp | 5 ++++- examples/obstacle_pvs.cpp | 8 ++++++-- examples/outflow_pvs.cpp | 8 ++++++-- examples/reservoir_blackoil_ecfv.cpp | 11 ++++++++--- examples/reservoir_blackoil_vcfv.cpp | 8 ++++++-- examples/reservoir_ncp_ecfv.cpp | 11 ++++++++--- examples/reservoir_ncp_vcfv.cpp | 8 ++++++-- examples/waterair_pvs_ni.cpp | 6 ++++-- 29 files changed, 200 insertions(+), 72 deletions(-) diff --git a/examples/co2injection_flash_ecfv.cpp b/examples/co2injection_flash_ecfv.cpp index 498d0265b..405d3891b 100644 --- a/examples/co2injection_flash_ecfv.cpp +++ b/examples/co2injection_flash_ecfv.cpp @@ -42,14 +42,20 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionFlashEcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionFlashEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; // use automatic differentiation for this simulator template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; // use the flash solver adapted to the CO2 injection problem template @@ -62,7 +68,8 @@ struct FlashSolver // else we increase the tolerance of the Newton solver #if HAVE_QUAD template -struct Scalar { using type = quad; }; +struct Scalar +{ using type = quad; }; #else template struct NewtonTolerance diff --git a/examples/co2injection_flash_ni_ecfv.cpp b/examples/co2injection_flash_ni_ecfv.cpp index 345084682..56718dbe4 100644 --- a/examples/co2injection_flash_ni_ecfv.cpp +++ b/examples/co2injection_flash_ni_ecfv.cpp @@ -39,17 +39,23 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionFlashNiEcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionFlashNiEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; template -struct EnableEnergy { static constexpr bool value = true; }; +struct EnableEnergy +{ static constexpr bool value = true; }; //! Use automatic differentiation to linearize the system of PDEs template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; // use the CO2 injection problem adapted flash solver template @@ -62,7 +68,8 @@ struct FlashSolver // else we increase the tolerance of the Newton solver #if HAVE_QUAD template -struct Scalar { using type = quad; }; +struct Scalar +{ using type = quad; }; #else template struct NewtonTolerance diff --git a/examples/co2injection_flash_ni_vcfv.cpp b/examples/co2injection_flash_ni_vcfv.cpp index ebe0476fb..b639bfc1e 100644 --- a/examples/co2injection_flash_ni_vcfv.cpp +++ b/examples/co2injection_flash_ni_vcfv.cpp @@ -39,13 +39,19 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionFlashNiVcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionFlashNiVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag -template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; template -struct EnableEnergy { static constexpr bool value = true; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; + +template +struct EnableEnergy +{ static constexpr bool value = true; }; // use the CO2 injection problem adapted flash solver template @@ -58,7 +64,8 @@ struct FlashSolver // else we increase the tolerance of the Newton solver #if HAVE_QUAD template -struct Scalar { using type = quad; }; +struct Scalar +{ using type = quad; }; #else template struct NewtonTolerance diff --git a/examples/co2injection_flash_vcfv.cpp b/examples/co2injection_flash_vcfv.cpp index fdf42abe9..277cd296d 100644 --- a/examples/co2injection_flash_vcfv.cpp +++ b/examples/co2injection_flash_vcfv.cpp @@ -42,10 +42,14 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionFlashVcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionFlashVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; // use the flash solver adapted to the CO2 injection problem template @@ -58,7 +62,8 @@ struct FlashSolver // else we increase the tolerance of the Newton solver #if HAVE_QUAD template -struct Scalar { using type = quad; }; +struct Scalar +{ using type = quad; }; #else template struct NewtonTolerance diff --git a/examples/co2injection_immiscible_ni_ecfv.cpp b/examples/co2injection_immiscible_ni_ecfv.cpp index ab8d6f96c..571d56431 100644 --- a/examples/co2injection_immiscible_ni_ecfv.cpp +++ b/examples/co2injection_immiscible_ni_ecfv.cpp @@ -37,7 +37,9 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionImmiscibleNiEcfvProblem { using InheritsFrom = std::tuple; }; +struct Co2InjectionImmiscibleNiEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag template @@ -45,11 +47,13 @@ struct SpatialDiscretizationSplice -struct EnableEnergy { static constexpr bool value = true; }; +struct EnableEnergy +{ static constexpr bool value = true; }; //! Use automatic differentiation to linearize the system of PDEs template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; } // namespace Opm::Properties diff --git a/examples/co2injection_immiscible_ni_vcfv.cpp b/examples/co2injection_immiscible_ni_vcfv.cpp index b6045149d..000c3140c 100644 --- a/examples/co2injection_immiscible_ni_vcfv.cpp +++ b/examples/co2injection_immiscible_ni_vcfv.cpp @@ -43,10 +43,12 @@ struct Co2InjectionImmiscibleNiVcfvProblem } // namespace TTag template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; template -struct EnableEnergy { static constexpr bool value = true; }; +struct EnableEnergy +{ static constexpr bool value = true; }; } // namespace Opm::Properties diff --git a/examples/co2injection_immiscible_vcfv.cpp b/examples/co2injection_immiscible_vcfv.cpp index bec694eed..f31038542 100644 --- a/examples/co2injection_immiscible_vcfv.cpp +++ b/examples/co2injection_immiscible_vcfv.cpp @@ -44,7 +44,8 @@ struct Co2InjectionImmiscibleVcfvProblem } // namespace TTag template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; } // namespace Opm::Properties diff --git a/examples/co2injection_ncp_ecfv.cpp b/examples/co2injection_ncp_ecfv.cpp index 7a26e192b..a5dd24489 100644 --- a/examples/co2injection_ncp_ecfv.cpp +++ b/examples/co2injection_ncp_ecfv.cpp @@ -37,10 +37,15 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionNcpEcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionNcpEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; } // namespace Opm::Properties diff --git a/examples/co2injection_ncp_ni_ecfv.cpp b/examples/co2injection_ncp_ni_ecfv.cpp index 340aed2f6..61d608acf 100644 --- a/examples/co2injection_ncp_ni_ecfv.cpp +++ b/examples/co2injection_ncp_ni_ecfv.cpp @@ -37,16 +37,24 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionNcpNiEcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionNcpNiEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; + template -struct EnableEnergy { static constexpr bool value = true; }; +struct EnableEnergy +{ static constexpr bool value = true; }; //! Use automatic differentiation to linearize the system of PDEs template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; } // namespace Opm::Properties diff --git a/examples/co2injection_ncp_ni_vcfv.cpp b/examples/co2injection_ncp_ni_vcfv.cpp index 13aa495bc..de8013e2e 100644 --- a/examples/co2injection_ncp_ni_vcfv.cpp +++ b/examples/co2injection_ncp_ni_vcfv.cpp @@ -37,12 +37,18 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionNcpNiVcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionNcpNiVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; + template -struct EnableEnergy { static constexpr bool value = true; }; +struct EnableEnergy +{ static constexpr bool value = true; }; } // namespace Opm::Properties diff --git a/examples/co2injection_ncp_vcfv.cpp b/examples/co2injection_ncp_vcfv.cpp index 6d9a431fa..f4446fa87 100644 --- a/examples/co2injection_ncp_vcfv.cpp +++ b/examples/co2injection_ncp_vcfv.cpp @@ -38,10 +38,15 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionNcpVcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionNcpVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; } // namespace Opm::Properties diff --git a/examples/co2injection_pvs_ecfv.cpp b/examples/co2injection_pvs_ecfv.cpp index 473dbdbf7..a7b690394 100644 --- a/examples/co2injection_pvs_ecfv.cpp +++ b/examples/co2injection_pvs_ecfv.cpp @@ -37,10 +37,15 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionPvsEcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionPvsEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; } // namespace Opm::Properties diff --git a/examples/co2injection_pvs_ni_ecfv.cpp b/examples/co2injection_pvs_ni_ecfv.cpp index c8716ae3d..139660145 100644 --- a/examples/co2injection_pvs_ni_ecfv.cpp +++ b/examples/co2injection_pvs_ni_ecfv.cpp @@ -37,17 +37,23 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionPvsNiEcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionPvsNiEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; template -struct EnableEnergy { static constexpr bool value = true; }; +struct EnableEnergy +{ static constexpr bool value = true; }; //! Use automatic differentiation to linearize the system of PDEs template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; } // namespace Opm::Properties diff --git a/examples/co2injection_pvs_ni_vcfv.cpp b/examples/co2injection_pvs_ni_vcfv.cpp index 1e4dc053b..81195daee 100644 --- a/examples/co2injection_pvs_ni_vcfv.cpp +++ b/examples/co2injection_pvs_ni_vcfv.cpp @@ -37,13 +37,19 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionPvsNiVcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionPvsNiVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag -template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; template -struct EnableEnergy { static constexpr bool value = true; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; + +template +struct EnableEnergy +{ static constexpr bool value = true; }; } // namespace Opm::Properties diff --git a/examples/co2injection_pvs_vcfv.cpp b/examples/co2injection_pvs_vcfv.cpp index 82993a9f5..e053eef52 100644 --- a/examples/co2injection_pvs_vcfv.cpp +++ b/examples/co2injection_pvs_vcfv.cpp @@ -38,10 +38,15 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct Co2InjectionPvsVcfvProblem { using InheritsFrom = std::tuple; }; + +struct Co2InjectionPvsVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; } // namespace Opm::Properties diff --git a/examples/cuvette_pvs.cpp b/examples/cuvette_pvs.cpp index fe3307d60..a7f0798c9 100644 --- a/examples/cuvette_pvs.cpp +++ b/examples/cuvette_pvs.cpp @@ -37,7 +37,9 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct CuvetteProblem { using InheritsFrom = std::tuple; }; +struct CuvetteProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag } // namespace Opm::Properties diff --git a/examples/groundwater_immiscible.cpp b/examples/groundwater_immiscible.cpp index 216d06899..a360dbc3e 100644 --- a/examples/groundwater_immiscible.cpp +++ b/examples/groundwater_immiscible.cpp @@ -35,7 +35,10 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct GroundWaterProblem { using InheritsFrom = std::tuple; }; + +struct GroundWaterProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag } // namespace Opm::Properties diff --git a/examples/infiltration_pvs.cpp b/examples/infiltration_pvs.cpp index df0385383..c9a6ed0ea 100644 --- a/examples/infiltration_pvs.cpp +++ b/examples/infiltration_pvs.cpp @@ -36,7 +36,8 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct InfiltrationProblem { using InheritsFrom = std::tuple; }; +struct InfiltrationProblem +{ using InheritsFrom = std::tuple; }; } // end namespace TTag } // namespace Opm::Properties diff --git a/examples/lens_richards_ecfv.cpp b/examples/lens_richards_ecfv.cpp index 36a0fefd7..4cd312a68 100644 --- a/examples/lens_richards_ecfv.cpp +++ b/examples/lens_richards_ecfv.cpp @@ -37,14 +37,19 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct RichardsLensEcfvProblem { using InheritsFrom = std::tuple; }; +struct RichardsLensEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; //! Use automatic differentiation to linearize the system of PDEs template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; } // namespace Opm::Properties diff --git a/examples/lens_richards_vcfv.cpp b/examples/lens_richards_vcfv.cpp index b8d2609fa..af673dd78 100644 --- a/examples/lens_richards_vcfv.cpp +++ b/examples/lens_richards_vcfv.cpp @@ -37,10 +37,15 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct RichardsLensVcfvProblem { using InheritsFrom = std::tuple; }; + +struct RichardsLensVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag + template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; } // namespace Opm::Properties diff --git a/examples/obstacle_immiscible.cpp b/examples/obstacle_immiscible.cpp index 1e03bb66c..5e828f612 100644 --- a/examples/obstacle_immiscible.cpp +++ b/examples/obstacle_immiscible.cpp @@ -37,7 +37,9 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct ObstacleProblem { using InheritsFrom = std::tuple; }; +struct ObstacleProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag } // namespace Opm::Properties diff --git a/examples/obstacle_ncp.cpp b/examples/obstacle_ncp.cpp index 3d44da7a8..d98171493 100644 --- a/examples/obstacle_ncp.cpp +++ b/examples/obstacle_ncp.cpp @@ -37,7 +37,10 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct ObstacleProblem { using InheritsFrom = std::tuple; }; + +struct ObstacleProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag } // namespace Opm::Properties diff --git a/examples/obstacle_pvs.cpp b/examples/obstacle_pvs.cpp index 21d3186a4..838ba7cb2 100644 --- a/examples/obstacle_pvs.cpp +++ b/examples/obstacle_pvs.cpp @@ -39,12 +39,16 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct ObstacleProblem { using InheritsFrom = std::tuple; }; + +struct ObstacleProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag // Verbosity of the PVS model (0=silent, 1=medium, 2=chatty) template -struct PvsVerbosity { static constexpr int value = 1; }; +struct PvsVerbosity +{ static constexpr int value = 1; }; } // namespace Opm::Properties diff --git a/examples/outflow_pvs.cpp b/examples/outflow_pvs.cpp index fff6fc34e..3d5ea6772 100644 --- a/examples/outflow_pvs.cpp +++ b/examples/outflow_pvs.cpp @@ -37,12 +37,16 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct OutflowProblem { using InheritsFrom = std::tuple; }; + +struct OutflowProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag // Verbosity of the PVS model (0=silent, 1=medium, 2=chatty) template -struct PvsVerbosity { static constexpr int value = 1; }; +struct PvsVerbosity +{ static constexpr int value = 1; }; } // namespace Opm::Properties diff --git a/examples/reservoir_blackoil_ecfv.cpp b/examples/reservoir_blackoil_ecfv.cpp index 393721b85..df1506508 100644 --- a/examples/reservoir_blackoil_ecfv.cpp +++ b/examples/reservoir_blackoil_ecfv.cpp @@ -39,16 +39,21 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct ReservoirBlackOilEcfvProblem { using InheritsFrom = std::tuple; }; + +struct ReservoirBlackOilEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag // Select the element centered finite volume method as spatial discretization template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; // Use automatic differentiation to linearize the system of PDEs template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; } // namespace Opm::Properties diff --git a/examples/reservoir_blackoil_vcfv.cpp b/examples/reservoir_blackoil_vcfv.cpp index b03ae2180..d0fc8a5c8 100644 --- a/examples/reservoir_blackoil_vcfv.cpp +++ b/examples/reservoir_blackoil_vcfv.cpp @@ -38,12 +38,16 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct ReservoirBlackOilVcfvProblem { using InheritsFrom = std::tuple; }; + +struct ReservoirBlackOilVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag // Select the vertex centered finite volume method as spatial discretization template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; } // namespace Opm::Properties diff --git a/examples/reservoir_ncp_ecfv.cpp b/examples/reservoir_ncp_ecfv.cpp index f5cfc7f75..11c1a1ecc 100644 --- a/examples/reservoir_ncp_ecfv.cpp +++ b/examples/reservoir_ncp_ecfv.cpp @@ -38,16 +38,21 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct ReservoirNcpEcfvProblem { using InheritsFrom = std::tuple; }; + +struct ReservoirNcpEcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag // Select the element centered finite volume method as spatial discretization template -struct SpatialDiscretizationSplice { using type = TTag::EcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::EcfvDiscretization; }; //! use automatic differentiation to linearize the system of PDEs template -struct LocalLinearizerSplice { using type = TTag::AutoDiffLocalLinearizer; }; +struct LocalLinearizerSplice +{ using type = TTag::AutoDiffLocalLinearizer; }; } // namespace Opm::Properties diff --git a/examples/reservoir_ncp_vcfv.cpp b/examples/reservoir_ncp_vcfv.cpp index d4501e9d8..187788ffb 100644 --- a/examples/reservoir_ncp_vcfv.cpp +++ b/examples/reservoir_ncp_vcfv.cpp @@ -39,12 +39,16 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct ReservoirNcpVcfvProblem { using InheritsFrom = std::tuple; }; + +struct ReservoirNcpVcfvProblem +{ using InheritsFrom = std::tuple; }; + } // end namespace TTag // Select the vertex centered finite volume method as spatial discretization template -struct SpatialDiscretizationSplice { using type = TTag::VcfvDiscretization; }; +struct SpatialDiscretizationSplice +{ using type = TTag::VcfvDiscretization; }; // reduce the base epsilon for the finite difference method to 10^-11. for some reason // the simulator converges better with this. (TODO: use automatic differentiation?) diff --git a/examples/waterair_pvs_ni.cpp b/examples/waterair_pvs_ni.cpp index 0d59a99dc..7c88a49b3 100644 --- a/examples/waterair_pvs_ni.cpp +++ b/examples/waterair_pvs_ni.cpp @@ -35,11 +35,13 @@ namespace Opm::Properties { // Create new type tags namespace TTag { -struct WaterAirProblem { using InheritsFrom = std::tuple; }; +struct WaterAirProblem +{ using InheritsFrom = std::tuple; }; } // end namespace TTag template -struct EnableEnergy { static constexpr bool value = true; }; +struct EnableEnergy +{ static constexpr bool value = true; }; } // namespace Opm::Properties