Skip to content

Commit

Permalink
fix ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Aug 12, 2024
1 parent 402f76c commit 836cb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convection/incflo_compute_advection_term.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ incflo::compute_convective_term (Vector<MultiFab*> const& conv_u,
if (m_advect_tracer && (m_ntrac>0)) {
trac_nph.setVal(0.);
fillphysbc_tracer(lev, m_cur_time+0.5*m_dt, trac_nph, 1);
auto const* iconserv = get_tracer_iconserv_device_ptr();
auto const& iconserv = get_tracer_iconserv();
for (int n = 0; n < m_ntrac; n++) {
if ( iconserv[n] ){
Multiply(trac_nph, rho_nph, 0, n, 1, 1);
Expand Down

0 comments on commit 836cb8d

Please sign in to comment.