Allocate memory for a three dimensional array.
The GCLgrid library uses a contiguous block of memory to hold
arrays and uses C pointers to create the indexing needed for
standard C style subscripting.
A contiguous block is used in preference to a potentially
millions of malloc calls if the array were built in pieces.
This function creates a 3d array in this manner.
- Source:
- gclgrid.h:1454
- Author:
- unascribed
- Version:
- unknown
- Params:
n1
| size of index 1 of array.
|
n2
| size of index 2 of array.
|
n3
| size of index 3 of array.
|
- Code:
public extern "C" double * * * create_3dgrid_contiguous ( | int n1 , |
| int n2 , |
| int n3 ) |