Skip to content

Commit

Permalink
fix unused
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Oct 25, 2024
1 parent 38f2fb2 commit 4517936
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/Initialization/ERF_init1d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ ERF::initHSE (int lev)

int icomp = 0; int ncomp = BaseState::num_comps;

Real time = 0.;

if (lev == 0) {
BoxArray ba(base_state[lev].boxArray());
for (int i = 0; i < ba.size(); i++) {
Expand Down Expand Up @@ -272,7 +270,7 @@ ERF::erf_enforce_hse (int lev,
Box bx = mfi.nodaltilebox(2);
int ng = ngvect[0];
bx.setSmall(0,domlo_x-1);
bx.setBig(0,domlo_x-ng_z);
bx.setBig(0,domlo_x-ng);
ParallelFor(bx, [=] AMREX_GPU_DEVICE (int i, int j, int k) {
pres_arr(i,j,k) = pres_arr(domlo_x,j,k);
pi_arr(i,j,k) = pi_arr(domlo_x,j,k);
Expand Down

0 comments on commit 4517936

Please sign in to comment.