Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
west-public
West
Commits
fe3cc00d
Commit
fe3cc00d
authored
Apr 30, 2017
by
Marco Govoni
Browse files
Changed pint_file.
parent
851eb0e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wstat/davidson_diago.f90
View file @
fe3cc00d
...
...
@@ -1075,7 +1075,7 @@ SUBROUTINE output_a_report(iteration)
TYPE
(
json_file
)
::
json
INTEGER
,
INTENT
(
IN
)
::
iteration
CHARACTER
(
LEN
=
9
)
::
pref
INTEGER
::
ip
INTEGER
::
ip
,
ierr
REAL
(
DP
)
::
out_tab
(
n_pdep_eigen
,
3
)
!
DO
ip
=
1
,
n_pdep_eigen
...
...
@@ -1099,7 +1099,9 @@ SUBROUTINE output_a_report(iteration)
CALL
json
%
add
(
'output.eigenvalue'
,
45.d0
)
CALL
json
%
add
(
'output.conv'
,
30.d0
)
!
CALL
json
%
print_file
(
'o-wstat.'
//
TRIM
(
ADJUSTL
(
pref
))//
'.json'
)
OPEN
(
UNIT
=
4000
,
FILE
=
"o-wstat."
//
TRIM
(
ADJUSTL
(
pref
))//
".tab"
,
IOSTAT
=
ierr
)
CALL
json
%
print_file
(
4000
)
CLOSE
(
4000
,
IOSTAT
=
ierr
)
!
CALL
json
%
destroy
()
!
...
...
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