You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While preparing an example input file for another discussion, I encountered an interesting discrepancy between the openPMD and plotfile field data.
The example shows a perfectly centered STL cylinder, where the green crosshair marks the origin (0,0,0). When exporting the raw AMReX plotfile data, it looks as expected:
However, when I export the exact same data as openPMD field data, I get something that appears to be shifted by (dx/2, dy/2, dz/2):
Interestingly, the openPMD particle positions, when injecting particles from the volume surface, seem to be unaffected by this shift:
Does this mean that the AMReX plotfile (with raw field data enabled) shows the actual discretization as used by the field solver, while the openPMD format includes some averaging or interpolation of the field values in order to enable volume renderings?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi,
While preparing an example input file for another discussion, I encountered an interesting discrepancy between the openPMD and plotfile field data.
The example shows a perfectly centered STL cylinder, where the green crosshair marks the origin (0,0,0). When exporting the raw AMReX plotfile data, it looks as expected:
However, when I export the exact same data as openPMD field data, I get something that appears to be shifted by (dx/2, dy/2, dz/2):
Interestingly, the openPMD particle positions, when injecting particles from the volume surface, seem to be unaffected by this shift:
Does this mean that the AMReX plotfile (with raw field data enabled) shows the actual discretization as used by the field solver, while the openPMD format includes some averaging or interpolation of the field values in order to enable volume renderings?
All reactions