NCEPLIBS-bufr 11.7.1
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
 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

◆ arallocf()

subroutine arallocf

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:

Date Programmer Comments
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
2021-05-17 J. Ator Allow up to 24 characters in cbunit
2022-06-24 J. Ator Remove MODV references from MODA files and include explicitly where needed

Definition at line 35 of file arallocf.f.

References bort(), moda_mstabs::cbbw, moda_mstabs::cbelem, moda_mstabs::cbmnem, moda_mstabs::cbscl, moda_mstabs::cbsref, moda_mstabs::cbunit, moda_mstabs::cdmnem, moda_mstabs::cdseq, moda_bitmaps::ctco, errwrt(), moda_mstabs::ibfxyn, moda_tables::ibt, moda_bitmaps::ibtmse, moda_msgmem::icdxts, moda_mstabs::idefxy, moda_mstabs::idfxyn, moda_tababd::idna, moda_tababd::idnb, moda_tababd::idnd, moda_nrv203::ienrv, moda_msgmem::ifdxts, moda_nrv203::inodnrv, moda_bitmaps::inodtamc, moda_bitmaps::inodtco, moda_msgmem::ipdxm, moda_msgmem::ipmsgs, moda_tables::irf, moda_tables::isc, moda_nrv203::isnrv, moda_bitmaps::istbtm, moda_bitmaps::iszbtm, moda_tables::itp, moda_tables::jmpb, moda_tables::jump, moda_tables::knti, moda_tables::link, modv_maxcd::maxcd, modv_maxjl::maxjl, modv_maxmem::maxmem, modv_maxmsg::maxmsg, modv_maxss::maxss, modv_maxtba::maxtba, modv_maxtbb::maxtbb, modv_maxtbd::maxtbd, moda_bitbuf::mbay, moda_bitbuf::mbyt, moda_msgmem::mdx, moda_msgmem::msgp, moda_msgmem::msgs, moda_tababd::mtab, modv_mxbtm::mxbtm, modv_mxbtmse::mxbtmse, modv_mxcdv::mxcdv, modv_mxcsb::mxcsb, modv_mxdxts::mxdxts, modv_mxlcc::mxlcc, modv_mxmsgl::mxmsgl, modv_mxmsgl::mxmsgld4, modv_mxmtbb::mxmtbb, modv_mxmtbd::mxmtbd, modv_mxnrv::mxnrv, modv_mxrst::mxrst, modv_mxs01v::mxs01v, modv_mxtamc::mxtamc, modv_mxtco::mxtco, moda_bitmaps::nbtmse, moda_mstabs::ndelem, modv_nfiles::nfiles, moda_nrv203::nrv, moda_tababd::ntba, moda_tababd::ntbb, moda_tababd::ntbd, moda_bitmaps::ntco, moda_tababd::taba, moda_tababd::tabb, moda_tababd::tabd, moda_tables::tag, moda_nrv203::tagnrv, moda_tables::typ, and moda_tables::vali.

Referenced by openbf().