Skip to content

Commit

Permalink
Merge pull request #1096 from parthenon-hpc-lab/dempsey/bnd_coords
Browse files Browse the repository at this point in the history
[Trivial] Add coords initialization to BndInfo
  • Loading branch information
lroberts36 authored Jun 5, 2024
2 parents ebd3e69 + 7607a81 commit ff6a943
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bvals/comms/bnd_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ BndInfo::BndInfo(MeshBlock *pmb, const NeighborBlock &nb,
var = v->data.Get();
}

coords = pmb->coords;

auto elements = v->GetTopologicalElements();
if (v->IsSet(Metadata::Flux)) elements = GetFluxCorrectionElements(v, nb.offsets);
ntopological_elements = elements.size();
Expand Down

0 comments on commit ff6a943

Please sign in to comment.