parthenon-hpc-lab / parthenon

Parthenon AMR infrastructure
https://parthenon-hpc-lab.github.io/parthenon/
Other
105 stars 33 forks source link

Add host labels and an overload for operator<< in sparsepack #1068

Closed Yurlungur closed 2 months ago

Yurlungur commented 2 months ago

PR Summary

I'm chasing down a bug in riot right now and it's been useful to be able to print the contents of a SparsePack object. This adds the capability to do so with a LabelHost function that can be called on host and a stream operator overload if you just want to dump the whole pack.

PR Checklist