print_starwall_d_yy.f90 495 Bytes
Newer Older
Serhiy Mochalskyy's avatar
Serhiy Mochalskyy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
subroutine print_starwall_d_yy

use mpi_v
use resistive
!-----------------------------------------------------------------------
implicit none
include "mpif.h"

integer  :: i
!-----------------------------------------------------------------------

if(rank==0) then
   open(60,file='starwall_d_yy',form="formatted",iostat=ier)
        write(60,'(i8)') n_w
        do i=1,n_w
           write(60,'(i8,1pe16.8)') i,1./gamma(i)
        enddo
   close(60)
endif


end subroutine print_starwall_d_yy