Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jukkr
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kkr
jukkr
Commits
c3939373
Commit
c3939373
authored
3 years ago
by
Philipp Rüssmann
Browse files
Options
Downloads
Patches
Plain Diff
Activate potential writeout with '<write_BdG_tests>= T' input
parent
17f870a4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/KKRhost/rhovalnew.F90
+2
-2
2 additions, 2 deletions
source/KKRhost/rhovalnew.F90
source/KKRhost/tmat_newsolver.F90
+9
-12
9 additions, 12 deletions
source/KKRhost/tmat_newsolver.F90
with
11 additions
and
14 deletions
source/KKRhost/rhovalnew.F90
+
2
−
2
View file @
c3939373
...
@@ -602,8 +602,8 @@ contains
...
@@ -602,8 +602,8 @@ contains
alphall
=
czero
alphall
=
czero
! faster calculation of RLLLEFT and SLLLEFT.
! faster calculation of RLLLEFT and SLLLEFT.
if
(
.not.
set_cheby_nospeedup
.and.
.not.
(
calc_exchange_couplings
.or.
write_pkkr_operators
))
then
if
(
.not.
set_cheby_nospeedup
.and.
.not.
(
calc_exchange_couplings
.or.
write_pkkr_operators
))
then
call
rll_global_solutions
(
rpan_intervall
,
rnew
,
vnspll
(:,:,:,
ith
),
ullleft
(:,:,:,
ith
),
rllleft
(:,:,:,
ith
),
tmattemp
,
ncheb
,
npan_tot
,
lmmaxd
,
nvec
*
lmmaxd
,
nsra
*
(
1
+
korbit
)
*
(
lmax
+1
),
irmdnew
,
nsra
,
&
call
rll_global_solutions
(
rpan_intervall
,
rnew
,
vnspll
(:,:,:,
ith
),
ullleft
(:,:,:,
ith
),
rllleft
(:,:,:,
ith
),
tmattemp
,
ncheb
,
npan_tot
,
lmmaxd
,
nvec
*
lmmaxd
,
nsra
*
(
1
+
korbit
)
*
(
lmax
+1
),
irmdnew
,
nsra
,
&
jlk_index
,
hlk2
(:,:,
ith
),
jlk2
(:,:,
ith
),
hlk
(:,:,
ith
),
jlk
(:,:,
ith
),
gmatprefactor
,
'1'
,
use_sratrick
,
alphall
)
jlk_index
,
hlk2
(:,:,
ith
),
jlk2
(:,:,
ith
),
hlk
(:,:,
ith
),
jlk
(:,:,
ith
),
gmatprefactor
,
'1'
,
use_sratrick
,
alphall
)
call
sll_global_solutions
(
rpan_intervall
,
rnew
,
vnspll
(:,:,:,
ith
),
sllleft
(:,:,:,
ith
),
ncheb
,
npan_tot
,
lmmaxd
,
nvec
*
lmmaxd
,
nsra
*
(
1
+
korbit
)
*
(
lmax
+1
),
irmdnew
,
nsra
,
jlk_index
,
&
call
sll_global_solutions
(
rpan_intervall
,
rnew
,
vnspll
(:,:,:,
ith
),
sllleft
(:,:,:,
ith
),
ncheb
,
npan_tot
,
lmmaxd
,
nvec
*
lmmaxd
,
nsra
*
(
1
+
korbit
)
*
(
lmax
+1
),
irmdnew
,
nsra
,
jlk_index
,
&
hlk2
(:,:,
ith
),
jlk2
(:,:,
ith
),
hlk
(:,:,
ith
),
jlk
(:,:,
ith
),
gmatprefactor
,
'1'
,
use_sratrick
)
hlk2
(:,:,
ith
),
jlk2
(:,:,
ith
),
hlk
(:,:,
ith
),
jlk
(:,:,
ith
),
gmatprefactor
,
'1'
,
use_sratrick
)
else
else
...
...
This diff is collapsed.
Click to expand it.
source/KKRhost/tmat_newsolver.F90
+
9
−
12
View file @
c3939373
...
@@ -214,15 +214,14 @@ contains
...
@@ -214,15 +214,14 @@ contains
! set up the non-spherical ll' matrix for potential VLL' (done in VLLMAT)
! set up the non-spherical ll' matrix for potential VLL' (done in VLLMAT)
call
vllmat
(
1
,
nrmaxd
,
irmdnew
,
lmmax0d
,
lmmaxd
,
vnspll0
,
vins
,
lmpot
,
cleb
,
icleb
,
iend
,
nspin
/(
nspin
-
korbit
),
zat
,
rnew
,
use_sratrick
,
ncleb
)
call
vllmat
(
1
,
nrmaxd
,
irmdnew
,
lmmax0d
,
lmmaxd
,
vnspll0
,
vins
,
lmpot
,
cleb
,
icleb
,
iend
,
nspin
/(
nspin
-
korbit
),
zat
,
rnew
,
use_sratrick
,
ncleb
)
#ifdef CPP_BdG
! test writeout of VNSPLL1
! test writeout of VNSPLL1
if
(
write_BdG_tests
)
then
if
(
write_BdG_tests
)
then
open
(
7352834
,
file
=
'vnspll.txt'
,
form
=
'formatted'
)
write
(
filename
,
'(A,I0.3,A)'
)
'vnspll_'
,
i1
,
'.txt'
open
(
7352834
,
file
=
trim
(
filename
),
form
=
'formatted'
)
write
(
7352834
,
'(A,3I9)'
)
'# lmmaxd,lmmaxd,IRMDNEW='
,
lmmaxd
,
lmmaxd
,
irmdnew
write
(
7352834
,
'(A,3I9)'
)
'# lmmaxd,lmmaxd,IRMDNEW='
,
lmmaxd
,
lmmaxd
,
irmdnew
write
(
7352834
,
'(2ES25.
16
)'
)
vnspll0
(:,
:,
:)
write
(
7352834
,
'(2ES25.
9
)'
)
vnspll0
(:,
:,
:)
close
(
7352834
)
close
(
7352834
)
end
if
end
if
#endif
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! LDAU
! LDAU
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
...
@@ -356,15 +355,14 @@ contains
...
@@ -356,15 +355,14 @@ contains
#ifdef CPP_OMP
#ifdef CPP_OMP
!$omp critical
!$omp critical
#endif
#endif
#ifdef CPP_BdG
! test writeout of VNSPLL1
! test writeout of VNSPLL1
if
(
write_BdG_tests
)
then
if
(
write_BdG_tests
)
then
open
(
7352834
,
file
=
'vnspll_SOC.txt'
,
form
=
'formatted'
)
write
(
filename
,
'(A,I0.3,A,I0.3,A)'
)
'vnspll_SOC_'
,
i1
,
'_energ_'
,
ie
,
'.txt'
open
(
7352834
,
file
=
trim
(
filename
),
form
=
'formatted'
)
write
(
7352834
,
'(A,3I9)'
)
'# lmmaxd,lmmaxd,IRMDNEW='
,
lmmaxd
,
lmmaxd
,
irmdnew
write
(
7352834
,
'(A,3I9)'
)
'# lmmaxd,lmmaxd,IRMDNEW='
,
lmmaxd
,
lmmaxd
,
irmdnew
write
(
7352834
,
'(2ES25.
16
)'
)
vnspll1
(:,
:,
:,
ith
)
write
(
7352834
,
'(2ES25.
9
)'
)
vnspll1
(:,
:,
:,
ith
)
close
(
7352834
)
close
(
7352834
)
end
if
end
if
#endif
#ifdef CPP_OMP
#ifdef CPP_OMP
!$omp end critical
!$omp end critical
#endif
#endif
...
@@ -387,19 +385,18 @@ contains
...
@@ -387,19 +385,18 @@ contains
#ifdef CPP_OMP
#ifdef CPP_OMP
!$omp critical
!$omp critical
#endif
#endif
#ifdef CPP_BdG
! test writeout of VNPSLL
! test writeout of VNPSLL
if
(
write_BdG_tests
)
then
if
(
write_BdG_tests
)
then
open
(
7352834
,
file
=
'vnspll_sra.txt'
,
form
=
'formatted'
)
write
(
filename
,
'(A,I0.3,A,I0.3,A)'
)
'vnspll_sra_'
,
i1
,
'_energ_'
,
ie
,
'.txt'
open
(
7352834
,
file
=
trim
(
filename
),
form
=
'formatted'
)
if
(
nsra
==
2
)
then
if
(
nsra
==
2
)
then
write
(
7352834
,
'(A,3I9)'
)
'# 2*lmmaxd,2*lmmaxd,IRMDNEW='
,
2
*
lmmaxd
,
2
*
lmmaxd
,
irmdnew
write
(
7352834
,
'(A,3I9)'
)
'# 2*lmmaxd,2*lmmaxd,IRMDNEW='
,
2
*
lmmaxd
,
2
*
lmmaxd
,
irmdnew
else
else
write
(
7352834
,
'(A,3I9)'
)
'# lmmaxd,lmmaxd,IRMDNEW='
,
lmmaxd
,
lmmaxd
,
irmdnew
write
(
7352834
,
'(A,3I9)'
)
'# lmmaxd,lmmaxd,IRMDNEW='
,
lmmaxd
,
lmmaxd
,
irmdnew
end
if
end
if
write
(
7352834
,
'(2ES25.
16
)'
)
vnspll
(:,
:,
:,
ith
)
write
(
7352834
,
'(2ES25.
9
)'
)
vnspll
(:,
:,
:,
ith
)
close
(
7352834
)
close
(
7352834
)
end
if
end
if
#endif
#ifdef CPP_OMP
#ifdef CPP_OMP
!$omp end critical
!$omp end critical
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
Philipp Rüssmann
@ruess
mentioned in commit
cbb5645d
·
2 years ago
mentioned in commit
cbb5645d
mentioned in commit cbb5645d48afdad6e29c449ffb1dc770c3ecb55f
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment