#include <stdio.h>Go to the source code of this file.
Defines | |
| #define | malloc1d(m, type) ( (type*)matrixalloc1D( m, sizeof(type)) ) |
| #define | malloc2d(m, n, type) ( (type**)matrixalloc2D( m , n , sizeof(type)) ) |
| #define | malloc3d(m, n, o, type) ( (type***)matrixalloc3D( m , n , o , sizeof(type)) ) |
Functions | |
| FILE ** | allocate_1d_F (int nrows) |
| void * | matrixalloc1D (int, long) |
| void ** | matrixalloc2D (int, int, long) |
| void *** | matrixalloc3D (int, int, int, long) |
| #define malloc1d | ( | m, | |||
| type | ) | ( (type*)matrixalloc1D( m, sizeof(type)) ) |
Definition at line 15 of file hydroalloc_mem.h.
Referenced by cost_fcn(), hydroallocmemoutlet(), hydroallocmemoutlet1(), hydrohypsom(), hydrooutletfraction(), hydrooutput(), hydroqfractionshuffle(), hydrorandom(), hydrosedload(), main(), and Read_Rainfall_Etc().
| #define malloc2d | ( | m, | |||
| n, | |||||
| type | ) | ( (type**)matrixalloc2D( m , n , sizeof(type)) ) |
Definition at line 16 of file hydroalloc_mem.h.
Referenced by hydroallocmemoutlet(), hydroallocmemoutlet1(), hydrooutput(), hydroreadinput(), hydrosedload(), and Read_Rainfall_Etc().
| #define malloc3d | ( | m, | |||
| n, | |||||
| o, | |||||
| type | ) | ( (type***)matrixalloc3D( m , n , o , sizeof(type)) ) |
| FILE** allocate_1d_F | ( | int | nrows | ) |
Definition at line 7 of file hydroalloc_mem.c.
Referenced by hydroopenfiles(), hydroreadhypsom(), and hydroswap().
| void* matrixalloc1D | ( | int | , | |
| long | ||||
| ) |
Definition at line 28 of file hydroalloc_mem.c.
| void** matrixalloc2D | ( | int | , | |
| int | , | |||
| long | ||||
| ) |
Definition at line 53 of file hydroalloc_mem.c.
| void*** matrixalloc3D | ( | int | , | |
| int | , | |||
| int | , | |||
| long | ||||
| ) |
Definition at line 83 of file hydroalloc_mem.c.
1.5.2