/[lmdze]/trunk/libf/dyn3d/abort_gcm.f90
ViewVC logotype

Contents of /trunk/libf/dyn3d/abort_gcm.f90

Parent Directory Parent Directory | Revision Log Revision Log


Revision 33 - (show annotations)
Fri Apr 9 10:56:14 2010 UTC (14 years, 1 month ago) by guez
File size: 701 byte(s)
Test namelist input in procedure "conf_gcm" rather than program unit
"gcm".

Compute "time" in procedure "sortvarc" rather than "leapfrog".

Rewrote "leapfrog" with a single loop on "itau" instead of two nested
loops on number of periodic matsuno-leapfrog cycles and leapfrog
iterations.

1 module abort_gcm_m
2
3 implicit none
4
5 contains
6
7 SUBROUTINE abort_gcm(modname, message, ierr)
8
9 ! From abort_gcm.F, version 1.1.1.1 2004/05/19 12:53:05
10 ! Stops the simulation, closing files and printing comments.
11
12 USE histcom, only: histclo
13
14 character(len=*), intent(in):: modname ! name of calling program
15 integer, intent(in):: ierr ! severity of situation (= 0 normal)
16 character(len=*), intent(in):: message ! to print
17
18 !-------------------
19
20 print *, 'abort_gcm'
21 call histclo
22 print *, 'Stopping in ', modname
23 print *, 'Reason: ', trim(message)
24 print *, 'Houston, we have a problem ', ierr
25 STOP 1
26
27 END SUBROUTINE abort_gcm
28
29 end module abort_gcm_m

  ViewVC Help
Powered by ViewVC 1.1.21