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
dfcc5669
Commit
dfcc5669
authored
3 years ago
by
Rudolf Zeller
Browse files
Options
Downloads
Patches
Plain Diff
Add output forsum of x,y,z moments in unit cell in noncollinear mode
parent
f50b35c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/KKRnano/source/ProcessKKRresults_mod.F90
+12
-0
12 additions, 0 deletions
source/KKRnano/source/ProcessKKRresults_mod.F90
with
12 additions
and
0 deletions
source/KKRnano/source/ProcessKKRresults_mod.F90
+
12
−
0
View file @
dfcc5669
...
...
@@ -1538,6 +1538,9 @@ module ProcessKKRresults_mod
double precision
moment_x
!NOCO
double precision
moment_y
!NOCO
double precision
moment_z
!NOCO
double precision
sum_moment_x
!NOCO
double precision
sum_moment_y
!NOCO
double precision
sum_moment_z
!NOCO
double precision
max_delta_theta
!NOCO
double precision
max_delta_phi
!NOCO
double precision
max_delta_angle
!NOCO
...
...
@@ -1578,6 +1581,9 @@ module ProcessKKRresults_mod
if
(
korbit
==
1
)
open
(
14
,
file
=
'nonco_moment_out.txt'
,
form
=
'formatted'
)
! NOCO
! moments output
sum_moment_x
=
0.0d0
sum_moment_y
=
0.0d0
sum_moment_z
=
0.0d0
do
i1
=
1
,
natoms
if
(
npol
==
0
)
then
read
(
71
,
rec
=
i1
)
qc
,
catom
,
charge
,
ecore
,
muorb
,
phi_noco
,
theta_noco
,
phi_noco_old
,
theta_noco_old
,
angle_fixed
,
&
...
...
@@ -1619,8 +1625,14 @@ module ProcessKKRresults_mod
theta_noco
/(
2.0D0
*
PI
)
*
360.0D0
,
&
phi_noco
/(
2.0D0
*
PI
)
*
360.0D0
,
&
angle_fixed
sum_moment_x
=
sum_moment_x
+
moment_x
sum_moment_y
=
sum_moment_y
+
moment_y
sum_moment_z
=
sum_moment_z
+
moment_z
endif
enddo
! i1
if
(
korbit
==
1
)
then
! NOCO
write
(
14
,
"(3f12.5)"
)
sum_moment_x
,
sum_moment_y
,
sum_moment_z
endif
if
(
korbit
==
1
)
close
(
13
)
if
(
korbit
==
1
)
close
(
14
)
...
...
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