Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
allocate5d.h
Go to the documentation of this file.
1 
6 #ifndef OEL_UTIL_LIBGENUTILS_ALLOCATE5D_H_
7 #define OEL_UTIL_LIBGENUTILS_ALLOCATE5D_H_
8 
9 #include <stddef.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
30 float *****allocate5d_float(size_t nq, size_t nr, size_t nz, size_t ny, size_t nx);
31 
36 void free5d_float(float *****p);
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 #endif /* OEL_UTIL_LIBGENUTILS_ALLOCATE5D_H_ */
float ***** allocate5d_float(size_t nq, size_t nr, size_t nz, size_t ny, size_t nx)
Allocate a five-dimensional array of type float of a given size.
Definition: allocate5d.c:12
void free5d_float(float *****p)
Free a five-dimensional array created by allocate5d_float.
Definition: allocate5d.c:58
float p[MODELMAX]
Definition: atrem_corl1.h:131