Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update on coordinate transform between cubed sphere panels (finished version) #144

Merged
merged 23 commits into from
Apr 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove check_reconstruct
  • Loading branch information
chengcli authored and jeffyujianfu committed Mar 30, 2024
commit 46a2687e9c6c9265dacb03e8da7eb4be9a57801a
19 changes: 1 addition & 18 deletions src/checks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,7 @@ void check_eos_cons2prim(AthenaArray<Real> const& prim, int k, int j, int il,
}

void check_reconstruct(AthenaArray<Real> const& wl, AthenaArray<Real> const& wr,
int dir, int k, int j, int il, int iu) {
#ifdef ENABLE_GLOG
for (int i = il; i <= iu; ++i) {
char name[80];
snprintf(name, 80, "wl-den-%d", dir + 1);
LOG_IF(FATAL, wl(IDN, i) < 0.) << print_column_table(name, wl, il, iu);

snprintf(name, 80, "wr-den-%d", dir + 1);
LOG_IF(FATAL, wr(IDN, i) < 0.) << print_column_table(name, wr, il, iu);

snprintf(name, 80, "wl-pre-%d", dir + 1);
LOG_IF(FATAL, wl(IPR, i) < 0.) << print_column_table(name, wl, il, iu);

snprintf(name, 80, "wr-pre-%d", dir + 1);
LOG_IF(FATAL, wr(IPR, i) < 0.) << print_column_table(name, wr, il, iu);
}
#endif // ENABLE_GLOG
}
int dir, int k, int j, int il, int iu) {}

void check_hydro_riemann_solver_flux(AthenaArray<Real> const& flux, int ivx,
int k, int j, int il, int iu) {
Expand Down