Set of I/O related tools for KTH modules. More...
Functions/Subroutines | |
subroutine | io_register () |
Register io tool module. More... | |
subroutine | io_file_freeid (iunit, ierr) |
Get free file unit number and store max unit value. More... | |
subroutine | io_file_close () |
Close all opened files up to sotred max unit numer. More... | |
subroutine | io_mfo_fname (fname, bname, prefix, ierr) |
Generate file name according to nek rulles without opening the file. More... | |
subroutine | io_mbyte_open (hname, ierr) |
Open field file. More... | |
subroutine | io_mbyte_close (ierr) |
Close field file. More... | |
subroutine | io_mfov (offs, lvx, lvy, lvz, lnx, lny, lnz, lnel, lnelg, lndim) |
Write single vector to the file. More... | |
subroutine | io_mfos (offs, lvs, lnx, lny, lnz, lnel, lnelg, lndim) |
Write single scalar to the file. More... | |
subroutine | io_mfiv (offs, uf, vf, wf, lnx, lny, lnz, lnel, ifskip) |
Read vector filed from the file. More... | |
subroutine | io_mfis (offs, uf, lnx, lny, lnz, lnel, ifskip) |
Read scalar filed from the file. More... | |
Set of I/O related tools for KTH modules.
subroutine io_mfiv | ( | integer*8 | offs, |
real, dimension(lnx*lny*lnz,lnel) | uf, | ||
real, dimension(lnx*lny*lnz,lnel) | vf, | ||
real, dimension(lnx*lny*lnz,lnel) | wf, | ||
integer | lnx, | ||
integer | lny, | ||
integer | lnz, | ||
integer | lnel, | ||
logical | ifskip | ||
) |
Read vector filed from the file.
This is version of mfi_getv that does not perform interpolation and allows to specify element size.
[in,out] | offs | offset of global vector beginning |
[out] | uf,vf,wf | vector field compinents |
[in] | lnx,lny,lnz | element size |
[in] | lnel | number of elements |
[in] | ifskip | reading flag (for non-mpi formats) |