Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
52
Issues
52
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fleur
fleur
Commits
fc844bf3
Commit
fc844bf3
authored
Aug 20, 2018
by
Gregor Michalicek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong size of zmat in hybrid/hf_setup.F90
parent
deccfe43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
hybrid/hf_setup.F90
hybrid/hf_setup.F90
+6
-2
No files found.
hybrid/hf_setup.F90
View file @
fc844bf3
...
@@ -46,6 +46,7 @@ SUBROUTINE hf_setup(hybrid,input,sym,kpts,DIMENSION,atoms,mpi,noco,cell,oneD,res
...
@@ -46,6 +46,7 @@ SUBROUTINE hf_setup(hybrid,input,sym,kpts,DIMENSION,atoms,mpi,noco,cell,oneD,res
! local scalars
! local scalars
INTEGER
::
ok
,
nk
,
nrec1
,
i
,
j
,
ll
,
l1
,
l2
,
ng
,
itype
,
n
,
l
,
n1
,
n2
,
nn
INTEGER
::
ok
,
nk
,
nrec1
,
i
,
j
,
ll
,
l1
,
l2
,
ng
,
itype
,
n
,
l
,
n1
,
n2
,
nn
INTEGER
::
nbasfcn
! local arrays
! local arrays
...
@@ -85,14 +86,17 @@ SUBROUTINE hf_setup(hybrid,input,sym,kpts,DIMENSION,atoms,mpi,noco,cell,oneD,res
...
@@ -85,14 +86,17 @@ SUBROUTINE hf_setup(hybrid,input,sym,kpts,DIMENSION,atoms,mpi,noco,cell,oneD,res
#endif
#endif
nrec1
=
kpts
%
nkpt
*
(
jsp
-1
)
+
nk
nrec1
=
kpts
%
nkpt
*
(
jsp
-1
)
+
nk
CALL
zMat
(
nk
)
%
init
(
l_real
,
dimension
%
nbasfcn
,
dimension
%
neigd2
)
CALL
lapw
%
init
(
input
,
noco
,
kpts
,
atoms
,
sym
,
nk
,
cell
,
sym
%
zrfs
)
nbasfcn
=
MERGE
(
lapw
%
nv
(
1
)
+
lapw
%
nv
(
2
)
+2
*
atoms
%
nlotot
,
lapw
%
nv
(
1
)
+
atoms
%
nlotot
,
noco
%
l_noco
)
CALL
zMat
(
nk
)
%
init
(
l_real
,
nbasfcn
,
dimension
%
neigd2
)
CALL
read_eig
(
eig_id_hf
,
nk
,
jsp
,
zmat
=
zMat
(
nk
))
CALL
read_eig
(
eig_id_hf
,
nk
,
jsp
,
zmat
=
zMat
(
nk
))
eig_irr
(:,
nk
)
=
results
%
eig
(:,
nk
,
jsp
)
eig_irr
(:,
nk
)
=
results
%
eig
(:,
nk
,
jsp
)
hybrid
%
ne_eig
(
nk
)
=
results
%
neig
(
nk
,
jsp
)
hybrid
%
ne_eig
(
nk
)
=
results
%
neig
(
nk
,
jsp
)
END
DO
END
DO
!Allocate further space
!Allocate further space
DO
nk
=
kpts
%
nkpt
+1
,
kpts
%
nkptf
DO
nk
=
kpts
%
nkpt
+1
,
kpts
%
nkptf
CALL
zMat
(
nk
)
%
init
(
l_real
,
dimension
%
nbasfcn
,
dimension
%
neigd2
)
nbasfcn
=
zMat
(
kpts
%
bkp
(
nk
))
%
matsize1
CALL
zMat
(
nk
)
%
init
(
l_real
,
nbasfcn
,
dimension
%
neigd2
)
END
DO
END
DO
!determine degenerate states at each k-point
!determine degenerate states at each k-point
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment