Skip to content

Commit

Permalink
Merge branch 'development' into BenWibking/new-shock-cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking authored Sep 9, 2023
2 parents 3f3edcc + 7ffd65f commit f804d63
Show file tree
Hide file tree
Showing 45 changed files with 2 additions and 46 deletions.
1 change: 0 additions & 1 deletion src/Advection/test_advection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ struct SawtoothProblem {
template <> struct Physics_Traits<SawtoothProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/Advection2D/test_advection2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ struct SquareProblem {
template <> struct Physics_Traits<SquareProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/AdvectionSemiellipse/test_advection_semiellipse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ struct SemiellipseProblem {
template <> struct Physics_Traits<SemiellipseProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/Cooling/test_cooling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ template <> struct quokka::EOS_Traits<CoolingTest> {
template <> struct Physics_Traits<CoolingTest> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/FCQuantities/test_fc_quantities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ template <> struct quokka::EOS_Traits<FCQuantities> {
template <> struct Physics_Traits<FCQuantities> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroBlast2D/test_hydro2d_blast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ template <> struct quokka::EOS_Traits<BlastProblem> {
template <> struct Physics_Traits<BlastProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroBlast3D/test_hydro3d_blast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ template <> struct HydroSystem_Traits<SedovProblem> {
template <> struct Physics_Traits<SedovProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroContact/test_hydro_contact.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ template <> struct quokka::EOS_Traits<ContactProblem> {
template <> struct Physics_Traits<ContactProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroHighMach/test_hydro_highmach.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ template <> struct quokka::EOS_Traits<HighMachProblem> {
template <> struct Physics_Traits<HighMachProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroKelvinHelmholz/test_hydro2d_kh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ template <> struct HydroSystem_Traits<KelvinHelmholzProblem> {
template <> struct Physics_Traits<KelvinHelmholzProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroLeblanc/test_hydro_leblanc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ template <> struct quokka::EOS_Traits<ShocktubeProblem> {
template <> struct Physics_Traits<ShocktubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroQuirk/test_quirk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ template <> struct HydroSystem_Traits<QuirkProblem> {
template <> struct Physics_Traits<QuirkProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroRichtmeyerMeshkov/test_hydro2d_rm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ template <> struct HydroSystem_Traits<RichtmeyerMeshkovProblem> {
template <> struct Physics_Traits<RichtmeyerMeshkovProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroSMS/test_hydro_sms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ template <> struct quokka::EOS_Traits<ShocktubeProblem> {
template <> struct Physics_Traits<ShocktubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroShocktube/test_hydro_shocktube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ template <> struct quokka::EOS_Traits<ShocktubeProblem> {
template <> struct Physics_Traits<ShocktubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroShocktubeCMA/test_hydro_shocktube_cma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ template <> struct quokka::EOS_Traits<ShocktubeProblem> {
template <> struct Physics_Traits<ShocktubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroShuOsher/test_hydro_shuosher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ template <> struct quokka::EOS_Traits<ShocktubeProblem> {
template <> struct Physics_Traits<ShocktubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroVacuum/test_hydro_vacuum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ template <> struct quokka::EOS_Traits<ShocktubeProblem> {
template <> struct Physics_Traits<ShocktubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/HydroWave/test_hydro_wave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ template <> struct quokka::EOS_Traits<WaveProblem> {
template <> struct Physics_Traits<WaveProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/NSCBC/channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ template <> struct quokka::EOS_Traits<Channel> {

template <> struct Physics_Traits<Channel> {
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
Expand Down
1 change: 0 additions & 1 deletion src/NSCBC/vortex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ template <> struct quokka::EOS_Traits<Vortex> {

template <> struct Physics_Traits<Vortex> {
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
Expand Down
1 change: 0 additions & 1 deletion src/PassiveScalar/test_scalars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ template <> struct quokka::EOS_Traits<ScalarProblem> {
template <> struct Physics_Traits<ScalarProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/PrimordialChem/test_primordial_chem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ struct PrimordialChemTest {
template <> struct Physics_Traits<PrimordialChemTest> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadBeam/test_radiation_beam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ template <> struct RadSystem_Traits<BeamProblem> {
template <> struct Physics_Traits<BeamProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadForce/test_radiation_force.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ template <> struct RadSystem_Traits<TubeProblem> {
template <> struct Physics_Traits<TubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadMarshak/test_radiation_marshak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ template <> struct RadSystem_Traits<SuOlsonProblem> {
template <> struct Physics_Traits<SuOlsonProblem> {
// 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ template <> struct RadSystem_Traits<SuOlsonProblemCgs> {
template <> struct Physics_Traits<SuOlsonProblemCgs> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadMarshakCGS/test_radiation_marshak_cgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ template <> struct RadSystem_Traits<SuOlsonProblemCgs> {
template <> struct Physics_Traits<SuOlsonProblemCgs> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadMatterCoupling/test_radiation_matter_coupling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ template <> struct RadSystem_Traits<CouplingProblem> {
template <> struct Physics_Traits<CouplingProblem> {
// 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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ template <> struct RadSystem_Traits<CouplingProblem> {
template <> struct Physics_Traits<CouplingProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadPulse/test_radiation_pulse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ template <> struct RadSystem_Traits<PulseProblem> {
template <> struct Physics_Traits<PulseProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadStreaming/test_radiation_streaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ template <> struct RadSystem_Traits<StreamingProblem> {
template <> struct Physics_Traits<StreamingProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadSuOlson/test_radiation_SuOlson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ template <> struct RadSystem_Traits<MarshakProblem> {
template <> struct Physics_Traits<MarshakProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadTophat/test_radiation_tophat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ template <> struct RadSystem_Traits<TophatProblem> {
template <> struct Physics_Traits<TophatProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadTube/test_radiation_tube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ template <> struct RadSystem_Traits<TubeProblem> {
template <> struct Physics_Traits<TubeProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadhydroShell/test_radhydro_shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ template <> struct HydroSystem_Traits<ShellProblem> {
template <> struct Physics_Traits<ShellProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadhydroShock/test_radhydro_shock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ template <> struct quokka::EOS_Traits<ShockProblem> {
template <> struct Physics_Traits<ShockProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RadhydroShockCGS/test_radhydro_shock_cgs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ template <> struct quokka::EOS_Traits<ShockProblem> {
template <> struct Physics_Traits<ShockProblem> {
// 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;
Expand Down
2 changes: 0 additions & 2 deletions src/RadhydroSimulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ template <typename problem_t> class RadhydroSimulation : public AMRSimulation<pr

template <typename problem_t> void RadhydroSimulation<problem_t>::defineComponentNames()
{
// check modules cannot be enabled if they are not been implemented yet
static_assert(!Physics_Traits<problem_t>::is_chemistry_enabled, "Chemistry is not supported, yet.");

// cell-centred
// add hydro state variables
Expand Down
1 change: 0 additions & 1 deletion src/RayleighTaylor2D/test_hydro2d_rt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ template <> struct HydroSystem_Traits<RTProblem> {
template <> struct Physics_Traits<RTProblem> {
// 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;
Expand Down
1 change: 0 additions & 1 deletion src/RayleighTaylor3D/test_hydro3d_rt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ template <> struct HydroSystem_Traits<RTProblem> {
template <> struct Physics_Traits<RTProblem> {
// 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;
Expand Down
3 changes: 2 additions & 1 deletion src/ShockCloud/cloud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ constexpr double m_H = C::m_p + C::m_e; // mass of hydrogen atom

template <> struct Physics_Traits<ShockCloud> {
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;
static constexpr bool is_mhd_enabled = false;
static constexpr int numMassScalars = 0;
Expand Down
1 change: 0 additions & 1 deletion src/SphericalCollapse/spherical_collapse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ template <> struct HydroSystem_Traits<CollapseProblem> {
template <> struct Physics_Traits<CollapseProblem> {
// 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;
Expand Down
Loading

0 comments on commit f804d63

Please sign in to comment.