... | ... | @@ -236,10 +236,17 @@ double z = z0 + dz*iz; |
|
|
// array index: 3d case
|
|
|
int ixyz = iz + nz*iy + nz*ny*ix;
|
|
|
```
|
|
|
If `dx` is negative, then the x-coordinate has to be extracted from the additional binary file of the name `prefix__x.wdat`. For more information, see the implementation of function `wdata_get_x`(...) from our C library. The same applies to coordinates y and z.
|
|
|
|
|
|
## Time
|
|
|
```
|
|
|
cycles 10 # number of cycles (measurements)
|
|
|
t0 0 # time value for the first cycle
|
|
|
dt 1 # time interval between cycles
|
|
|
# if dt` is negative, then the time should be extracted from the extra file `prefix__t.wdat`.
|
|
|
```
|
|
|
To compute the time associated with a given `icycle`, we use the formula
|
|
|
```
|
|
|
time = t0 + dt * icycle;
|
|
|
```
|
|
|
If `dt` is negative, then the `time` parameter has to be extracted from the additional binary file of the name `prefix__t.wdat`. For more information, see the implementation of function [`wdata_get_time`(...)](https://gitlab.fizyka.pw.edu.pl/wtools/wdata/-/blob/master/c/wdata.c#L562) from our C library. |
|
|
\ No newline at end of file |
|
|
If `dt` is negative, then the `time` parameter has to be extracted from the additional binary file of the name `prefix__t.wdat`. For more information, see the implementation of function `wdata_get_time`(...) from our C library. |
|
|
\ No newline at end of file |