Implementation of Bcube IO interface for VTK format. Checkout the relative Bcube documentation for more infos.
For now, only the write_file interface is implemented.
using Bcube
using BcubeVTK
mesh = rectangle_mesh(10, 20)
U = TrialFESpace(FunctionSpace(:Lagrange, 1), mesh)
u = FEFunction(U)
projection_l2!(u, PhysicalFunction(x -> sum(x)), CellDomain(mesh))
write_file("output.pvd", mesh, Dict("u" => u, "grad_u" => ∇(u)))- The
write_filehas not been tested for hexahedral elements of order > 1