GCLgrid :: GCLgrid classes

function create_3dgrid_contiguous

^ 
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:1424
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 )

Created Fri Jan 21 08:54:55 2005.
This documentation was generated automatically by
ccdoc v08r41 2004/09/29 bin_opt_suncc_sun4-solaris-2.8.
Click here to submit a bug report or feature request for ccdoc.
Click here to return to the top of the page.