|
NCEPLIBS-bufr
12.0.0
|
Copy master Table B and Table D information from Fortran arrays to C arrays within internal memory. More...
Go to the source code of this file.
Functions | |
| void | cpmstabs (int nmtb, int *ibfxyn, char(*cbscl)[4], char(*cbsref)[12], char(*cbbw)[4], char(*cbunit)[24], char(*cbmnem)[8], char(*cbelem)[120], int nmtd, int *idfxyn, char(*cdseq)[120], char(*cdmnem)[8], int *ndelem, int *idefxy, int maxcd) |
| This subroutine copies relevant information from the Fortran module MODA_MSTABS arrays to new arrays within C, for use whenever arrays are dynamically allocated at run time, and in which case we can't directly access the Fortran module MODA_MSTABS arrays from within C. More... | |
Copy master Table B and Table D information from Fortran arrays to C arrays within internal memory.
Definition in file cpmstabs.c.
| void cpmstabs | ( | int | nmtb, |
| int * | ibfxyn, | ||
| char(*) | cbscl[4], | ||
| char(*) | cbsref[12], | ||
| char(*) | cbbw[4], | ||
| char(*) | cbunit[24], | ||
| char(*) | cbmnem[8], | ||
| char(*) | cbelem[120], | ||
| int | nmtd, | ||
| int * | idfxyn, | ||
| char(*) | cdseq[120], | ||
| char(*) | cdmnem[8], | ||
| int * | ndelem, | ||
| int * | idefxy, | ||
| int | maxcd | ||
| ) |
This subroutine copies relevant information from the Fortran module MODA_MSTABS arrays to new arrays within C, for use whenever arrays are dynamically allocated at run time, and in which case we can't directly access the Fortran module MODA_MSTABS arrays from within C.
All arguments to this subroutine are input.
| nmtb | - Number of master Table B entries |
| ibfxyn | - Bit-wise representations of master Table B FXY numbers |
| cbscl | - Master Table B scale factors |
| cbsref | - Master Table B reference values |
| cbbw | - Master Table B bit widths |
| cbunit | - Master Table B units |
| cbmnem | - Master Table B mnemonics |
| cbelem | - Master Table B element names |
| nmtd | - Number of master Table D entries |
| idfxyn | - Bit-wise representations of master Table D FXY numbers |
| cdseq | - Master Table D sequence names |
| cdmnem | - Master Table D mnemonics |
| ndelem | - Number of child descriptors for master Table D sequence |
| idefxy | - Bit-wise representations of child descriptors for master Table D sequence |
| maxcd | - Maximum number of child descriptors for a master Table D sequence |
Definition at line 37 of file cpmstabs.c.
References moda_mstabs::cbbw, cbbw_c, moda_mstabs::cbelem, cbelem_c, moda_mstabs::cbmnem, cbmnem_c, moda_mstabs::cbscl, cbscl_c, moda_mstabs::cbsref, cbsref_c, moda_mstabs::cbunit, cbunit_c, moda_mstabs::cdmnem, cdmnem_c, moda_mstabs::cdseq, cdseq_c, moda_mstabs::ibfxyn, ibfxyn_c, icvidx(), moda_mstabs::idefxy, idefxy_c, moda_mstabs::idfxyn, idfxyn_c, modv_maxcd::maxcd, moda_mstabs::ndelem, ndelem_c, moda_mstabs::nmtb, nmtb_c, moda_mstabs::nmtd, and nmtd_c.