skuschel / postpic

The open-source particle-in-cell post-processor.
GNU General Public License v3.0
66 stars 27 forks source link

Field.map_axis_coordinates fails for 1d when preserve_integral=True #243

Closed Ablinne closed 5 years ago

Ablinne commented 5 years ago

Due to the way Field.map_axis_coordinates calculates the jacobian using dimension-independent routines, the calculation of the jacobian determinant fails in helper.jac_det if the transform is just 1D.

Ablinne commented 5 years ago

fixed through #240