CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
CASINO manual - Theory of Condensed Matter
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3. Use Eq. (260) to calculate the kinetic-energy correction.<br />
4. As a check, calculate a αα and b αα in Eq. (262) using the values <strong>of</strong> ũ αα + ˜p αα at the two smallest<br />
nonzero stars <strong>of</strong> G vectors. Then evaluate the kinetic-energy correction using Eq. (263). The<br />
user can verify that the two estimates <strong>of</strong> the kinetic-energy are in reasonable agreement (the<br />
agreement should improve as the system size is increased).<br />
Similar steps are carried out for a 2D system, although only the ‘simple model’ is available in this<br />
case.<br />
In order to calculate the finite-size correction to the kinetic energy, the user should set the finite<br />
size corr flag to T. The finite-size correction will only be calculated if the correlation.data<br />
file contains a nonempty Jastrow factor with either p or u terms (but not u RPA terms). The finite-size<br />
correction is displayed near the top <strong>of</strong> the out file.<br />
Note that it is usually essential to use p terms in the Jastrow factor when calculating the kinetic-energy<br />
correction. Even if the p term only gives a small decrease in the total energy, it is needed in order<br />
to get the shape <strong>of</strong> the long-ranged two-body Jastrow factor correct. To generated a blank p term to<br />
paste into the Jastrow factor in correlation.data, the make p stars utility can be used.<br />
30 Finite-size correction to the interaction energy<br />
An alternative to using the MPC interaction is to calculate corrections to the XC energy from an<br />
accumulated structure factor (essentially as described in Ref. [17]). Accumulation <strong>of</strong> the structure<br />
factor is automatically activated if finite size corr is set to T, and the finite-size correction to the<br />
interaction energy is written out at the end <strong>of</strong> the out file.<br />
31 Electron–hole systems<br />
casino has the ability to include positively charged particles <strong>of</strong> variable mass (holes) in the simulation<br />
in addition to electrons. Currently these may only be used in electron–hole phases without an external<br />
potential, but the code needs only a few trivial changes for these things to be able to wander around<br />
inside real crystals (useful for studying positron problems—contact Mike Towler if you want this to<br />
be implemented).<br />
In this section the changes required to the casino code and to the basic equations in the presence <strong>of</strong><br />
holes are discussed. These largely stem from the possibility <strong>of</strong> having a variable mass ratio between<br />
the positively and negatively charged particles. The basic differences are:<br />
• The diffusion Green’s function, Eq. (18), becomes,<br />
(<br />
)<br />
G D (R ← R ′ 1<br />
, τ) =<br />
(4πD e τ) exp − (R e − R ′ e − 2τD e V e (R ′ e)) 2<br />
3Ne/2 4D e τ<br />
(<br />
)<br />
1<br />
×<br />
(4πD h τ) exp − (R h − R ′ h − 2τD hV h (R ′ h ))2 , (266)<br />
3N h/2 4D h τ<br />
where e and h denote electron and hole quantities, N e and N h are the numbers <strong>of</strong> electrons and<br />
holes, the diffusion constants are defined as D e = 1/(2m e ) and D h = 1/(2m h ), where m e and<br />
m h are the electron and hole masses in atomic units (i.e., in units <strong>of</strong> the mass <strong>of</strong> the electron).<br />
• When particle i is moved, Eq. (22) becomes,<br />
r i = r ′ i + χ + 2D i τv i (R ′ ), (267)<br />
where χ is a 3D vector <strong>of</strong> normally distributed numbers with variance 2D i τ and zero mean.<br />
• The probability <strong>of</strong> accepting this move, Eq. (26) is then,<br />
]<br />
p i ≃ min<br />
[1, exp [(r ′ i − r i + τD i (v i (R ′ ) − v i (R)) · (v i (R ′ ) + v i (R))] Ψ(R)2<br />
Ψ(R ′ ) 2 . (268)<br />
178