forked from pyscf/pyscf
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env python | ||
# | ||
# Author: Qiming Sun <osirpt.sun@gmail.com> | ||
# | ||
|
||
''' | ||
GKS with non-collinear functional | ||
''' | ||
|
||
from pyscf import gto | ||
|
||
mol = gto.M(atom="H 0 0 0; F 0 0 1", basis='unc-sto3g', verbose=4) | ||
mf = mol.GKS() | ||
mf.xc = 'pbe' | ||
# Enable non-collinear functional. GKS calls collinear functional by default | ||
# mcol is short for multi-collinear functional. This is one treatment of | ||
# non-collinear method which avoids the singularity issue in functional. | ||
# For more details of multi-collinear method, please see | ||
# Noncollinear density functional theory, Zhichen Pu, et. al., Rev. Research 5, 013036 | ||
mf.collinear = 'mcol' | ||
mf.kernel() |