Opened 18 years ago
Closed 18 years ago
#25 closed bug (Fixed)
Declaration problem in cgradient.h
Reported by: | m.hadfield | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Release ROMS/TOMS 3.1 |
Component: | Nonlinear | Version: | 3.1 |
Keywords: | Cc: |
Description
In file cgradient.h, subroutine read_state.F, the explicit-shape version of the declaration for argument s_t is
real(r8), intent(inout) :: s_t(LBi:UBi,LBj:UBj,N(ng),NT(ng))
This has only 4 dimensions, whereas the corresponding assumed-shape declaration has 5:
real(r8), intent(inout) :: s_t(LBi:,LBj:,:,:,:)
I think the correct explicit-shape declaration is
real(r8), intent(inout) :: s_t(LBi:UBi,LBj:UBj,N(ng),2,NT(ng))
Corrected file attached.
Attachments (1)
Change History (2)
by , 18 years ago
Attachment: | cgradient.h added |
---|
comment:1 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This array needs to be declared as:
real(r8), intent(inout) :: s_t(LBi:UBi,LBj:UBj,N(ng),3,NT(ng))