Skip to content

Commit

Permalink
Merge pull request #1121 from parthenon-hpc-lab/BenWibking/fix-bnd-in…
Browse files Browse the repository at this point in the history
…fo-init

default initialize `BndInfo.dir`
  • Loading branch information
BenWibking authored Jun 18, 2024
2 parents da22529 + 5baea8d commit 91fb5b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
- [[PR 1031]](https://github.com/parthenon-hpc-lab/parthenon/pull/1031) Fix bug in non-cell centered AMR

### Infrastructure (changes irrelevant to downstream codes)
- [[PR 1121]](https://github.com/parthenon-hpc-lab/parthenon/pull/1121) Default initialize BndInfo.dir
- [[PR 1116]](https://github.com/parthenon-hpc-lab/parthenon/pull/1116) Fix NumPy 2.0 test script breakage
- [[PR 1055]](https://github.com/parthenon-hpc-lab/parthenon/pull/1055) Refactor mesh constructors
- [[PR 1066]](https://github.com/parthenon-hpc-lab/parthenon/pull/1066) Re-introduce default loop patterns and exec spaces
Expand Down
2 changes: 1 addition & 1 deletion src/bvals/comms/bnd_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct BndInfo {
int topo_idx[3]{0, 0, 0};
SpatiallyMaskedIndexer6D idxer[3];

CoordinateDirection dir;
CoordinateDirection dir{CoordinateDirection::X0DIR};
bool allocated = true;
bool buf_allocated = true;
int alloc_status;
Expand Down

0 comments on commit 91fb5b6

Please sign in to comment.