From bce9c28d5353073552e273093983c3111cd21242 Mon Sep 17 00:00:00 2001 From: Piyush Sharda <34922596+psharda@users.noreply.github.com> Date: Fri, 8 Sep 2023 18:58:28 -0600 Subject: [PATCH] Remove is_chemistry_enabled (#369) * remove is_chemistry_enabled * remove is_chemistry_enabled --- src/Advection/test_advection.cpp | 1 - src/Advection2D/test_advection2d.cpp | 1 - src/AdvectionSemiellipse/test_advection_semiellipse.cpp | 1 - src/Cooling/test_cooling.cpp | 1 - src/FCQuantities/test_fc_quantities.cpp | 1 - src/HydroBlast2D/test_hydro2d_blast.cpp | 1 - src/HydroBlast3D/test_hydro3d_blast.cpp | 1 - src/HydroContact/test_hydro_contact.cpp | 1 - src/HydroHighMach/test_hydro_highmach.cpp | 1 - src/HydroKelvinHelmholz/test_hydro2d_kh.cpp | 1 - src/HydroLeblanc/test_hydro_leblanc.cpp | 1 - src/HydroQuirk/test_quirk.cpp | 1 - src/HydroRichtmeyerMeshkov/test_hydro2d_rm.cpp | 1 - src/HydroSMS/test_hydro_sms.cpp | 1 - src/HydroShocktube/test_hydro_shocktube.cpp | 1 - src/HydroShocktubeCMA/test_hydro_shocktube_cma.cpp | 1 - src/HydroShuOsher/test_hydro_shuosher.cpp | 1 - src/HydroVacuum/test_hydro_vacuum.cpp | 1 - src/HydroWave/test_hydro_wave.cpp | 1 - src/NSCBC/channel.cpp | 1 - src/NSCBC/vortex.cpp | 1 - src/PassiveScalar/test_scalars.cpp | 1 - src/PrimordialChem/test_primordial_chem.cpp | 1 - src/RadBeam/test_radiation_beam.cpp | 1 - src/RadForce/test_radiation_force.cpp | 1 - src/RadMarshak/test_radiation_marshak.cpp | 1 - src/RadMarshakAsymptotic/test_radiation_marshak_asymptotic.cpp | 1 - src/RadMarshakCGS/test_radiation_marshak_cgs.cpp | 1 - src/RadMatterCoupling/test_radiation_matter_coupling.cpp | 1 - .../test_radiation_matter_coupling_rsla.cpp | 1 - src/RadPulse/test_radiation_pulse.cpp | 1 - src/RadStreaming/test_radiation_streaming.cpp | 1 - src/RadSuOlson/test_radiation_SuOlson.cpp | 1 - src/RadTophat/test_radiation_tophat.cpp | 1 - src/RadTube/test_radiation_tube.cpp | 1 - src/RadhydroShell/test_radhydro_shell.cpp | 1 - src/RadhydroShock/test_radhydro_shock.cpp | 1 - src/RadhydroShockCGS/test_radhydro_shock_cgs.cpp | 1 - src/RadhydroSimulation.hpp | 2 -- src/RayleighTaylor2D/test_hydro2d_rt.cpp | 1 - src/RayleighTaylor3D/test_hydro3d_rt.cpp | 1 - src/ShockCloud/cloud.cpp | 1 - src/SphericalCollapse/spherical_collapse.cpp | 1 - src/StarCluster/star_cluster.cpp | 1 - src/physics_info.hpp | 1 - 45 files changed, 46 deletions(-) diff --git a/src/Advection/test_advection.cpp b/src/Advection/test_advection.cpp index d630864e7..8e1b837b0 100644 --- a/src/Advection/test_advection.cpp +++ b/src/Advection/test_advection.cpp @@ -29,7 +29,6 @@ struct SawtoothProblem { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/Advection2D/test_advection2d.cpp b/src/Advection2D/test_advection2d.cpp index f286f9969..7a59d5529 100644 --- a/src/Advection2D/test_advection2d.cpp +++ b/src/Advection2D/test_advection2d.cpp @@ -34,7 +34,6 @@ struct SquareProblem { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/AdvectionSemiellipse/test_advection_semiellipse.cpp b/src/AdvectionSemiellipse/test_advection_semiellipse.cpp index 233ed14d3..a1ae41dc1 100644 --- a/src/AdvectionSemiellipse/test_advection_semiellipse.cpp +++ b/src/AdvectionSemiellipse/test_advection_semiellipse.cpp @@ -28,7 +28,6 @@ struct SemiellipseProblem { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/Cooling/test_cooling.cpp b/src/Cooling/test_cooling.cpp index e88164691..7440006e8 100644 --- a/src/Cooling/test_cooling.cpp +++ b/src/Cooling/test_cooling.cpp @@ -42,7 +42,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/FCQuantities/test_fc_quantities.cpp b/src/FCQuantities/test_fc_quantities.cpp index 38291fe22..39a051096 100644 --- a/src/FCQuantities/test_fc_quantities.cpp +++ b/src/FCQuantities/test_fc_quantities.cpp @@ -34,7 +34,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroBlast2D/test_hydro2d_blast.cpp b/src/HydroBlast2D/test_hydro2d_blast.cpp index 094bce5e5..b27481acc 100644 --- a/src/HydroBlast2D/test_hydro2d_blast.cpp +++ b/src/HydroBlast2D/test_hydro2d_blast.cpp @@ -34,7 +34,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroBlast3D/test_hydro3d_blast.cpp b/src/HydroBlast3D/test_hydro3d_blast.cpp index b698e8d5f..03ffc3434 100644 --- a/src/HydroBlast3D/test_hydro3d_blast.cpp +++ b/src/HydroBlast3D/test_hydro3d_blast.cpp @@ -45,7 +45,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroContact/test_hydro_contact.cpp b/src/HydroContact/test_hydro_contact.cpp index fca6de1fe..3604cf920 100644 --- a/src/HydroContact/test_hydro_contact.cpp +++ b/src/HydroContact/test_hydro_contact.cpp @@ -30,7 +30,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 2; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroHighMach/test_hydro_highmach.cpp b/src/HydroHighMach/test_hydro_highmach.cpp index 9b8d74fb3..efe9cf774 100644 --- a/src/HydroHighMach/test_hydro_highmach.cpp +++ b/src/HydroHighMach/test_hydro_highmach.cpp @@ -37,7 +37,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroKelvinHelmholz/test_hydro2d_kh.cpp b/src/HydroKelvinHelmholz/test_hydro2d_kh.cpp index ac402cf59..25fc456a4 100644 --- a/src/HydroKelvinHelmholz/test_hydro2d_kh.cpp +++ b/src/HydroKelvinHelmholz/test_hydro2d_kh.cpp @@ -35,7 +35,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroLeblanc/test_hydro_leblanc.cpp b/src/HydroLeblanc/test_hydro_leblanc.cpp index 7a848bb98..266359ef0 100644 --- a/src/HydroLeblanc/test_hydro_leblanc.cpp +++ b/src/HydroLeblanc/test_hydro_leblanc.cpp @@ -37,7 +37,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroQuirk/test_quirk.cpp b/src/HydroQuirk/test_quirk.cpp index b5e532ba6..a66732e70 100644 --- a/src/HydroQuirk/test_quirk.cpp +++ b/src/HydroQuirk/test_quirk.cpp @@ -54,7 +54,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroRichtmeyerMeshkov/test_hydro2d_rm.cpp b/src/HydroRichtmeyerMeshkov/test_hydro2d_rm.cpp index d2ba59bb3..ac1570f0c 100644 --- a/src/HydroRichtmeyerMeshkov/test_hydro2d_rm.cpp +++ b/src/HydroRichtmeyerMeshkov/test_hydro2d_rm.cpp @@ -34,7 +34,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroSMS/test_hydro_sms.cpp b/src/HydroSMS/test_hydro_sms.cpp index d060a8d10..1ab876fa4 100644 --- a/src/HydroSMS/test_hydro_sms.cpp +++ b/src/HydroSMS/test_hydro_sms.cpp @@ -30,7 +30,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroShocktube/test_hydro_shocktube.cpp b/src/HydroShocktube/test_hydro_shocktube.cpp index fbb5417ea..db75d2b64 100644 --- a/src/HydroShocktube/test_hydro_shocktube.cpp +++ b/src/HydroShocktube/test_hydro_shocktube.cpp @@ -35,7 +35,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroShocktubeCMA/test_hydro_shocktube_cma.cpp b/src/HydroShocktubeCMA/test_hydro_shocktube_cma.cpp index a21f5a502..fb686b62c 100644 --- a/src/HydroShocktubeCMA/test_hydro_shocktube_cma.cpp +++ b/src/HydroShocktubeCMA/test_hydro_shocktube_cma.cpp @@ -40,7 +40,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 3; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroShuOsher/test_hydro_shuosher.cpp b/src/HydroShuOsher/test_hydro_shuosher.cpp index 3ce5b26c5..878688dd0 100644 --- a/src/HydroShuOsher/test_hydro_shuosher.cpp +++ b/src/HydroShuOsher/test_hydro_shuosher.cpp @@ -32,7 +32,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroVacuum/test_hydro_vacuum.cpp b/src/HydroVacuum/test_hydro_vacuum.cpp index bb02e7fcb..bd53570cb 100644 --- a/src/HydroVacuum/test_hydro_vacuum.cpp +++ b/src/HydroVacuum/test_hydro_vacuum.cpp @@ -34,7 +34,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/HydroWave/test_hydro_wave.cpp b/src/HydroWave/test_hydro_wave.cpp index a69cb1329..681d74a5e 100644 --- a/src/HydroWave/test_hydro_wave.cpp +++ b/src/HydroWave/test_hydro_wave.cpp @@ -30,7 +30,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/NSCBC/channel.cpp b/src/NSCBC/channel.cpp index e3f6b75ff..ec8523dcf 100644 --- a/src/NSCBC/channel.cpp +++ b/src/NSCBC/channel.cpp @@ -56,7 +56,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr bool is_mhd_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 1; // number of passive scalars diff --git a/src/NSCBC/vortex.cpp b/src/NSCBC/vortex.cpp index ec364bfb2..76fab591b 100644 --- a/src/NSCBC/vortex.cpp +++ b/src/NSCBC/vortex.cpp @@ -53,7 +53,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr bool is_mhd_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 1; // number of passive scalars diff --git a/src/PassiveScalar/test_scalars.cpp b/src/PassiveScalar/test_scalars.cpp index e768e1ef0..e75fecc96 100644 --- a/src/PassiveScalar/test_scalars.cpp +++ b/src/PassiveScalar/test_scalars.cpp @@ -32,7 +32,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 1; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/PrimordialChem/test_primordial_chem.cpp b/src/PrimordialChem/test_primordial_chem.cpp index e944dd166..40df4026d 100644 --- a/src/PrimordialChem/test_primordial_chem.cpp +++ b/src/PrimordialChem/test_primordial_chem.cpp @@ -43,7 +43,6 @@ struct PrimordialChemTest { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; // in the future, this could point to microphysics, and set to true static constexpr int numMassScalars = NumSpec; // number of chemical species static constexpr int numPassiveScalars = numMassScalars + 0; // we only have mass scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/RadBeam/test_radiation_beam.cpp b/src/RadBeam/test_radiation_beam.cpp index 1f4a4adf2..d4d9a4bf8 100644 --- a/src/RadBeam/test_radiation_beam.cpp +++ b/src/RadBeam/test_radiation_beam.cpp @@ -49,7 +49,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadForce/test_radiation_force.cpp b/src/RadForce/test_radiation_force.cpp index 265e28146..2be0ecb4c 100644 --- a/src/RadForce/test_radiation_force.cpp +++ b/src/RadForce/test_radiation_force.cpp @@ -61,7 +61,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadMarshak/test_radiation_marshak.cpp b/src/RadMarshak/test_radiation_marshak.cpp index b7986e508..cb5fd4f08 100644 --- a/src/RadMarshak/test_radiation_marshak.cpp +++ b/src/RadMarshak/test_radiation_marshak.cpp @@ -47,7 +47,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadMarshakAsymptotic/test_radiation_marshak_asymptotic.cpp b/src/RadMarshakAsymptotic/test_radiation_marshak_asymptotic.cpp index 9e99670ae..772b5804d 100644 --- a/src/RadMarshakAsymptotic/test_radiation_marshak_asymptotic.cpp +++ b/src/RadMarshakAsymptotic/test_radiation_marshak_asymptotic.cpp @@ -42,7 +42,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadMarshakCGS/test_radiation_marshak_cgs.cpp b/src/RadMarshakCGS/test_radiation_marshak_cgs.cpp index 15e208280..e98eb2877 100644 --- a/src/RadMarshakCGS/test_radiation_marshak_cgs.cpp +++ b/src/RadMarshakCGS/test_radiation_marshak_cgs.cpp @@ -49,7 +49,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadMatterCoupling/test_radiation_matter_coupling.cpp b/src/RadMatterCoupling/test_radiation_matter_coupling.cpp index 1c2582e50..24ed167ea 100644 --- a/src/RadMatterCoupling/test_radiation_matter_coupling.cpp +++ b/src/RadMatterCoupling/test_radiation_matter_coupling.cpp @@ -47,7 +47,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadMatterCouplingRSLA/test_radiation_matter_coupling_rsla.cpp b/src/RadMatterCouplingRSLA/test_radiation_matter_coupling_rsla.cpp index 0d774bfc9..cc7c13ec5 100644 --- a/src/RadMatterCouplingRSLA/test_radiation_matter_coupling_rsla.cpp +++ b/src/RadMatterCouplingRSLA/test_radiation_matter_coupling_rsla.cpp @@ -49,7 +49,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadPulse/test_radiation_pulse.cpp b/src/RadPulse/test_radiation_pulse.cpp index e51da1d32..9648bfcdb 100644 --- a/src/RadPulse/test_radiation_pulse.cpp +++ b/src/RadPulse/test_radiation_pulse.cpp @@ -44,7 +44,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadStreaming/test_radiation_streaming.cpp b/src/RadStreaming/test_radiation_streaming.cpp index 156902dee..bbb0572e3 100644 --- a/src/RadStreaming/test_radiation_streaming.cpp +++ b/src/RadStreaming/test_radiation_streaming.cpp @@ -39,7 +39,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadSuOlson/test_radiation_SuOlson.cpp b/src/RadSuOlson/test_radiation_SuOlson.cpp index f0c9baa1f..7203e20b1 100644 --- a/src/RadSuOlson/test_radiation_SuOlson.cpp +++ b/src/RadSuOlson/test_radiation_SuOlson.cpp @@ -54,7 +54,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadTophat/test_radiation_tophat.cpp b/src/RadTophat/test_radiation_tophat.cpp index 5aae4dae4..cb8ed8d5e 100644 --- a/src/RadTophat/test_radiation_tophat.cpp +++ b/src/RadTophat/test_radiation_tophat.cpp @@ -54,7 +54,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadTube/test_radiation_tube.cpp b/src/RadTube/test_radiation_tube.cpp index 13ddae128..1d942363e 100644 --- a/src/RadTube/test_radiation_tube.cpp +++ b/src/RadTube/test_radiation_tube.cpp @@ -53,7 +53,6 @@ template <> struct RadSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadhydroShell/test_radhydro_shell.cpp b/src/RadhydroShell/test_radhydro_shell.cpp index 80e8487ca..136d248ee 100644 --- a/src/RadhydroShell/test_radhydro_shell.cpp +++ b/src/RadhydroShell/test_radhydro_shell.cpp @@ -65,7 +65,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadhydroShock/test_radhydro_shock.cpp b/src/RadhydroShock/test_radhydro_shock.cpp index 64ad5e96a..940df9b19 100644 --- a/src/RadhydroShock/test_radhydro_shock.cpp +++ b/src/RadhydroShock/test_radhydro_shock.cpp @@ -70,7 +70,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadhydroShockCGS/test_radhydro_shock_cgs.cpp b/src/RadhydroShockCGS/test_radhydro_shock_cgs.cpp index cafce3c0e..030568e37 100644 --- a/src/RadhydroShockCGS/test_radhydro_shock_cgs.cpp +++ b/src/RadhydroShockCGS/test_radhydro_shock_cgs.cpp @@ -71,7 +71,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = true; diff --git a/src/RadhydroSimulation.hpp b/src/RadhydroSimulation.hpp index 8bb505988..39a640ef9 100644 --- a/src/RadhydroSimulation.hpp +++ b/src/RadhydroSimulation.hpp @@ -275,8 +275,6 @@ template class RadhydroSimulation : public AMRSimulation void RadhydroSimulation::defineComponentNames() { - // check modules cannot be enabled if they are not been implemented yet - static_assert(!Physics_Traits::is_chemistry_enabled, "Chemistry is not supported, yet."); // cell-centred // add hydro state variables diff --git a/src/RayleighTaylor2D/test_hydro2d_rt.cpp b/src/RayleighTaylor2D/test_hydro2d_rt.cpp index 3800768a2..f5fd909d7 100644 --- a/src/RayleighTaylor2D/test_hydro2d_rt.cpp +++ b/src/RayleighTaylor2D/test_hydro2d_rt.cpp @@ -35,7 +35,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 1; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/RayleighTaylor3D/test_hydro3d_rt.cpp b/src/RayleighTaylor3D/test_hydro3d_rt.cpp index f05b814a3..19e53d17f 100644 --- a/src/RayleighTaylor3D/test_hydro3d_rt.cpp +++ b/src/RayleighTaylor3D/test_hydro3d_rt.cpp @@ -35,7 +35,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 1; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/ShockCloud/cloud.cpp b/src/ShockCloud/cloud.cpp index 9fd6e54c7..a75c600e7 100644 --- a/src/ShockCloud/cloud.cpp +++ b/src/ShockCloud/cloud.cpp @@ -46,7 +46,6 @@ template <> struct quokka::EOS_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/SphericalCollapse/spherical_collapse.cpp b/src/SphericalCollapse/spherical_collapse.cpp index a26c25c8d..77ce4aec2 100644 --- a/src/SphericalCollapse/spherical_collapse.cpp +++ b/src/SphericalCollapse/spherical_collapse.cpp @@ -39,7 +39,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/StarCluster/star_cluster.cpp b/src/StarCluster/star_cluster.cpp index d2c7af4df..5f7fd8543 100644 --- a/src/StarCluster/star_cluster.cpp +++ b/src/StarCluster/star_cluster.cpp @@ -48,7 +48,6 @@ template <> struct HydroSystem_Traits { template <> struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = true; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; // number of mass scalars static constexpr int numPassiveScalars = numMassScalars + 0; // number of passive scalars static constexpr bool is_radiation_enabled = false; diff --git a/src/physics_info.hpp b/src/physics_info.hpp index f4ea96afb..b19650943 100644 --- a/src/physics_info.hpp +++ b/src/physics_info.hpp @@ -7,7 +7,6 @@ template struct Physics_Traits { // cell-centred static constexpr bool is_hydro_enabled = false; - static constexpr bool is_chemistry_enabled = false; static constexpr int numMassScalars = 0; static constexpr int numPassiveScalars = numMassScalars + 0; static constexpr bool is_radiation_enabled = false;