Skip to content

Commit

Permalink
fix initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Oct 5, 2023
1 parent ac6fd72 commit a75d251
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/sdc/sdc_cons_to_burn.H
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ copy_cons_to_burn_type(const int i, const int j, const int k,
}
#endif

burn_state.T = state(i,j,k,UTEMP);
burn_state.rho = state(i,j,k,URHO);

}

AMREX_GPU_HOST_DEVICE AMREX_INLINE
Expand All @@ -46,6 +49,9 @@ copy_cons_to_burn_type(GpuArray<Real, NUM_STATE> const& state,
}
#endif

burn_state.T = state[UTEMP];
burn_state.rho = state[URHO];

}


Expand Down

0 comments on commit a75d251

Please sign in to comment.