GCLgrid :: GCLgrid classes

function create_4dgrid_contiguous

^ 
Allocate memory for a four 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 4d array in this manner.

Source:
gclgrid.h:1440
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.
n4 size of index 4 of array.
Code:
public extern "C" double * * * * create_4dgrid_contiguous ( int n1 ,
int n2 ,
int n3 ,
int n4 )

Created Tue Jan 16 13:32:12 2007.
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.