Skip to content

Commit

Permalink
Merge pull request #254 from hklion/specify_bc_by_variable
Browse files Browse the repository at this point in the history
add in more BCVar args
  • Loading branch information
hklion authored Aug 27, 2024
2 parents 8732fa2 + efb0f73 commit 8b1cc99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Source/Initialization/REMORA_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ REMORA::set_2darrays (int lev)
});
}

FillPatch(lev, t_new[lev], *vec_ubar[lev], GetVecOfPtrs(vec_ubar), BdyVars::ubar,0,false,false);
FillPatch(lev, t_new[lev], *vec_vbar[lev], GetVecOfPtrs(vec_vbar), BdyVars::vbar,0,false,false);
FillPatch(lev, t_new[lev], *vec_ubar[lev], GetVecOfPtrs(vec_ubar), BCVars::ubar_bc, BdyVars::ubar,0,false,false);
FillPatch(lev, t_new[lev], *vec_vbar[lev], GetVecOfPtrs(vec_vbar), BCVars::vbar_bc, BdyVars::vbar,0,false,false);
}

void
Expand Down
6 changes: 3 additions & 3 deletions Source/TimeIntegration/REMORA_setup_step.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,10 @@ REMORA::setup_step (int lev, Real time, Real dt_lev)
}
nstp = 0;

FillPatch(lev, time, *cons_old[lev], cons_old, BdyVars::t);
FillPatch(lev, time, *cons_new[lev], cons_new, BdyVars::t);
FillPatch(lev, time, *cons_old[lev], cons_old, BCVars::cons_bc, BdyVars::t);
FillPatch(lev, time, *cons_new[lev], cons_new, BCVars::cons_bc, BdyVars::t);

FillPatch(lev, time, *vec_sstore[lev], GetVecOfPtrs(vec_sstore), BdyVars::t);
FillPatch(lev, time, *vec_sstore[lev], GetVecOfPtrs(vec_sstore), BCVars::cons_bc, BdyVars::t);

// Don't actually want to apply boundary conditions here
vec_Huon[lev]->FillBoundary(geom[lev].periodicity());
Expand Down

0 comments on commit 8b1cc99

Please sign in to comment.