/[lmdze]/trunk/dyn3d/abort_gcm.f
ViewVC logotype

Annotation of /trunk/dyn3d/abort_gcm.f

Parent Directory Parent Directory | Revision Log Revision Log


Revision 171 - (hide annotations)
Tue Sep 29 19:48:59 2015 UTC (8 years, 8 months ago) by guez
Original Path: trunk/Sources/dyn3d/abort_gcm.f
File size: 623 byte(s)
Removed argument ierr of abort_gcm. It was always 1 and not used.

Just encapsulated pres2lev into a module.

Removed test on run_off in procedure calcul_fluxs. Useless. The test
is always done just before in interfsurf_hq.

Removed named constants rea and repsm in module suphec: never used.

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

  ViewVC Help
Powered by ViewVC 1.1.21