Skip to content

GitLab

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

Last edited by Gabriel Wlazłowski Feb 26, 2026
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Types of codes

  • Static and time-dependent codes
  • Codes dimensionality (xx: st or td)
    • 3D codes: xx-wslda-3d
    • 2D codes: xx-wslda-2d
    • 1D codes: xx-wslda-1d

Static and time-dependent codes

There are two main branches of codes:

  • Static codes st-wslda-?d for solving self-consistently static DFT equations.
  • Time-dependent codes td-wslda-?d for solving time-dependent DFT equations. The td-wslda-?d codes require a starting point for the time evolution (i.e. \psi(\vec{r},t=0)), which is typically generated by the static codes.

In code names, ? stands for dimensionality, as described below.

Codes dimensionality (xx: st or td)

3D codes: xx-wslda-3d

The 3D codes do not impose any restriction on the form of the wave functions. The wave functions are assumed to be:

\psi=\varphi(x,y,z)

2D codes: xx-wslda-2d

In 2D codes, the wave functions are assumed to be:

\psi=\varphi(x,y)\frac{1}{\sqrt{L_z}}e^{ik_z z}

where

k_z = 0, \pm 1 \frac{2\pi}{L_z}, \pm 2 \frac{2\pi}{L_z}, \ldots , +(N_z-1) \frac{2\pi}{L_z}

For NZ=1, the code solves a 2D problem (there is only one mode in the z-direction, which reduces to 1). Note, however, that the 2D problem requires a different prescription for coupling constant regularization than the one implemented in the W-SLDA toolkit.

1D codes: xx-wslda-1d

In 1D codes, the wave functions are assumed to be:

\psi=\varphi(x)\frac{1}{\sqrt{L_y}}e^{ik_y y}\frac{1}{\sqrt{L_z}}e^{ik_z z}

where

k_y = 0, \pm 1 \frac{2\pi}{L_y}, \pm 2 \frac{2\pi}{L_y}, \ldots , +(N_y-1) \frac{2\pi}{L_y}
k_z = 0, \pm 1 \frac{2\pi}{L_z}, \pm 2 \frac{2\pi}{L_z}, \ldots , +(N_z-1) \frac{2\pi}{L_z}

For NY=1 and NZ=1, the code solves a 1D problem. Note, however, that the 1D problem requires a different prescription for coupling constant regularization than the one implemented in the W-SLDA toolkit.

Clone repository

Content of Documentation
Official webpage
W-BSK Toolkit