14.09.2014 Views

CASINO manual - Theory of Condensed Matter

CASINO manual - Theory of Condensed Matter

CASINO manual - Theory of Condensed Matter

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CUSTOM SPAIR DEP (Block) This input block can be used to create new spin-pair groupings<br />

for the Jastrow factor, etc. For example, if one were studying a paramagnetic fluid bilayer,<br />

with spin-up and spin-down electrons in one plane (spins 1 and 2) and spin-up and spin-down<br />

electrons on the other plane (spins 3 and 4) then one would want sets <strong>of</strong> u(r ij ) terms for sameplane,<br />

same-spin pairs, same-plane, opposite-spin pairs and opposite-plane pairs. Here is an<br />

example:<br />

%block custom_spair_dep<br />

no_spair_deps 1 # Number <strong>of</strong> custom spin dependences spair_dep -1 3 #<br />

Label (-1,-2,-3,...) and number <strong>of</strong> spin groups 1-1,2-2,3-3,4-4 1-2,3-4<br />

1-3,1-4,2-3,2-4<br />

%endblock custom_spair_dep<br />

To use this spin-pair dependence, the ‘spin-dependence’ flag in e.g. the u term <strong>of</strong> the Jastrow<br />

factor in correlation.data would be set to ‘−1’. All spin-pairs must be included in a group.<br />

See also custom ssingle dep.<br />

CUSTOM SSINGLE DEP (Block) This input block can be used to create new spin-single groupings<br />

for the Jastrow factor, etc. Here is an example:<br />

%block custom_ssingle_dep<br />

no_ssingle_deps 1 # Number <strong>of</strong> custom spin dependences ssingle_dep -1 2<br />

# Label (-1,-2,-3,...) and number <strong>of</strong> spin groups 1,2 3,4<br />

%endblock custom_ssingle_dep<br />

To use this spin-single dependence, the ‘spin-dependence’ flag in e.g. the χ term <strong>of</strong> the Jastrow<br />

factor in correlation.data would be set to ‘−1’. All spins must be included in a group. See<br />

also custom spair dep.<br />

CUSTOM STRIPLET DEP (Block) This input block can be used to create new spin-triplet<br />

groupings for the Jastrow factor, etc. Since their is no automated generation <strong>of</strong> spin-triplets,<br />

this block is necessary whenever using a Jastrow H term. Here is an example:<br />

%block custom_striplet_dep<br />

no_striplet_deps 1 striplet_dep -1 3<br />

1=1=3,1=1=4,2=2=3,2=2=4,1=3=3,1=4=4,2=3=3,2=4=4<br />

1=1=1,1=1=2,1=2=2,2=2=2,3=3=3,3=3=4,3=4=4,4=4=4 1=2-3,1=2-4,1-3=4,2-3=4<br />

%endblock custom_striplet_dep<br />

DBARRC (Integer) dbarrc is the number <strong>of</strong> updates between full recalculation <strong>of</strong> the c<strong>of</strong>actor<br />

(‘DBAR’) matrices. Every time an electron move is accepted in VMC or DMC, the ‘DBAR’<br />

matrices are updated using the efficient Sherman–Morrison formula (Eq. (26) <strong>of</strong> Ref. [15]), which<br />

is numerically unstable. As a precaution, the DBAR matrices and determinant are recomputed<br />

from scratch from the orbitals in the Slater matrix every dbarrc∗N updates. The default value<br />

is 100,000. See Sec. 18.<br />

DENSITY (Logical) If density is set to T then the charge density is accumulated and written to<br />

the expval.data file. (This can only be done for periodic systems and finite single atoms at the<br />

moment; the finite molecule case has not been implemented.) See Sec. 33.<br />

DIPOLE MOMENT (Logical) If this flag is set to T then casino will accumulate the expectation<br />

value <strong>of</strong> the electric dipole moment p. It will also evaluate the expectation value <strong>of</strong> |p| 2 . The<br />

data (p x , p y , p z ) and |p| 2 are written to vmc.hist or dmc.hist like energy components, rather<br />

than into expval.data, and their value and error bars are determined by reblocking. This can<br />

only be done for finite systems.<br />

Note that the casino reblock utility reports only the components and not the magnitude<br />

<strong>of</strong> the dipole moment in order to allow the user to decide how to deal with the symmetry.<br />

Suppose that symmetry dictates the dipole moment will point in the x direction. The y and z<br />

components should be zero, but there will be some noise when they are evaluated in QMC. If<br />

you work out |p| = √ |p x | 2 + |p y | 2 + |p z | 2 then you will get something larger than |p x<br />

|, tending<br />

37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!