Skip to content

Commit

Permalink
idiotic cut and paste error which copied the wrong unit number for op…
Browse files Browse the repository at this point in the history
…en namelist call
  • Loading branch information
nancycollins committed Sep 24, 2004
1 parent 79f00bb commit 1ecef23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions src/demo/coupled_flow/src/FlowSolverMod.F90
@@ -1,4 +1,4 @@
! $Id: FlowSolverMod.F90,v 1.21 2004/09/23 17:02:59 nscollins Exp $
! $Id: FlowSolverMod.F90,v 1.22 2004/09/24 15:21:16 nscollins Exp $
!-------------------------------------------------------------------------
!-------------------------------------------------------------------------

Expand Down Expand Up @@ -244,12 +244,11 @@ subroutine Flow_Init1(gcomp, import_state, export_state, clock, rc)
!
! Read in input file
!
open(9, status="old", file="coupled_flow_input",action="read",iostat=rc)
open(10, status="old", file="coupled_flow_input",action="read",iostat=rc)
if (rc .ne. 0) then
print *, "Error! Failed to open namelist file 'coupled_app_input' "
print *, "Error! Failed to open namelist file 'coupled_flow_input' "
stop
endif

read(10, input, end=20)
20 continue
!
Expand Down
6 changes: 3 additions & 3 deletions src/demo/coupled_flow/src/InjectorMod.F90
@@ -1,4 +1,4 @@
! $Id: InjectorMod.F90,v 1.14 2004/09/23 17:02:59 nscollins Exp $
! $Id: InjectorMod.F90,v 1.15 2004/09/24 15:21:15 nscollins Exp $
!
!-------------------------------------------------------------------------
!BOP
Expand Down Expand Up @@ -202,9 +202,9 @@ subroutine injector_init1(gcomp, importState, exportState, clock, rc)
!
! Read in input file
!
open(9, status="old", file="coupled_inject_input",action="read",iostat=rc)
open(10, status="old", file="coupled_inject_input",action="read",iostat=rc)
if (rc .ne. 0) then
print *, "Error! Failed to open namelist file 'coupled_app_input' "
print *, "Error! Failed to open namelist file 'coupled_inject_input' "
stop
endif
read(10, input, end=20)
Expand Down

0 comments on commit 1ecef23

Please sign in to comment.