Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
vtkhdf_file Module Reference

VTKHDF file format.

Data Types

type  vtkhdf_file_t
 Interface for HDF5 files. More...
 

Functions/Subroutines

subroutine vtkhdf_file_set_overwrite (this, overwrite)
 Set the overwrite flag for HDF5 files.
 
subroutine vtkhdf_file_enable_amr (this)
 Enable support for Adaptive Mesh Refinement.
 
subroutine vtkhdf_file_set_precision (this, precision)
 Set the precision for VTKHDF output (single or double)
 
character(len=1024) function vtkhdf_file_get_fname (this)
 Return the file name with the start counter.
 
subroutine vtkhdf_file_set_subdivide (this, subdivide)
 Enable or disable subdivision of spectral elements into linear sub-cells. When subdivision is enabled, each spectral element is written as multiple linear VTK cells (VTK_HEXAHEDRON in 3D, VTK_QUAD in 2D) with connectivity corresponding to the tensor-product grid of the spectral element.
 
subroutine vtkhdf_file_write (this, data, t)
 Write data in HDF5 format (no HDF5 support)
 
subroutine vtkhdf_file_read (this, data)
 Read data in HDF5 format (no HDF5 support)
 
pure integer function, dimension(8 *(lx - 1) *(ly - 1) *(lz - 1)) subdivide_to_hex_ordering (lx, ly, lz)
 Build linear hexahedron sub-cell node ordering for a spectral element. Returns an array of 0-based tensor-product indices that subdivides the lx*ly*lz grid into (lx-1)*(ly-1)*(lz-1) linear hexahedra (VTK_HEXAHEDRON, type 12), with 8 nodes per sub-cell.
 
pure integer function, dimension(4 *(lx - 1) *(ly - 1)) subdivide_to_quad_ordering (lx, ly)
 Build linear quadrilateral sub-cell node ordering for a spectral element. Returns an array of 0-based tensor-product indices that subdivides the lx*ly grid into (lx-1)*(ly-1) linear quadrilaterals (VTK_QUAD, type 9), with 4 nodes per sub-cell.
 

Variables

integer, dimension(2), parameter vtkhdf_version = [2, 6]
 

Function/Subroutine Documentation

◆ subdivide_to_hex_ordering()

pure integer function, dimension(8 * (lx - 1) * (ly - 1) * (lz - 1)) vtkhdf_file::subdivide_to_hex_ordering ( integer, intent(in lx,
integer, intent(in ly,
integer, intent(in lz 
)
private
Parameters
lxNumber of points in x-direction
lyNumber of points in y-direction
lzNumber of points in z-direction
Returns
Array of size 8*(lx-1)*(ly-1)*(lz-1) with 0-based indices

Definition at line 1466 of file vtkhdf_file.F90.

Here is the caller graph for this function:

◆ subdivide_to_quad_ordering()

pure integer function, dimension(4 * (lx - 1) * (ly - 1)) vtkhdf_file::subdivide_to_quad_ordering ( integer, intent(in lx,
integer, intent(in ly 
)
private
Parameters
lxNumber of points in x-direction
lyNumber of points in y-direction
Returns
Array of size 4*(lx-1)*(ly-1) with 0-based indices

Definition at line 1498 of file vtkhdf_file.F90.

Here is the caller graph for this function:

◆ vtkhdf_file_enable_amr()

subroutine vtkhdf_file::vtkhdf_file_enable_amr ( class(vtkhdf_file_t), intent(inout this)
private

Definition at line 106 of file vtkhdf_file.F90.

◆ vtkhdf_file_get_fname()

character(len=1024) function vtkhdf_file::vtkhdf_file_get_fname ( class(vtkhdf_file_t), intent(in this)
private

Definition at line 119 of file vtkhdf_file.F90.

Here is the call graph for this function:

◆ vtkhdf_file_read()

subroutine vtkhdf_file::vtkhdf_file_read ( class(vtkhdf_file_t this,
class(*), intent(inout), target  data 
)
private

Definition at line 1447 of file vtkhdf_file.F90.

◆ vtkhdf_file_set_overwrite()

subroutine vtkhdf_file::vtkhdf_file_set_overwrite ( class(vtkhdf_file_t), intent(inout this,
logical, intent(in overwrite 
)
private

Definition at line 99 of file vtkhdf_file.F90.

◆ vtkhdf_file_set_precision()

subroutine vtkhdf_file::vtkhdf_file_set_precision ( class(vtkhdf_file_t), intent(inout this,
integer, intent(in precision 
)
private

Definition at line 112 of file vtkhdf_file.F90.

◆ vtkhdf_file_set_subdivide()

subroutine vtkhdf_file::vtkhdf_file_set_subdivide ( class(vtkhdf_file_t), intent(inout this,
logical, intent(in subdivide 
)
private
Parameters
subdivideWhether to subdivide into linear sub-cells.

Definition at line 138 of file vtkhdf_file.F90.

Here is the call graph for this function:

◆ vtkhdf_file_write()

subroutine vtkhdf_file::vtkhdf_file_write ( class(vtkhdf_file_t), intent(inout this,
class(*), intent(in), target  data,
real(kind=rp), intent(in), optional  t 
)
private

Definition at line 1439 of file vtkhdf_file.F90.

Variable Documentation

◆ vtkhdf_version

integer, dimension(2), parameter vtkhdf_file::vtkhdf_version = [2, 6]

Definition at line 91 of file vtkhdf_file.F90.