MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling

Tools for file input/output. More...

Go to the source code of this file.

Functions/Subroutines

integer function, public ioutils::newunit (unit)
 Returns lowest i/o unit number not in use. More...
 
character(len=20) function, public ioutils::str (k)
 Converts integer to string. More...
 

Detailed Description

Tools for file input/output.

Author
Pavel Ferkl

Defines several useful funcions for fortran file i/o.

Definition in file ioutils.f90.

Function/Subroutine Documentation

◆ newunit()

integer function public ioutils::newunit ( integer, intent(out), optional  unit)

Returns lowest i/o unit number not in use.

returns lowest i/o unit number not in use

Can be used direcly in the open statement.

Parameters
[out]unitunit number

Can be used direcly in the open statement.

Definition at line 17 of file ioutils.f90.

◆ str()

character(len=20) function, public ioutils::str ( integer, intent(in)  k)

Converts integer to string.

converts integer to string

Uses write function for the conversion.

Definition at line 40 of file ioutils.f90.