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
51
Issues
51
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
9069498f
Commit
9069498f
authored
Nov 12, 2019
by
Robin Hilgers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fully Fully converges using LDA functional 'bh'.
parent
ff3cfdfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
vgen/rotate_mt_den_tofrom_local.f90
vgen/rotate_mt_den_tofrom_local.f90
+4
-3
vgen/vgen_finalize.F90
vgen/vgen_finalize.F90
+8
-1
No files found.
vgen/rotate_mt_den_tofrom_local.f90
View file @
9069498f
...
...
@@ -110,6 +110,10 @@ CONTAINS
CALL
init_mt_grid
(
4
,
atoms
,
sphhar
,
xcpot
%
needs_grad
(),
sym
)
DO
n
=
1
,
atoms
%
ntype
DO
i
=
1
,
atoms
%
jri
(
n
)
vtot
%
mt
(
i
,:,
n
,:)
=
vtot
%
mt
(
i
,:,
n
,:)
*
atoms
%
rmsh
(
i
,
n
)
**
2
ENDDO
CALL
mt_to_grid
(
xcpot
%
needs_grad
(),
4
,
atoms
,
sphhar
,
vtot
%
mt
(:,
0
:,
n
,:),
n
,
grad
,
ch
)
DO
imesh
=
1
,
nsp
*
atoms
%
jri
(
n
)
vup
=
ch
(
imesh
,
1
)
...
...
@@ -128,9 +132,6 @@ CONTAINS
CALL
mt_from_grid
(
atoms
,
sphhar
,
n
,
4
,
ch
,
vtot
%
mt
(:,
0
:,
n
,:))
DO
i
=
1
,
atoms
%
jri
(
n
)
vtot
%
mt
(
i
,:,
n
,:)
=
vtot
%
mt
(
i
,:,
n
,:)
*
atoms
%
rmsh
(
i
,
n
)
**
2
ENDDO
END
DO
CALL
finish_mt_grid
()
END
SUBROUTINE
rotate_mt_den_from_local
...
...
vgen/vgen_finalize.F90
View file @
9069498f
...
...
@@ -42,7 +42,14 @@ CONTAINS
END
DO
ELSEIF
(
noco
%
l_noco
)
THEN
CALL
vmatgen
(
stars
,
atoms
,
vacuum
,
sym
,
input
,
denRot
,
vTot
)
IF
(
noco
%
l_mtnocoPot
)
CALL
rotate_mt_den_from_local
(
atoms
,
sphhar
,
sym
,
denRot
,
vtot
)
IF
(
noco
%
l_mtnocoPot
)
THEN
!Included for testing
!denRot%phi_mt=0.0
!denRot%theta_mt=0.0
!denRot%theta_pw=0.0
!denRot%phi_pw=0.0
CALL
rotate_mt_den_from_local
(
atoms
,
sphhar
,
sym
,
denRot
,
vtot
)
END
IF
ENDIF
! ---> store v(l=0) component as r*v(l=0)/sqrt(4pi)
...
...
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