aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/RelativeCellPosition.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-09-08openPMD: Generalize Mesh Position (#1296)Gravatar Axel Huebl 1-0/+29
This adds a small utility that returns the relative in-cell position of values on each cell depending on an `amrex::MultiFab`'s `Box`'s `IndexType`. This does not change the output of openPMD yet, since we spatially and temporally center fields before output, but makes the routines more general overall for future use.