Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • wderiv wderiv
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • 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
  • wderivwderiv
  • Wiki
  • Initialization

Initialization · Changes

Page history
Create Initialization authored May 23, 2021 by Bartosz Ruszczak's avatar Bartosz Ruszczak
Show whitespace changes
Inline Side-by-side
Initialization.md 0 → 100644
View page @ 708ae937
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
Clone repository
  • Complex derivatives
  • Gradient square
  • Initialization
  • Real derivatives
  • Home