You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- **Description**: Number of bands to calculate. It is recommended you setup this value, especially when you use smearing techniques, more bands should be included.
472
+
- **Description**: Number of Kohn-Sham orbitals to calculate. It is recommended you setup this value, especially when you use smearing techniques, more bands should be included.
This part of variables are used to control the parameters of stochastic DFT (SDFT), mix stochastic-deterministic DFT (MDFT), or complete-basis Chebyshev method (CT).
580
+
This part of variables are used to control the parameters of stochastic DFT (SDFT), mix stochastic-deterministic DFT (MDFT), or complete-basis Chebyshev method (CT). We now support calculation of "sto-scf" and "sto-md".
581
+
582
+
#### method_sto
583
+
584
+
- **Type**: Integer
585
+
- **Description**:
586
+
- Different method to do SDFT.
587
+
- 1: SDFT calculates $T_n(\hat{h})\ket{\chi}$ twice, where $T_n(x)$ is the n-th order Chebyshev polynomial and $\hat{h}=\frac{\hat{H}-\bar{E}}{\Delta E}$ owning eigen-value $\in(-1,1)$. This method cost less memory but slow.
588
+
- 2: SDFT calculates $T_n(\hat{h})\ket{\chi}$ once but need much more memory. This method is fast but when memory is not enough. Only method 1 can be used.
589
+
- other: use 1
590
+
- **Default**: 1
581
591
582
592
#### nbands_sto
583
593
584
594
- **Type**: Integer
585
595
- **Description**:
586
596
- nbands_sto>0: Number of stochastic orbitals to calculate in SDFT and MDFT. More bands obtain more precise results or smaller stochastic errors ($ \propto 1/\sqrt{N_{\chi}}$);
587
597
- nbands_sto=0: Complete basis will be used to replace stochastic orbitals with the Chebyshev method (CT) and it will get the results the same as KSDFT without stochastic errors.
598
+
- If you want to do MDFT. [nbands](#nbands) which represents the number of KS orbitals should be set.
588
599
- **Default**: 0
589
600
590
601
#### nche_sto
@@ -609,8 +620,15 @@ This part of variables are used to control the parameters of stochastic DFT (SDF
609
620
610
621
- **Type**: Integer
611
622
- **Description**: The random seed to generate stochastic orbitals.
612
-
- seed_sto>=0: Stochastic orbitals have the form of $\exp(i2\pi\theta(G))$, where $\theta$ is a uniform distribution in $(0,1)$. If seed_sto=0, the seed is decided by time(NULL).
613
-
- seed_sto<=-1: Stochastic orbitals have the form of $\pm1$ with the equal probability. If seed_sto=-1, the seed is decided
623
+
- seed_sto>=0: Stochastic orbitals have the form of $\exp(i2\pi\theta(G))$, where $\theta$ is a uniform distribution in $(0,1)$. If seed_sto = 0, the seed is decided by time(NULL).
624
+
- seed_sto<=-1: Stochastic orbitals have the form of $\pm1$ with the equal probability. If seed_sto = -1, the seed is decided by time(NULL).
625
+
- **Default**:0
626
+
627
+
#### initsto_freq
628
+
629
+
- **Type**: Integer
630
+
- **Description**: Frequency (once each initsto_freq steps) to generate new stochastic orbitals when running md.
0 commit comments