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
4e312069
Commit
4e312069
authored
Jun 25, 2018
by
Gregor Michalicek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix program logic for the multiplication of exc by 0.75 in the context of the pbe0 functional
parent
042b52cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
vgen/vgen_xcpot.F90
vgen/vgen_xcpot.F90
+3
-0
xc-pot/excepbe.f
xc-pot/excepbe.f
+1
-8
No files found.
vgen/vgen_xcpot.F90
View file @
4e312069
...
@@ -166,6 +166,9 @@ CONTAINS
...
@@ -166,6 +166,9 @@ CONTAINS
veff
%
pw
=
vTot
%
pw
-
xcpot
%
get_exchange_weight
()
*
vXC
%
pw
veff
%
pw
=
vTot
%
pw
-
xcpot
%
get_exchange_weight
()
*
vXC
%
pw
veff
%
pw_w
=
vTot
%
pw_w
-
xcpot
%
get_exchange_weight
()
*
vXC
%
pw_w
veff
%
pw_w
=
vTot
%
pw_w
-
xcpot
%
get_exchange_weight
()
*
vXC
%
pw_w
veff
%
mt
=
vTot
%
mt
-
xcpot
%
get_exchange_weight
()
*
vXC
%
mt
veff
%
mt
=
vTot
%
mt
-
xcpot
%
get_exchange_weight
()
*
vXC
%
mt
exc
%
pw
=
exc
%
pw
-
xcpot
%
get_exchange_weight
()
*
exc
%
pw
exc
%
pw_w
=
exc
%
pw_w
-
xcpot
%
get_exchange_weight
()
*
exc
%
pw_w
exc
%
mt
=
exc
%
mt
-
xcpot
%
get_exchange_weight
()
*
exc
%
mt
END
IF
END
IF
results
%
te_veff
=
0.0
results
%
te_veff
=
0.0
...
...
xc-pot/excepbe.f
View file @
4e312069
...
@@ -95,14 +95,7 @@ c.....
...
@@ -95,14 +95,7 @@ c.....
ENDIF
! ro > smlc
ENDIF
! ro > smlc
xced
=
(
xedl
+
cedl
+
xedg
+
cedg
)
IF
(
xcpot
%
is_pbe0
)
THEN
!pbe0: weight exchange energy with factor 0.75
xced
=
(
0.75
*
xedl
+
cedl
+0.75
*
xedg
+
cedg
)
ELSE
xced
=
(
xedl
+
cedl
+
xedg
+
cedg
)
END
IF
exc
(
i
)
=
xced
*
2
! in ry
exc
(
i
)
=
xced
*
2
! in ry
...
...
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