Block-Structured AMR Software Framework
AMReX_io_mod.F90 File Reference

Modules

module  amrex_io_module
 

Functions/Subroutines

integer function amrex_io_module::unit_new ()
 Several routines are written so that they can be conveniently called in routines that have optional arguments. For example, `` subroutine print_box(box, unit) optional :: unit write(unit=unit_stdout(unit), fmt *) box `` This routine will print on the stdout if UNIT is not passed to print_box, but will print to UNIT if UNIT is passed. More...
 
pure integer function amrex_io_module::unit_stdin (unit)
 Returns the stdin unit number if no argument is passed, or else unit if it is passed. More...
 
pure integer function amrex_io_module::unit_stdout (unit)
 Returns the stdout unit number if no argument is passed, or else unit if it is passed. More...
 
pure character(len=3) function amrex_io_module::unit_advance (advance)
 Returns the string 'YES' if no argument is passed other wise returns the argument advance. More...
 
subroutine amrex_io_module::unit_skip (unit, skip)
 Puts skip spaces of output, without advancing to the next record onto UNIT. If no skip argument is given, then no advance is done. More...
 
pure integer function amrex_io_module::unit_get_skip (skip)
 A convenience function that returns 0 if SKIP is not present, otherwise it returns SKIP. More...
 

Variables

integer, parameter, private amrex_io_module::io_stdin = 5
 Default input and output units: More...
 
integer, parameter, private amrex_io_module::io_stdout = 6
 
integer, parameter, private amrex_io_module::io_num_precon = 3
 Number and value of pre-connected units. More...
 
integer, dimension(io_num_precon), parameter, private amrex_io_module::io_precon_units = (/ 0, 5, 6 /)
 
integer, parameter, private amrex_io_module::io_max_unit = 1000
 Largest allowed unit number (or a large number, if none) More...