Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Nov 7, 2024
1 parent 6f59152 commit 6d10cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Source/rotation/Rotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ Castro::fill_rotational_psi(const Box& bx,
auto omega = get_omega();
Real denom = omega[0] * omega[0] + omega[1] * omega[1] + omega[2] * omega[2];

auto problo = geom.ProbLoArray();

auto dx = geom.CellSizeArray();
auto geomdata = geom.data();

amrex::ParallelFor(bx,
[=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
Expand Down
4 changes: 1 addition & 3 deletions Source/sources/Castro_sponge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ Castro::apply_sponge(const Box& bx,
alpha = 0.0_rt;
}

auto dx = geom.CellSizeArray();
auto problo = geom.ProbLoArray();
const auto geomdata = geom.data();
auto geomdata = geom.data();

amrex::ParallelFor(bx,
[=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
Expand Down

0 comments on commit 6d10cc4

Please sign in to comment.