Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • wdata wdata
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wtools
  • wdatawdata
  • Wiki
  • wdata format concept

wdata format concept · Changes

Page history
Update wdata format concept authored Jun 24, 2025 by Gabriel Wlazłowski's avatar Gabriel Wlazłowski
Show whitespace changes
Inline Side-by-side
wdata-format-concept.md
View page @ 96e7fc94
......@@ -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
Clone repository
  • Examples
    • C examples
    • Python examples
  • VisIt plugin compilation
  • Visit integration
  • Home
  • wdata format concept