eTurb
io_tools.f File Reference

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...
 

Detailed Description

Set of I/O related tools for KTH modules.

Author
Adam Peplinski
Date
Mar 7, 2016

Function/Subroutine Documentation

◆ io_mfiv()

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.

Parameters
[in,out]offsoffset of global vector beginning
[out]uf,vf,wfvector field compinents
[in]lnx,lny,lnzelement size
[in]lnelnumber of elements
[in]ifskipreading flag (for non-mpi formats)
Remarks
This routine uses global scratch space VRTHOV and SCRNS