The Elk Code
readmix.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2025 Eddie Harris-Lee, J. K. Dewhurst and S. Sharma.
3
! This file is distributed under the terms of the GNU General Public License.
4
! See the file COPYING for license details.
5
6
subroutine
readmix
(trs,iscl0,nwork,work)
7
use
modmain
8
implicit none
9
! arguments
10
logical
,
intent(out)
:: trs
11
integer
,
intent(out)
:: iscl0
12
integer
,
intent(in)
:: nwork
13
real(8)
,
intent(out)
:: work(nwork)
14
! local variables
15
integer
ios,nwork_
16
trs=.false.
17
open
(80,file=
'MIXWORK'
//trim(
filext
),form=
'UNFORMATTED'
,action=
'READ'
, &
18
status=
'OLD'
,err=10)
19
read
(80,err=10) iscl0
20
read
(80,err=10) nwork_
21
if
(nwork /= nwork_)
goto
10
22
read
(80,err=10) work
23
trs=.true.
24
10
continue
25
close
(80,iostat=ios)
26
end subroutine
27
modmain::filext
character(256) filext
Definition:
modmain.f90:1295
readmix
subroutine readmix(trs, iscl0, nwork, work)
Definition:
readmix.f90:7
modmain
Definition:
modmain.f90:6
readmix.f90
Generated by
1.8.14