Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
vtk.f90 File Reference

Go to the source code of this file.

Modules

module  vtk
 VTK Module containing utilities for VTK file handling.
 

Functions/Subroutines

integer function, dimension(:), allocatable, public vtk::vtk_ordering (cell_type, lx, ly, lz)
 Get the VTK node ordering for a given cell type. For Lagrange cells, returns an array mapping VTK node position to the 0-based tensor-product index (i + lx*j + lx*ly*k).
 
pure integer function, dimension(lx *ly *lz) vtk::vtk_lagrange_hex_ordering (lx, ly, lz)
 Build the VTK Lagrange hexahedron node ordering for a given lx. Returns an array of size lx*ly*lz mapping VTK node position to the 0-based tensor-product index (i + lx*j + lx*ly*k). Implements VTK's PointIndexFromIJK for Lagrange hexahedra. Node ordering: 8 corners, 4 * (lx - 2 + ly - 2 + lz - 2) edge interiors, 6*(lx - 2)*(ly - 2) face interiors, (lx - 2)*(ly - 2)*(lz - 2) body interior.
 
pure integer function, dimension(lx *ly) vtk::vtk_lagrange_quad_ordering (lx, ly)
 Build the VTK Lagrange quadrilateral node ordering for a given lx, ly. Returns an array of size lx*ly mapping VTK node position to the 0-based tensor-product index (i + lx*j). Implements VTK's PointIndexFromIJK for Lagrange quadrilaterals. Node ordering: 4 corners, 2*(lx-2) + 2*(ly-2) edge interiors, (lx-2)*(ly-2) face interior.