Skip to content

Assert that index vectors corresponding to non-nodal discretizations are not exported to vtk

Daniel Bauer requested to merge bauerd/assert-non-nodal-index-vectors into master

Closes #210 (closed).

A simple static assertion with information to the user. Note that exporting a P0Function<idx_t> is allowed, although it is technically also evaluated as if it was an FE function. This is because, due to nature of the P0 discretization, the result is still correct.

Merge request reports