Skip to content

Commit

Permalink
Fix constructor call. (#1972)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi authored Nov 21, 2024
1 parent 9291ebe commit b301795
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/IO/ERF_Plotfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,9 @@ ERF::WritePlotFile (int which, PlotFileType plotfile_type, Vector<std::string> p
mf_comp += 1;
}

MultiFab r_hse(base_state[lev], make_alias, 0, BaseState::r0_comp);
MultiFab p_hse(base_state[lev], make_alias, 1, BaseState::p0_comp);
MultiFab th_hse(base_state[lev], make_alias, 1, BaseState::th0_comp);
MultiFab r_hse(base_state[lev], make_alias, BaseState::r0_comp , 1);
MultiFab p_hse(base_state[lev], make_alias, BaseState::p0_comp , 1);
MultiFab th_hse(base_state[lev], make_alias, BaseState::th0_comp, 1);
if (containerHasElement(plot_var_names, "pres_hse"))
{
MultiFab::Copy(mf[lev],p_hse,0,mf_comp,1,0);
Expand Down

0 comments on commit b301795

Please sign in to comment.