The Elk Code
writemix.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 writemix(nwork,work)
7 use modmain
8 implicit none
9 ! arguments
10 integer, intent(in) :: nwork
11 real(8), intent(in) :: work(nwork)
12 open(80,file='MIXWORK'//trim(filext),form='UNFORMATTED',action='WRITE')
13 write(80) iscl
14 write(80) nwork
15 write(80) work
16 close(80)
17 end subroutine
18 
subroutine writemix(nwork, work)
Definition: writemix.f90:7
character(256) filext
Definition: modmain.f90:1301
integer iscl
Definition: modmain.f90:1051