Skip to content

Commit 2abe6e1

Browse files
LiLi
Li
authored and
Li
committed
Merge branch 'main' of github.com:bigbrosci/q-robot into main
job
2 parents 63a1cf3 + 5e5041c commit 2abe6e1

File tree

11 files changed

+2716
-69
lines changed

11 files changed

+2716
-69
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
*.pyc
22
*__pycache__
33
*.swp*
4+
POTCAR
5+
PSCTR

actions/pp.py

+17-15
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,36 @@
33
import sys, os
44
from potcar import *
55

6+
#Check if POSCAR in the folder
67
is_poscar_here = False
78
if os.path.isfile('POSCAR'):
89
is_poscar_here = True
9-
else:
10-
print('%s\n' %('%' * 40))
11-
print('\nWARNING!!! No POSCAR in current folder!!\n' * 2 )
12-
print('%s\n' %('%' * 40))
13-
10+
1411
if len(sys.argv[:]) == 1:
12+
'''Auto mode by reading the POSCAR'''
1513
if is_poscar_here:
14+
print('POTCAR is Generated by reading POSCAR!')
1615
poscar = open('POSCAR', 'r')
1716
lines = poscar.readlines()
1817
poscar.close()
1918
ele_list = lines[5].rstrip().split() ## Read the element line
2019
if ele_list[0].isdigit():
2120
'''For VASP4 and ASE type POSCAR without elements in line 6'''
22-
print('\nASE type POSCAR\n')
23-
ele_list = lines[0].rstrip().split()
21+
print('\nPOSCAR Format: VASP4\n')
22+
ele_list = lines[0].rstrip().split()
2423
concatenate(ele_list)
25-
if os.path.isfile('POTCAR'):
26-
read_potcar('POTCAR')
24+
read_potcar('POTCAR')
2725
else:
28-
if os.path.isfile('POTCAR'):
29-
read_potcar('POTCAR')
30-
else:
31-
print('\nBut you can generate POTCAR by using command: pp.py element1 element2 ....\n')
26+
print('%s' %('%' * 40))
27+
print('\nWARNING!!!'*3 )# * 2 )
28+
print('''
29+
\nPOTCAR CANNOT be automatically generated due to the missing POSCAR!!!\n
30+
But you can make it by using command below:\n
31+
pp.py element1 element2 ....\n''')
32+
print('%s' %('%' * 40))
33+
3234
if len(sys.argv) > 1 :
35+
'''Make POTCAR manually.'''
3336
ele_list = sys.argv[1:]
3437
concatenate(ele_list)
35-
if os.path.isfile('POTCAR'):
36-
read_potcar('POTCAR')
38+
read_potcar('POTCAR')

books/potpaw_PBE.54/README.UPDATES

+187
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
if you use any of these potentials you need to put a reference to
2+
3+
G. Kresse, and J. Joubert,
4+
"From ultrasoft pseudopotentials to the projector augmented wave method",
5+
Phys. Rev. B {\bf 59}, 1758 (1999).
6+
7+
8+
UPDATES for March 2002 release
9+
==============================
10+
11+
*4.8.2002 Na core radius reduced
12+
*4.8.2002 Cs_sv s cutoff reduced
13+
*4.8.2002 Ga updated, d reference energy set to 0.1
14+
*4.8.2002 Sn updated, f reference energy set to -0.2
15+
*4.8.2002 In NEW generated
16+
*4.8.2002 Tl NEW generated
17+
*4.8.2002 Bi NEW generated
18+
19+
*4.8.2002 V updated, since it had a ghostate in the MD
20+
*4.8.2002 Ti updated
21+
*4.8.2002 Sc NEW generated
22+
*4.8.2002 Y NEW generated
23+
24+
*4.8.2002 Te d&f potentials softened (23 instead 7)
25+
*4.8.2002 I d&f potentials softened (23 instead 7)
26+
both yield now reliable lattice constants
27+
at default cutoff
28+
*4.8.2002 Sn d&f potentials softened (23 instead 7)
29+
*4.8.2002 mass corrected for Pr
30+
*4.8.2002 Eu regenerated for 91
31+
*4.8.2002 Mo_pv potential rengerated since a s ghostate
32+
existed above the Fermi-level
33+
*4.8.2002 Mo potential rengerated since a s ghostate
34+
existed above the Fermi-level
35+
*4.8.2002 Nb_pv potential rengerated since a s ghostate
36+
existed above the Fermi-level
37+
*4.8.2002 Al_h, Si_h, P_h, S_h, Cl_h, Ga_h, Ge_h generated
38+
39+
17.1.2003 Tc, Er_2 generated
40+
17.1.2003 default cutoff for Li increased to 140, and softer d
41+
17.1.2003 P S and Cl: local potential softened and cutoff increased
42+
20.1.2003 Tm_3 regenerated (ghostate)
43+
20.1.2003 Hf, Ta, Re and Os generated
44+
20.1.2003 Os_pv regenerated (ghostate)
45+
22.1.2003 B_s generated
46+
24.2.2003 Yb regenereted (old potential was RPBE)
47+
48+
UPDATES since 24Feb03 release (not complete)
49+
============================================
50+
11.4.2003 As_d potential generated
51+
06.2.2004 B_h, C_h, N_h, O_h, F_h and H_h regenerated
52+
new versions include partial core corrections
53+
03.6.2004 Si_h updated, ghoststate in p
54+
16.8.2004 Al_h removed because of ghostate problem
55+
10.9.2004 Li_sv updated since LiH dimer description was unsatisfactory
56+
04.2.2005 Pd_pv_new, Rh_pv_new, Ru_pv_new, Ru_sv, Tc_pv_new, Mo_pv_new generated:
57+
smaller p core radius, f PP as local potential
58+
04.2.2005 Ag_new, Pd_new, Rh_new, Ru_new, Tc_new updated: f PP as local potential
59+
04.2.2005 Mo_sv Ru_sv Zn_pv generated
60+
04.2.2005 Zr_sv_new generated: f local and smaller core radii
61+
04.2.2005 Sc regenerated: was for 91 instead of PE
62+
03.3.2005 Ce_h regenerated with improved f and second p projector at 1 eV
63+
02.3.2006 Mo_sv smaller core radius for d chosen
64+
65+
28.8.2006 Er potential updated, valence corrected, p shifted to 2.0 eV, f radius
66+
decreased
67+
19.9.2006 Na_pv updated because of ghoststate above Fermi level
68+
04.4.2007 Mg_pv smaller p core radius (1.6) to improve transferability
69+
70+
UPDATES since 20Apr07 release
71+
=============================
72+
73+
74+
20.4.2007 Ag replaced by Ag_new
75+
20.4.2007 Cu replaced by Cu_new
76+
20.4.2007 Mg replaced by Mg_new
77+
20.4.2007 Mo_pv replaced by Mo_pv_new
78+
20.4.2007 Pt replaced by Pt_new
79+
20.4.2007 Pd replaced by Pd_new
80+
20.4.2007 Pd_pv replaced by Pd_pv_new
81+
20.4.2007 Rh replaced by Rh_new
82+
20.4.2007 Rh_pv replaced by Rh_pv_new
83+
20.4.2007 Ru replaced by Ru_new
84+
20.4.2007 Ru_pv replaced by Ru_pv_new
85+
20.4.2007 Tc replaced by Tc_new
86+
20.4.2007 Tc_pv replaced by Tc_pv_new
87+
20.4.2007 Zr_sv replaced by Zr_sv_new
88+
25.5.2007 Nb_sv f shell as local potential
89+
25.5.2007 Y_sv f shell as local potential
90+
20.4.2007 Ti_sv replaced by Ti_sv_new X
91+
02.8.2007 V_sv replaced by V_sv_new
92+
02.8.2007 Cr_pv replaced by Cr_pv_new
93+
02.8.2007 Mn_pv replaced by Mn_pv_new
94+
02.8.2007 Fe_pv replaced by Fe_pv_new
95+
02.8.2007 Co replaced by Co_new
96+
02.8.2007 Ni replaced by Ni_new
97+
26.3.2009 Fe_sv updated
98+
26.3.2009 Fr_sv generated
99+
26.3.2009 Ra_sv generated
100+
26.3.2009 Ge_d updated
101+
26.3.2009 Hf_sv generated
102+
26.3.2009 Mn_sv generated
103+
26.3.2009 Po updated
104+
26.3.2009 Po_d generated
105+
26.3.2009 Am generated
106+
26.3.2009 At generated
107+
26.3.2009 At_d generated
108+
26.3.2009 Au replaced by Au_new
109+
26.3.2009 Co_sv generated
110+
26.3.2009 Cr_sv generated
111+
26.3.2009 W_pv replaced by W_pv_new
112+
06.7.2010 Ga_d updated, better high energy scattering (GW ready)
113+
15.3.2012 Li_sv_GW 3rd s reference energy moved to 13 Ry
114+
115+
GW potentials generated
116+
117+
UPDATES since 19Apr12 release
118+
=============================
119+
04.5.2012 Si_GW core radius for first s projector increased back to 1.9
120+
16.5.2012 La_GW potential generated
121+
22.6.2012 Bi_d_GW potential updated to include f projectors
122+
04.7.2012 Zn_pv_GW retired and no longer distributed
123+
instead Zn_sv_GW_s (softer Zn_sv_GW potential) mostly identical to Zn_pv_GW distributed
124+
01.8.2012 H1.25 update of ENMAX = 250 ENMIN = 200
125+
01.8.2012 Mg default cutoff increased to ENMAX =200 and ENMIN = 100 (compatible to LDA)
126+
127+
UPDATES since 6Aug12 release
128+
=============================
129+
30.11.2012 V_sv_GW updated 3rd p projector moved to 7 eV since old potential failed at large ENCUT
130+
01.02.2013 Pd_sv_GW included in the distribution
131+
15.03.2013 Ge_d_GW updated s partial waves: are now normconserving better agreement with Ge_sv_GW
132+
15.03.2013 Ga_d_GW updated s partial waves: are now normconserving better agreement with Ga_sv_GW
133+
15.03.2013 In_d_GW updated s partial waves almost normconserving, f scattering included
134+
15.03.2013 Sn_d_GW updated s partial waves almost normconserving, f scattering included
135+
15.03.2013 Sb_d_GW updated s partial waves almost normconserving
136+
15.03.2013 Cd_pv_GW removed (bad performance)
137+
15.03.2013 Cd_sv_GW new reasonably soft GW potential (320 eV)
138+
19.03.2013 Si_GW_new s partial waves almost normconserving better agreement with Si_sv_GW
139+
23.05.2013 C_h_GW commited, almost normconserving partial waves
140+
03.07.2013 N_h_GW commited, almost normconserving partial waves, s energies changed
141+
23.05.2013 O_h_GW commited, almost normconserving partial waves
142+
03.07.2013 F_h_GW commited, almost normconserving partial waves, s energies changed
143+
31.05.2013 F_h updated, smaller s core radius
144+
19.06.2013 Rh_sv_GW updated: third p projector at low energies
145+
21.08.2013 Kr_GW updated, improved s NC, d projectors (previous potential had s ghoststates at high energy)
146+
21.08.2013 Ar_GW updated, improved s NC
147+
21.08.2013 Ne_GW updated, smaller p core radius (improved NC)
148+
13.09.2013 Au_pv_GW removed (unreliable DFT lattice constants)
149+
13.09.2013 Au_sv_GW added (2 p core projectors)
150+
13.09.2013 Cu_pv_GW removed (unreliable DFT lattice constants)
151+
13.09.2013 Cu_sv_GW added (2 p core projectors)
152+
22.11.2013 In_sv_GW revised, d core radius made smaller
153+
22.11.2013 Sn_sv_GW created
154+
22.11.2013 Sb_sv_GW created
155+
22.11.2013 Te_sv_GW created
156+
22.11.2013 Cd_sv_GW d core radius decreased to 2.0, s almost NC
157+
25.11.2013 Ga_pv_GW removed (instead new Ga_sv_GW should be used, see below)
158+
05.12.2013 Y_sv_GW Zr_sv_GW Nb_sv_GW Mo_sv_GW Tc_sv_GW Ru_sv_GW Rh_sv_GW Pd_sv_GW Ag_sv_GW
159+
d core radius decreased to 2.0, s almost NC
160+
old potentials are available in _old
161+
05.12.2013 Sc_sv_GW Ti_sv_GW V_sv_GW Cr_sv_GW Mn_sv_GW Fe_sv_GW Co_sv_GW Ni_sv_GW Cu_sv_GW Zn_sv_GW Ga_sv_GW Ge_sv_GW
162+
d core radius decreased to 1.9 a.u., s almost NC
163+
old potentials are available in _old
164+
04.04.2014 Si_h potential added (s core shell is in valence)
165+
04.04.2014 Pb_sv_GW generated (updated on 14.04.2014)
166+
14.04.2014 Pb_d_GW smaller s core radius more f projectors
167+
16.04.2014 Cd_sv_GW generated with more reasonable atomic configuration
168+
16.04.2014 Hg_sv_GW generated
169+
16.04.2014 Tl_d_GW Tl_sv_GW generated
170+
16.04.2014 Bi_d_GW Bi_sv_GW generated
171+
16.04.2014 Po_d_GW Po_sv_GW generated
172+
16.04.2014 At_d_GW At_sv_GW generated
173+
16.04.2014 Rn_d_GW Rn_sv_GW generated
174+
16.04.2014 Ne_GW_new moved to Ne_GW (includes f non-locality)
175+
17.04.2014 At_d removed (too small lattice constant used At_d_GW instead)
176+
18.04.2014 Pt_pv_GW Rh_pv_GW Ru_pv_GW removed (unreliable DFT lattice constants)
177+
20.05.2014 F_h_GW updated (smaller partial core radius)
178+
21.11.2014 Sm potential updated (d ghoststate, no convergence)
179+
16.01.2015 Hf_sv_GW, f projector places closer to vacuum level to improve f scattering
180+
27.02.2015 Ne_GW_soft renamed to Ne_s_GW
181+
182+
26.04.2015 Ge_sv_GW updated (RPA convergence) 3rd s channel, 2nd f 6.0 Ry
183+
11.05.2015 Na_sv_GW updated (smaller core radii but, harder)
184+
22.05.2015 P_sv_GW_nc updated (smaller local core radius, 3rd p shifted down to 2.7 eV)
185+
04.09.2015 W_sv generated, W_pv removed because of s ghoststate above E-fermi
186+
187+

0 commit comments

Comments
 (0)