Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Sep 11, 2023
1 parent a879b3c commit 41de318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions unit_test/test_neutrino_cooling/neutrino_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ void neut_test_C(const Box& bx,
sneut5(temp_zone, dens_zone, abar, zbar,
snu, dsnudt, dsnudd, dsnuda, dsnudz);

std::cout << "storing: " << snu << " " << dsnudt << " " << dsnudt << " " << dsnudz << std::endl;

sp(i, j, k, vars.isneut) = snu;
sp(i, j, k, vars.isneutdt) = dsnudt;
sp(i, j, k, vars.isneutda) = dsnuda;
Expand Down
6 changes: 3 additions & 3 deletions unit_test/test_neutrino_cooling/variables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ void get_varnames(const plot_t& p, amrex::Vector<std::string>& names) {
}

names[p.isneut] = "sneut";
names[p.isneut] = "dsneutdt";
names[p.isneut] = "dsneutda";
names[p.isneut] = "dsneutdz";
names[p.isneutdt] = "dsneutdt";
names[p.isneutda] = "dsneutda";
names[p.isneutdz] = "dsneutdz";
}


0 comments on commit 41de318

Please sign in to comment.