Fixed mesh_converter so that it can handle coordinate system replacement of scalar fields properly
There was an issue when converting scalar fields (e.g. doping concentrations) using mesh_converter
. The issue arose when one had a coordinate system changing the place of the x-component. E.g. xyz = z x y
or xyz = y z x
. This would create a converted field of only zeroes, as only the x-component was exported (and only the x-component used to hold the parsed scalar values before coordinate system transformation).
It has now been fixed so that any coordinate transformation results in a final vector of the correct scalar values.
The mesh_plotter
has also been updated to account for the user's requested units.
Both issues were originally reported by @mblidaru