VTKWriter with tensor data does not compile
Using VTKWriter::addVertexData(gridFUnction, FieldInfo("name", FieldInfo::Type::tensor, dim))
leads to a compilation error.
While there is code in the VTKWriter
to dynamically throw an exception, because tensor data is not supported, this is not triggered here, because the code fails to compile. We should make it transparent to the user what is actually failing by
- documenting that tensor data is not supported,
- ideally catching this case with a static assertion.