Open
Description
Currently plot_slice
, plot_3d_slicer
, and potentially other plotting routines average edge- and face-defined values to cell centres. This has at least two implications:
- the plotted result is less precise, as the values are linearly interpolated (we don't plot the actually computed numbers);
- the memory requirement for the required interpolation can be limiting if you have millions of cells.
It should not be difficult to change, I think. We could even have a flag to keep the current way or choose the new way. Instead of interpolation we would have to choose the corresponding locations.
What I am not sure is if there are other reasons, which I have not thought of, which would prevent us from making this change?
(Carrying it over from Slack.)