Merge lp:~nickpapior/siesta/4.1-nl-fix into lp:~albertog/siesta/4.1-nl

Proposed by Nick Papior
Status: Merged
Approved by: Alberto Garcia
Approved revision: 589
Merged at revision: 590
Proposed branch: lp:~nickpapior/siesta/4.1-nl-fix
Merge into: lp:~albertog/siesta/4.1-nl
Diff against target: 48 lines (+8/-6)
3 files modified
Src/atomlist.f (+3/-3)
Src/hsparse.F (+4/-2)
version.info (+1/-1)
To merge this branch: bzr merge lp:~nickpapior/siesta/4.1-nl-fix
Reviewer Review Type Date Requested Status
Alberto Garcia Approve
Review via email: mp+309994@code.launchpad.net

Description of the change

Fixed variable allocation and initialization of the new array holding KB projector information on the local node.

To post a comment you must log in.
Revision history for this message
Alberto Garcia (albertog) wrote :

OK

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Src/atomlist.f'
--- Src/atomlist.f 2016-10-10 15:22:12 +0000
+++ Src/atomlist.f 2016-11-03 18:59:47 +0000
@@ -106,7 +106,7 @@
106 call re_alloc( qa, 1, na_u, 'qa', 'atomlist' )106 call re_alloc( qa, 1, na_u, 'qa', 'atomlist' )
107 call re_alloc(xa_last,1,3,1,na_u,'xa_last','atomlist')107 call re_alloc(xa_last,1,3,1,na_u,'xa_last','atomlist')
108 call re_alloc( amass, 1, na_u, 'amass', 'atomlist' )108 call re_alloc( amass, 1, na_u, 'amass', 'atomlist' )
109 call re_alloc( in_kb_orb_u_range, 1, na_u, 'amass', 'atomlist' )109 call re_alloc( in_kb_orb_u_range, 1, na_u, 'in_kb', 'atomlist' )
110!110!
111! Find number of orbitals and KB projectors in cell111! Find number of orbitals and KB projectors in cell
112!112!
@@ -239,8 +239,8 @@
239 call re_alloc( iza, 1, na, 'iza', 'atomlist', .true. )239 call re_alloc( iza, 1, na, 'iza', 'atomlist', .true. )
240 call re_alloc( lastkb, 0, na, 'lastkb', 'atomlist', .true. )240 call re_alloc( lastkb, 0, na, 'lastkb', 'atomlist', .true. )
241 call re_alloc( lasto, 0, na, 'lasto', 'atomlist', .true. )241 call re_alloc( lasto, 0, na, 'lasto', 'atomlist', .true. )
242 call re_alloc( in_kb_orb_u_range, 0, na,242 call re_alloc( in_kb_orb_u_range, 1, na,
243 $ 'lasto', 'atomlist', .true. )243 $ 'in_kb', 'atomlist', .true. )
244 call re_alloc( qa, 1, na, 'qa', 'atomlist', .true. )244 call re_alloc( qa, 1, na, 'qa', 'atomlist', .true. )
245 call re_alloc( xa, 1, 3, 1, na, 'xa', 'atomlist', .true. )245 call re_alloc( xa, 1, 3, 1, na, 'xa', 'atomlist', .true. )
246 call re_alloc(xa_last, 1,3, 1,na, 'xa_last', 'superc',246 call re_alloc(xa_last, 1,3, 1,na, 'xa_last', 'superc',
247247
=== modified file 'Src/hsparse.F'
--- Src/hsparse.F 2016-10-10 15:22:12 +0000
+++ Src/hsparse.F 2016-11-03 18:59:47 +0000
@@ -211,9 +211,11 @@
211 do io = 1,no211 do io = 1,no
212 conect(io) = .false.212 conect(io) = .false.
213 listhtmp(io) = 0213 listhtmp(io) = 0
214 in_kb_orb_u_range(ka) = .false.
215 enddo214 enddo
216215 do ia = 1 , na
216 in_kb_orb_u_range(ia) = .false.
217 end do
218
217 folding = .false.219 folding = .false.
218220
219C------------------------------------C221C------------------------------------C
220222
=== modified file 'version.info'
--- version.info 2016-10-10 15:22:12 +0000
+++ version.info 2016-11-03 18:59:47 +0000
@@ -1,2 +1,2 @@
1siesta-4.1--587--nl-11siesta-4.1--587--nl-1--nrp-1
22

Subscribers

People subscribed via source and target branches

to all changes: