Skip to content

Commit

Permalink
don't apply BCs when FillPatching for plotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Aug 14, 2024
1 parent 6a4ef4e commit 2db07d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/IO/Plotfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ REMORA::WritePlotFile ()
}

// We fillpatch here because some of the derived quantities require derivatives
// which require ghost cells to be filled
// which require ghost cells to be filled. Don't fill the boundary, though.
for (int lev = 0; lev <= finest_level; ++lev) {
FillPatch(lev, t_new[lev], *cons_new[lev], cons_new, BdyVars::t,0,true,false);
FillPatch(lev, t_new[lev], *xvel_new[lev], xvel_new, BdyVars::u,0,true,false);
FillPatch(lev, t_new[lev], *yvel_new[lev], yvel_new, BdyVars::v,0,true,false);
FillPatch(lev, t_new[lev], *zvel_new[lev], zvel_new, BdyVars::null,0,true,false);
FillPatchNoBC(lev, t_new[lev], *cons_new[lev], cons_new, BdyVars::t,0,true,false);
FillPatchNoBC(lev, t_new[lev], *xvel_new[lev], xvel_new, BdyVars::u,0,true,false);
FillPatchNoBC(lev, t_new[lev], *yvel_new[lev], yvel_new, BdyVars::v,0,true,false);
FillPatchNoBC(lev, t_new[lev], *zvel_new[lev], zvel_new, BdyVars::null,0,true,false);
}

// Array of MultiFabs to hold the plotfile data
Expand Down

0 comments on commit 2db07d2

Please sign in to comment.