read input from stdin
This commit is contained in:
parent
b03880aa48
commit
df1b7fb30a
1 changed files with 3 additions and 3 deletions
|
|
@ -253,10 +253,10 @@
|
|||
|
||||
SUBROUTINE READ_INTRO
|
||||
CHARACTER(LEN=8) :: cdum
|
||||
INTEGER :: itape=300,otape=301,ierr
|
||||
INTEGER :: itape=5,otape=301,ierr
|
||||
|
||||
|
||||
OPEN(itape,FILE='itape')
|
||||
! OPEN(itape,FILE='itape')
|
||||
OPEN(otape,FILE='otape')
|
||||
READ(itape,*) cdum,nx
|
||||
WRITE(otape,*) cdum,nx
|
||||
|
|
@ -301,7 +301,7 @@
|
|||
READ(itape,*) cdum,cstar
|
||||
WRITE(otape,*) cdum,cstar
|
||||
|
||||
CLOSE(itape)
|
||||
! CLOSE(itape)
|
||||
|
||||
! hx=l_0*pi/REAL(nx)
|
||||
hx=l_0*pi/REAL(nx-1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue