NCEPLIBS-bufr  11.5.0
 All Data Structures Files Functions Variables Pages
arallocf.F File Reference

Dynamically allocate Fortran language arrays within internal memory. More...

Go to the source code of this file.

Functions/Subroutines

subroutine arallocf
 For dynamic allocation builds of the library, this subroutine is called internally during the first call to subroutine openbf() from an application program, in order to dynamically allocate internal Fortran language arrays based on parameter values set during one or more previous calls to function isetprm(). More...
 

Detailed Description

Dynamically allocate Fortran language arrays within internal memory.

Definition in file arallocf.F.

Function/Subroutine Documentation

subroutine arallocf ( )

For dynamic allocation builds of the library, this subroutine is called internally during the first call to subroutine openbf() from an application program, in order to dynamically allocate internal Fortran language arrays based on parameter values set during one or more previous calls to function isetprm().

This subroutine isn't normally called directly from an application program, since it's automatically called internally during the first call to subroutine openbf() from an application program.

Author
J. Ator
Date
2014-12-04
Remarks
  • All memory allocated within this subroutine can be freed via a subsequent call to subroutine exitbufr() from within the application program, or else it will be freed automatically by the operating system once the application program terminates.

Program history log:

  • 2014-12-04 J. Ator – Original author
  • 2016-05-24 J. Ator – Added allocations for MODA_BITMAPS and MODA_NRV203
  • 2017-05-22 J. Ator – Added allocations for MODA_RLCCMN
  • 2019-05-09 J. Ator – Modified allocations for MODA_BUFRMG
  • 2021-01-08 J. Ator – Modified mstabs array declarations for GNUv10 portability

Definition at line 33 of file arallocf.F.

References bort(), and errwrt().

Referenced by openbf().