NCEPLIBS-bufr
11.7.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 (f77int *pnmtb, f77int *pibfxyn, char(*pcbscl)[4], char(*pcbsref)[12], char(*pcbbw)[4], char(*pcbunit)[24], char(*pcbmnem)[8], char(*pcbelem)[120], f77int *pnmtd, f77int *pidfxyn, char(*pcdseq)[120], char(*pcdmnem)[8], f77int *pndelem, f77int *pidefxy, f77int *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 | ( | f77int * | pnmtb, |
f77int * | pibfxyn, | ||
char(*) | pcbscl[4], | ||
char(*) | pcbsref[12], | ||
char(*) | pcbbw[4], | ||
char(*) | pcbunit[24], | ||
char(*) | pcbmnem[8], | ||
char(*) | pcbelem[120], | ||
f77int * | pnmtd, | ||
f77int * | pidfxyn, | ||
char(*) | pcdseq[120], | ||
char(*) | pcdmnem[8], | ||
f77int * | pndelem, | ||
f77int * | pidefxy, | ||
f77int * | 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.
[in] | pnmtb | – f77int*: Number of master Table B entries |
[in] | pibfxyn | – f77int*: Bit-wise representations of master Table B FXY numbers |
[in] | pcbscl | – char(*)[4]: Master Table B scale factors |
[in] | pcbsref | – char(*)[12]: Master Table B reference values |
[in] | pcbbw | – char(*)[4]: Master Table B bit widths |
[in] | pcbunit | – char(*)[24]: Master Table B units |
[in] | pcbmnem | – char(*)[8]: Master Table B mnemonics |
[in] | pcbelem | – char(*)[120]: Master Table B element names |
[in] | pnmtd | – f77int*: Number of master Table D entries |
[in] | pidfxyn | – f77int*: Bit-wise representations of master Table D FXY numbers |
[in] | pcdseq | – char(*)[120]: Master Table D sequence names |
[in] | pcdmnem | – char(*)[8]: Master Table D mnemonics |
[in] | pndelem | – f77int*: Number of child descriptors for master Table D sequence |
[in] | pidefxy | – f77int*: Bit-wise representations of child descriptors for master Table D sequence |
[in] | maxcd | – f77int*: Maximum number of child descriptors for a master Table D sequence |
Program history log:
Date | Programmer | Comments |
---|---|---|
2014-12-04 | J. Ator | Original author |
2021-05-17 | J. Ator | Allow up to 24 characters in cbunit |
Definition at line 47 of file cpmstabs.c.
References icvidx().
Referenced by ireadmt().