Skip to content

Commit

Permalink
Removed commented alt. cooling terms
Browse files Browse the repository at this point in the history
  • Loading branch information
Forrest Wolfgang Glines committed Sep 22, 2023
1 parent 36d5139 commit bd73195
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/hydro/hydro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,32 +161,13 @@ TaskStatus AddUnsplitSources(MeshData<Real> *md, const SimTime &tm, const Real b
TaskStatus AddSplitSourcesFirstOrder(MeshData<Real> *md, const SimTime &tm) {
auto hydro_pkg = md->GetBlockData(0)->GetBlockPointer()->packages.Get("Hydro");

// const auto &enable_cooling = hydro_pkg->Param<Cooling>("enable_cooling");

// if (enable_cooling == Cooling::tabular) {
// const TabularCooling &tabular_cooling =
// hydro_pkg->Param<TabularCooling>("tabular_cooling");

// tabular_cooling.SrcTerm(md, tm.dt);
// }
if (ProblemSourceFirstOrder != nullptr) {
ProblemSourceFirstOrder(md, tm, tm.dt);
}
return TaskStatus::complete;
}

TaskStatus AddSplitSourcesStrang(MeshData<Real> *md, const SimTime &tm) {
// auto hydro_pkg = md->GetBlockData(0)->GetBlockPointer()->packages.Get("Hydro");

// const auto &enable_cooling = hydro_pkg->Param<Cooling>("enable_cooling");

// if (enable_cooling == Cooling::tabular) {
// const TabularCooling &tabular_cooling =
// hydro_pkg->Param<TabularCooling>("tabular_cooling");

// tabular_cooling.SrcTerm(md, 0.5 * tm.dt);
// }

if (ProblemSourceStrangSplit != nullptr) {
ProblemSourceStrangSplit(md, tm, tm.dt);
}
Expand Down

0 comments on commit bd73195

Please sign in to comment.