Skip to content

Commit

Permalink
Merge branch 'development' into 2d_spherical_trace_geom
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Sep 26, 2024
2 parents 0ea7f1b + b9a0114 commit 0517453
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/hydro/trace_ppm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ Castro::trace_ppm(const Box& bx,
for (int n = 0; n < NQSRC; n++) {
do_source_trace[n] = 0;

// geometric source terms in r-direction need tracing
// geometric source terms in r-direction for nonCartesian coordinate
// or theta-direction in spherical coordinate need tracing

if ((coord == 2 || (idir == 0 && coord == 1))
&& (n == QRHO || n == QPRES || n == QREINT)) {
do_source_trace[n] = 1;
Expand Down

0 comments on commit 0517453

Please sign in to comment.