diff --git a/src/geometry/geometry.cpp b/src/geometry/geometry.cpp index 434108c5..5f2138ff 100644 --- a/src/geometry/geometry.cpp +++ b/src/geometry/geometry.cpp @@ -60,8 +60,8 @@ std::shared_ptr Initialize(ParameterInput *pin) { geometry->AddField(geometric_variables::node_coords, gcoord_node); // Reductions - const bool do_hydro = pin->GetBoolean("physics", "hydro"); - if (params.hasKey("xh") && do_hydro) { + const bool do_mhd = pin->GetBoolean("fluid", "mhd"); + if (params.hasKey("xh") && do_mhd) { auto HstSum = parthenon::UserHistoryOperation::sum; using History::ReduceJetEnergyFlux; using History::ReduceJetMomentumFlux;