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
6c1c606a
Commit
6c1c606a
authored
Apr 30, 2017
by
Marco Govoni
Browse files
Removed first attempt.
parent
56e26abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wstat/wstat_setup.f90
View file @
6c1c606a
...
...
@@ -50,36 +50,5 @@ SUBROUTINE wstat_setup
CALL
my_mkdir
(
wstat_dirname
)
!
n_pdep_basis
=
n_pdep_eigen
*
n_pdep_times
CALL
json_read2
()
!
END
SUBROUTINE
SUBROUTINE
json_read2
()
use
json_module
use
kinds
,
ONLY
:
DP
implicit
none
type
(
json_file
)
::
json
type
(
json_value
),
pointer
::
p
,
inp
logical
::
found
integer
::
i
,
j
,
k
REAL
(
DP
)
::
r
! initialize the class
call
json
%
initialize
()
! read the file
!call json%load_file(filename = './example2.json')
! add some data to inputs:
call
json
%
add
(
'inputs.r2'
,
45.d0
)
call
json
%
add
(
'outputs.r2'
,
45.d0
)
call
json
%
print_file
(
'./ex.json'
)
! clean up
call
json
%
destroy
()
END
SUBROUTINE
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