The function used in library initialization is wderiv_init_Nd, where N is a space dimension:
Initialization functions:
int wderiv_init_3d(int nx, int ny, int nz, double dx, double dy, double dz)
-
nxnumber of points in first dimension -
nynumber of points in second dimension -
nznumber of points in third dimension -
dxlattice constant in first dimension -
dylattice constant in second dimension -
dzlattice constant in third dimension
Analogicly for 2D...
int wderiv_init_2d(int nx, int ny, double dx, double dy)
...and 1D problems.
int wderiv_init_1d(int nx, double dx)