ocssw
V2022
|
allocate4d.h
int **** allocate4d_int(size_t nr, size_t nz, size_t ny, size_t nx)
Allocate a four-dimensional array of type int of a given size.
Definition: allocate4d.c:12
void free4d_int(int ****p)
Free a four-dimensional array created by allocate4d_int.
Definition: allocate4d.c:49
void free4d_float(float ****p)
Free a four-dimensional array created by allocate4d_float.
Definition: allocate4d.c:93
double **** allocate4d_double(size_t nr, size_t nz, size_t ny, size_t nx)
Allocate a four-dimensional array of type double of a given size.
Definition: allocate4d.c:100
float **** allocate4d_float(size_t nr, size_t nz, size_t ny, size_t nx)
Allocate a four-dimensional array of type float of a given size.
Definition: allocate4d.c:56
void free4d_double(double ****p)
Free a four-dimensional array created by allocate4d_double.
Definition: allocate4d.c:137