Skip to content

Commit

Permalink
Merge pull request #1642 from jtkrogel/nx_alat
Browse files Browse the repository at this point in the history
Nexus: update outdated cubic specifier to alat for QE
  • Loading branch information
markdewing authored Jun 17, 2019
2 parents 4e87991 + 5db6215 commit ebbfe8a
Show file tree
Hide file tree
Showing 17 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions nexus/lib/pwscf_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ def incorporate_system(self,system,elem_order=None):
if not 'cell_parameters' in self:
self.cell_parameters = self.element_types['cell_parameters']()
#end if
self.cell_parameters.specifier = 'cubic'
self.cell_parameters.specifier = 'alat'
self.cell_parameters.vectors = s.axes.copy()

self.k_points.clear()
Expand Down Expand Up @@ -1627,7 +1627,7 @@ def incorporate_system_old(self,system,spin_polarized=None):
if not 'cell_parameters' in self:
self.cell_parameters = self.element_types['cell_parameters']()
#end if
self.cell_parameters.specifier = 'cubic'
self.cell_parameters.specifier = 'alat'
self.cell_parameters.vectors = s.axes.copy()

self.k_points.clear()
Expand Down
2 changes: 1 addition & 1 deletion nexus/tests/pwscf_input/sample_inputs/VO2_M1_afm.in
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
6 6 6 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
10.86970472 0.00000000 0.00000000
-0.00000000 8.57519925 0.00000000
-5.48695844 0.00000000 8.56456075
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
1 1 1 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
8.11160178 0.00000000 0.00000000
0.00000000 8.11160178 0.00000000
0.00000000 0.00000000 8.11160178
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
1 1 1 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
3.55000000 3.55000000 0.00000000
-0.00000000 3.55000000 3.55000000
3.55000000 0.00000000 3.55000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
7 7 7 1 1 1

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
3.55000000 3.55000000 0.00000000
-0.00000000 3.55000000 3.55000000
3.55000000 0.00000000 3.55000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
1 1 1 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
12.42462807 0.00000000 0.00000000
0.00000000 12.42462807 0.00000000
0.00000000 0.00000000 12.42462807
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ K_POINTS crystal
0.00000000 0.50000000 0.50000000 0.12500000
0.50000000 0.50000000 0.50000000 0.12500000

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
3.37316115 3.37316115 0.00000000
0.00000000 3.37316115 3.37316115
3.37316115 0.00000000 3.37316115
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
2 2 2 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
6.74632229 6.74632229 0.00000000
-0.00000000 6.74632229 6.74632229
6.74632229 0.00000000 6.74632229
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
2 2 2 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
6.74632229 6.74632229 0.00000000
0.00000000 6.74632229 6.74632229
6.74632229 0.00000000 6.74632229
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ K_POINTS crystal
0.25000000 0.75000000 0.50000000 0.25000000
0.75000000 0.75000000 0.50000000 0.25000000

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
4.65250574 0.00000000 0.00000000
-2.32625287 4.02918816 0.00000000
-0.00000000 0.00000000 18.89726133
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
1 1 1 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
4.65250574 0.00000000 0.00000000
-2.32625287 4.02918816 0.00000000
0.00000000 -0.00000000 18.89726133
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
8 8 8 1 1 1

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
4.65250574 0.00000000 0.00000000
-2.32625287 4.02918816 0.00000000
0.00000000 0.00000000 18.89726133
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
1 1 1 0 0 0

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
28.34589199 0.00000000 0.00000000
0.00000000 28.34589199 0.00000000
0.00000000 0.00000000 28.34589199
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
1 1 1 1 1 1

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
10.69584991 10.69584991 0.00000000
0.00000000 10.69584991 10.69584991
10.69584991 0.00000000 10.69584991
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
2 2 2 1 1 1

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
10.69584991 10.69584991 0.00000000
0.00000000 10.69584991 10.69584991
10.69584991 0.00000000 10.69584991
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
4 4 4 1 1 1

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
10.69584991 10.69584991 0.00000000
0.00000000 10.69584991 10.69584991
10.69584991 0.00000000 10.69584991
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ATOMIC_POSITIONS alat
K_POINTS automatic
6 6 6 1 1 1

CELL_PARAMETERS cubic
CELL_PARAMETERS alat
10.69584991 10.69584991 0.00000000
0.00000000 10.69584991 10.69584991
10.69584991 0.00000000 10.69584991
Expand Down

0 comments on commit ebbfe8a

Please sign in to comment.