source: trunk/SOURCES/Greenmint40_files/massb_perturb_Tparam_green.f90 @ 175

Last change on this file since 175 was 4, checked in by dumas, 10 years ago

initial import GRISLI trunk

File size: 1.4 KB
Line 
1!> \file massb_perturb_Tparam_green.f90
2!! Calcule le mass balance en mode perturbation
3!! avec la temperature parametree
4!<
5
6!> SUBROUTINE: massb_perturb_Tparam
7!! \author ...
8!! \date ...
9!! @ note Calcule le mass balance en mode perturbation
10!! @note  Avec la temperature parametree greenmint
11!! @note  Version Groenland (greenmint)
12!! @note Used modules:
13!! @note    - use lect_clim_act_greenmint
14!! @note    - use climat_perturb_mod
15!<
16
17subroutine massb_perturb_Tparam               ! calcule le mass balance en mode perturbation
18                                              ! avec la temperature parametree greenmint   
19                                              ! version Groenland (greenmint)     
20use lect_clim_act_greenmint
21use climat_perturb_mod
22
23implicit none
24
25!     surface temperature
26call Tsgreen                                  ! dans lect_clim_act_greenmint
27Tann(:,:)=Tann(:,:)+Tafor
28Tjuly(:,:)=Tjuly(:,:)+Tafor
29
30do j=1,ny
31   do i=1,nx
32
33      if(retroac.eq.1) then           ! full retroaction acc.
34         acc(i,j)=precip(i,j)*exp(rappact*(tann(i,j)-ta0(i,j)))
35         
36      else if(retroac.eq.0) then
37         acc(i,j)=precip(i,j)
38         
39      endif
40   end do
41end do
42
43!     ablation et bilan de masse sont maintenant appeles par forclim
44
45     
46debug_3D(:,:,29)=Tann(:,:)-Ta0(:,:)
47debug_3D(:,:,30)=Acc(:,:)-precip(:,:)
48debug_3D(:,:,31)=Acc(:,:)-bmelt(:,:)
49
50     
51
52return
53end subroutine massb_perturb_Tparam
54
Note: See TracBrowser for help on using the repository browser.