Skip to content

Commit 6039e60

Browse files
committed
Added some clarifications in documentation
1 parent 22ea5b5 commit 6039e60

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/dyn/wfcgrid2/Wfcgrid2_SOFT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void Wfcgrid2::update_propagator_H_lin(double dt){
132132
133133
ex = cos(dt*Re(E)) - i * sin(dt*Re(E))
134134
135-
Instead of the `update_propagator_H`, this function work in the full space,
135+
Unlike the `update_propagator_H`, this function work in the full space,
136136
not point-by-point
137137
*/
138138

src/dyn/wfcgrid2/Wfcgrid2_initialize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ CMATRIX Gaussian(vector<double>& x, vector<double>& x0, vector<double>& px0, vec
4343
4444
For each dimension:
4545
46-
G(x) = [ (1/(2.0*pi*dx^2))^(1/4) ] * exp(-((x-x0)/(2*dx))^2 + i*(x-x0)*px0)
46+
Psi(x) = [ (1/(2.0*pi*dx^2))^(1/4) ] * exp(-((x-x0)/(2*dx))^2 + i*(x-x0)*px0)
4747
48-
P(x) = |G(x)|^2 = [ (1/(2.0*pi*dx^2)^2) ] * exp( -(x-x0)^2/(2*dx^2) )
48+
P(x) = G(x) = |Psi(x)|^2 = [ (1/(2.0*pi*dx^2)^(1/2) ] * exp( -(x-x0)^2/(2*dx^2) )
4949
5050
That is according to: https://en.wikipedia.org/wiki/Normal_distribution,
5151
dx - corresponds to standard deviation (in the classical distribution)

0 commit comments

Comments
 (0)