Skip to content

Commit

Permalink
Update example/advection/advection_package.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: forrestglines <forrestglines@gmail.com>
  • Loading branch information
Yurlungur and forrestglines authored Apr 21, 2021
1 parent 8a3beaa commit 6bc6186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/advection/advection_package.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ AmrTag CheckRefinement(MeshBlockData<Real> *rc) {
vars.push_back("advected_" + std::to_string(var));
}
// type is parthenon::VariablePack<CellVariable<Real>>
auto v = rc->PackVariables(vars); // Get("advected").data;
auto v = rc->PackVariables(vars);

IndexRange ib = pmb->cellbounds.GetBoundsI(IndexDomain::entire);
IndexRange jb = pmb->cellbounds.GetBoundsJ(IndexDomain::entire);
Expand Down

0 comments on commit 6bc6186

Please sign in to comment.