VTK legacy format using modern Fortran
This is a generic modern Fortran interface to write a VTK formatted file using the specifications outlined in version 3.0.
Format support:
- Legacy Format
- This code fully supports the legacy .vtk file format in ASCII
- XML Format
- Serial Formats
- Image Data (.vti)
- Poly Data (.vtp)
- Rectilinear Grid (.vtr)
- Structured Grid (.vts)
- Unstructured Grid (.vtu) (Currently under development)
- Parallel Formats
- Image Data (.pvti)
- Poly Data (.pvtp)
- Rectilinear Grid (.pvtr)
- Structured Grid (.pvts)
- Unstructured Grid (.pvtu)
- Serial Formats
This code is built and tested with the following:
Compilers: (may work for older ones as well)
- gfortran 7.4, 8.1, 8.2, 8.3, 9.0, 10.0
- Intel 2018.0.5, 2019
-
- Warning: Intel 2018 does not support derived type IO *
-
Operating Systems:
- Linnux (Tested on Ubuntu 14, 16, 18 and lubuntu)
- Windows (Tested on Windows 8, 10)
- MacOS
Build System:
- CMake 3.13.4 or newer
Examples: