ocssw
V2022
|
allocate3d.h
short *** allocate3d_short(size_t nz, size_t ny, size_t nx)
Allocate a three-dimensional array of type short of a given size.
Definition: allocate3d.c:13
float *** allocate3d_float(size_t nz, size_t ny, size_t nx)
Allocate a three-dimensional array of type float of a given size.
Definition: allocate3d.c:77
void free3d_double(double ***p)
Free a three-dimensional array created by allocate3d_double.
Definition: allocate3d.c:135
void free3d_float(float ***p)
Free a three-dimensional array created by allocate3d_float.
Definition: allocate3d.c:103
void free3d_int(int ***p)
Free a three-dimensional array created by allocate3d_int.
Definition: allocate3d.c:71
double *** allocate3d_double(size_t nz, size_t ny, size_t nx)
Allocate a three-dimensional array of type double of a given size.
Definition: allocate3d.c:109
void free3d_short(short ***p)
Free a three-dimensional array created by allocate3d_short.
Definition: allocate3d.c:39
int *** allocate3d_int(size_t nz, size_t ny, size_t nx)
Allocate a three-dimensional array of type int of a given size.
Definition: allocate3d.c:45