0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_nml.f90 File Reference

Deal with namelist files. More...

Go to the source code of this file.

Modules

module  mo_nml
 Deal with namelist files.
 

Functions/Subroutines

subroutine, public mo_nml::open_nml (file, unit, quiet)
 Open a namelist file.
 
subroutine, public mo_nml::close_nml (unit)
 Close a namelist file.
 
subroutine, public mo_nml::position_nml (name, unit, status, first)
 Position a namlist file.
 

Variables

integer(i4), parameter, public mo_nml::positioned = 0
 Information: file pointer set to namelist group.
 
integer(i4), parameter, public mo_nml::missing = 1
 Error: namelist group is missing.
 
integer(i4), parameter, public mo_nml::length_error = 2
 Error: namelist group name too long.
 
integer(i4), parameter, public mo_nml::read_error = 3
 Error occured during read of namelist file.
 
integer, save, public mo_nml::nunitnml = -1
 default namelist unit
 

Detailed Description

Deal with namelist files.

This module provides routines to open, close and position namelist files.

  • Adapted from Echam5, (C) MPI-MET, Hamburg, Germany
    Author
    L. Kornblueh, MPI, March 2001, original source
    Changelog
  • Jan 2011, Matthias Cuntz
    • compatible with gfortran <= version 4.3
    • all integer(i4)
    • quiet
  • Jan 2013, Matthias Cuntz
    • close_nml with unit, open_nml quiet=.true. default position_nml swap first and status
      Authors
      Matthias Cuntz
      Date
      Jan 2011

Definition in file mo_nml.f90.