I have a mesh in my own format and I want export it to a .vtk file. How do I do this?
The original mesh is in the following format: (Pseudocode)
class Mesh {
List<Float[3]> _coordinates
List<int[4]> _tetra //(elements, Faces, etc.)
}
I hope this clarify my problem. I just want load it with Paraview so I don't care if it is structured, poly, etc.