Skip to content

Commit

Permalink
update external_ic.F90 and fv_nudge.F90 (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
binli2337 authored and laurenchilutti committed Jan 14, 2022
1 parent 63a4603 commit 81b9be0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/external_ic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3945,6 +3945,8 @@ subroutine pmaxmin( qname, a, im, jm, fac )
enddo

write(*,*) qname, ' max = ', pmax*fac, ' min = ', pmin*fac
class default
call mpp_error(FATAL,'==> Error in external_ic: unsupported types in pmaxmin')
end select

type is (real(kind=r8_kind))
Expand All @@ -3971,7 +3973,11 @@ subroutine pmaxmin( qname, a, im, jm, fac )
enddo

write(*,*) qname, ' max = ', pmax8*fac, ' min = ', pmin8*fac
class default
call mpp_error(FATAL,'==> Error in external_ic: unsupported types in pmaxmin')
end select
class default
call mpp_error(FATAL,'==> Error in external_ic: unsupported types in pmaxmin')
end select

end subroutine pmaxmin
Expand Down
6 changes: 6 additions & 0 deletions tools/fv_nudge.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3434,6 +3434,8 @@ subroutine pmaxmin( qname, a, imax, jmax, fac )
enddo

write(*,*) qname, ' max = ', pmax*fac, ' min = ', pmin*fac
class default
call mpp_error(FATAL,'==> Error in fv_nudge: unsupported types in pmaxmin')
end select

type is (real(kind=r8_kind))
Expand All @@ -3460,7 +3462,11 @@ subroutine pmaxmin( qname, a, imax, jmax, fac )
enddo

write(*,*) qname, ' max = ', pmax8*fac, ' min = ', pmin8*fac
class default
call mpp_error(FATAL,'==> Error in fv_nudge: unsupported types in pmaxmin')
end select
class default
call mpp_error(FATAL,'==> Error in fv_nudge: unsupported types in pmaxmin')
end select

end subroutine pmaxmin
Expand Down

0 comments on commit 81b9be0

Please sign in to comment.