|
|
The function used in library initialization is `wderiv_init_Nd`, where `N` is a space dimension:
|
|
|
## Initialization functions:
|
|
|
```c
|
|
|
int wderiv_init_3d(int nx, int ny, int nz, double dx, double dy, double dz)
|
|
|
```
|
|
|
* `nx` number of points in first dimension
|
|
|
* `ny` number of points in second dimension
|
|
|
* `nz` number of points in third dimension
|
|
|
* `dx` lattice constant in first dimension
|
|
|
* `dy` lattice constant in second dimension
|
|
|
* `dz` lattice constant in third dimension
|
|
|
|
|
|
Analogicly for 2D...
|
|
|
```c
|
|
|
int wderiv_init_2d(int nx, int ny, double dx, double dy)
|
|
|
```
|
|
|
...and 1D problems.
|
|
|
```c
|
|
|
int wderiv_init_1d(int nx, double dx)
|
|
|
``` |
|
|
\ No newline at end of file |