Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
io Module Reference

Public Member Functions

subroutine, public load_ic ()
 Load initial condition from a previous multi-file output. More...
 
subroutine get_restart_name (fname)
 
subroutine mfo_read_header (nelo, word_size_file, time, skip_x)
 Read header and return number of elements and word size. More...
 
subroutine mfo_read_scalar (u, nel, mx, my, mz, wdsizo)
 Read a scalar field. More...
 
subroutine mfo_read_vector (u, v, w, nel, mx, my, mz, wdsizo)
 Read a vector field. More...
 

Public Attributes

character(132), public load_name = 'NONE'
 name of output to load More...
 

Detailed Description

Definition at line 9 of file io_mod.F90.

Member Function/Subroutine Documentation

subroutine io::get_restart_name ( character(132)  fname)

Definition at line 71 of file io_mod.F90.

References chcopy(), and string::ltrunc().

Referenced by load_ic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine, public io::load_ic ( )

Load initial condition from a previous multi-file output.

Definition at line 21 of file io_mod.F90.

References byte_close, byte_read, get_restart_name(), mbyte_open(), mfo_read_header(), mfo_read_scalar(), and mfo_read_vector().

Referenced by setics().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine io::mfo_read_header ( integer, intent(out nelo,
integer, intent(out word_size_file,
real(dp), intent(out time,
logical, intent(out skip_x 
)

Read header and return number of elements and word size.

Definition at line 136 of file io_mod.F90.

References bcast(), byte_read, crecv(), csend(), err_chk(), parallel::lglel(), and nekgsync().

Referenced by load_ic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine io::mfo_read_scalar ( real(dp), dimension(mx,my,mz,1), intent(in)  u,
integer, intent(in)  nel,
integer, intent(in)  mx,
integer, intent(in)  my,
integer, intent(in)  mz,
integer, intent(in)  wdsizo 
)

Read a scalar field.

Definition at line 245 of file io_mod.F90.

References byte_read, copy(), copy4r(), crecv(), csend(), err_chk(), exitt(), and nekgsync().

Referenced by load_ic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

subroutine io::mfo_read_vector ( real(dp), dimension(mx*my*mz,*), intent(in)  u,
real(dp), dimension(mx*my*mz,*), intent(in)  v,
real(dp), dimension(mx*my*mz,*), intent(in)  w,
integer  nel,
integer, intent(in)  mx,
integer, intent(in)  my,
integer, intent(in)  mz,
integer, intent(in)  wdsizo 
)

Read a vector field.

Definition at line 332 of file io_mod.F90.

References byte_read, copy(), copy4r(), crecv(), csend(), err_chk(), exitt(), and nekgsync().

Referenced by load_ic().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

character(132), public io::load_name = 'NONE'

name of output to load

Definition at line 12 of file io_mod.F90.


The documentation for this module was generated from the following file: