Commit f59e17b 1 parent c734171 commit f59e17b Copy full SHA for f59e17b
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1014,9 +1014,12 @@ WarpXOpenPMDPlot::SetConstParticleRecordsEDPIC (
1014
1014
#if defined(WARPX_DIM_1D_Z)
1015
1015
currSpecies[" position" ][" x" ].resetDataset ( realType );
1016
1016
currSpecies[" position" ][" y" ].resetDataset ( realType );
1017
+ currSpecies[" positionOffset" ][" x" ].resetDataset ( realType );
1018
+ currSpecies[" positionOffset" ][" y" ].resetDataset ( realType );
1017
1019
#endif
1018
1020
#if defined(WARPX_DIM_XZ)
1019
1021
currSpecies[" position" ][" y" ].resetDataset ( realType );
1022
+ currSpecies[" positionOffset" ][" y" ].resetDataset ( realType );
1020
1023
#endif
1021
1024
1022
1025
// make constant
@@ -1030,9 +1033,12 @@ WarpXOpenPMDPlot::SetConstParticleRecordsEDPIC (
1030
1033
#if defined(WARPX_DIM_1D_Z)
1031
1034
currSpecies[" position" ][" x" ].makeConstant ( 0 ._prt );
1032
1035
currSpecies[" position" ][" y" ].makeConstant ( 0 ._prt );
1036
+ currSpecies[" positionOffset" ][" x" ].makeConstant ( 0 ._prt );
1037
+ currSpecies[" positionOffset" ][" y" ].makeConstant ( 0 ._prt );
1033
1038
#endif
1034
1039
#if defined(WARPX_DIM_XZ)
1035
1040
currSpecies[" position" ][" y" ].makeConstant ( 0 ._prt );
1041
+ currSpecies[" positionOffset" ][" y" ].makeConstant ( 0 ._prt );
1036
1042
#endif
1037
1043
1038
1044
// meta data
You can’t perform that action at this time.
0 commit comments