mirror of
https://github.com/triqs/dft_tools
synced 2024-12-21 11:53:41 +01:00
Fixed a bug in reading scale from POSCAR in PLOVasp
This commit is contained in:
parent
1a4f161ea4
commit
7599336e55
@ -363,7 +363,7 @@ class Poscar:
|
||||
|
||||
# Read scale
|
||||
sline = readline_remove_comments()
|
||||
ascale = float(sline[0])
|
||||
ascale = float(sline)
|
||||
# Read lattice vectors
|
||||
self.a_brav = np.zeros((3, 3))
|
||||
for ia in xrange(3):
|
||||
|
@ -3,8 +3,8 @@ ntypes = 1
|
||||
nions = [1]
|
||||
el_names = ['V']
|
||||
a_brav:
|
||||
[[-1. 1. 1.]
|
||||
[ 1. -1. 1.]
|
||||
[ 1. 1. -1.]]
|
||||
[[-1.4939 1.4939 1.4939]
|
||||
[ 1.4939 -1.4939 1.4939]
|
||||
[ 1.4939 1.4939 -1.4939]]
|
||||
q_types:
|
||||
[array([[ 0., 0., 0.]])]
|
||||
|
Loading…
Reference in New Issue
Block a user