... | ... | @@ -11,7 +11,7 @@ The lattice spacing is defined through [predefines.h](https://gitlab.fizyka.pw.e |
|
|
```c
|
|
|
#define DX 1.0
|
|
|
```
|
|
|
It is *recommended* to work with lattice spacing `DX=1`, however, the code allows to use of other values, in order to support the functionality of [automatic interpolations](Automatic interpolations).
|
|
|
It is *recommended* to work with lattice spacing `DX=1`, however, the code allows to use of other values, in order to support the functionality of [automatic interpolations](Automatic interpolations). Through the lattice spacing, the standard of the code length unit is defined.
|
|
|
|
|
|
# Dimensionless units
|
|
|
When reporting values, it is convenient to use dimensionless units. See here for the [definition of reference scales](Reference scales).
|
... | ... | @@ -26,10 +26,10 @@ To compare with experimental data typically one needs to convert results to SI u |
|
|
|standard | standard type| SI | code |
|
|
|
| -------| ---- | ----- | -----|
|
|
|
|mass | explicit: mass of particle | $`m\,\left[\textrm{kg}\right]`$ | 1 |
|
|
|
| length | explicit: distance between two lattice points | $`l\,\left[\textrm{m}\right]`$ | 1 (*)|
|
|
|
| length | explicit: via lattice spacing | $`l\,\left[\textrm{m}\right]`$ | 1 (*)|
|
|
|
| time | implicit: time units is defined through requirement that $`\hbar=1`$ | $`\left[\textrm{s}\right]`$ | 1 |
|
|
|
|
|
|
(*) It is assumed that in [predefines.h](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/blob/public/st-project-template/predefines.h) `DX=1`. If not, and `DX=a`, one needs to rescale $`l\rightarrow l/a`$.
|
|
|
(*) The lattice spacing defines how the distance between two lattice points relates to the unit of length in which the code operates. If `DX=1` then the lattice spacing itself serves as the standard for the code unit length.
|
|
|
|
|
|
Below we provide conversion factors:
|
|
|
|
... | ... | |