Changeset 1356 for trunk/LMDZ.TITAN/libf/phytitan/newstart.F
- Timestamp:
- Oct 8, 2014, 9:26:28 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/newstart.F
r1056 r1356 22 22 USE infotrac 23 23 use cpdet_mod, only: ini_cpdet,t2tpot 24 use exner_hyb_m, only: exner_hyb 25 use exner_milieu_m, only: exner_milieu 24 26 25 27 implicit none … … 135 137 integer, dimension(4) :: start,counter 136 138 REAL phisinverse(iip1,jjp1) ! geopotentiel au sol avant inversion 137 logical topoflag,albedoflag 139 logical topoflag,albedoflag,razvitu,razvitv 138 140 real albedo 139 141 … … 969 971 c-------------------------------------------------------------- 970 972 973 !!! ATTENTION TEMPORAIRE 974 c ps(:,:)=146700. 975 971 976 ptotal = 0. 972 977 DO j=1,jjp1 … … 1004 1009 CALL pression(ip1jmp1, ap, bp, ps, p3d) 1005 1010 if (disvert_type==1) then 1006 CALL exner_hyb( ip1jmp1, ps, p3d, alpha,beta,pks, pk, pkf )1011 CALL exner_hyb( ip1jmp1, ps, p3d, pks, pk, pkf ) 1007 1012 else ! we assume that we are in the disvert_type==2 case 1008 CALL exner_milieu( ip1jmp1, ps, p3d, beta,pks, pk, pkf )1013 CALL exner_milieu( ip1jmp1, ps, p3d, pks, pk, pkf ) 1009 1014 endif 1010 1015 … … 1012 1017 1013 1018 c ATTENTION: peut servir, mais bon... 1014 c modif: profil uniforme1015 1019 c do l=1,lmold 1016 1020 c do j=1,jmold+1 1017 1021 c do i=1,imold+1 1022 c modif: profil uniforme 1018 1023 c told(i,j,l)=told(1,jmold/2,l) 1024 c mean T profile: 1025 c told(i,j,l) = 142.1*exp(-((p3d(i,j,l)/100.+21.45)/40.11)**2.) 1026 c . + 106.3*exp(-((p3d(i,j,l)/100.-3183.)/4737.)**2.) 1019 1027 c enddo 1020 1028 c enddo … … 1040 1048 c on assure la periodicite 1041 1049 teta(iip1,:,:) = teta(1,:,:) 1050 1051 ! RESETING U TO 0: may be done through run.def 1052 razvitu = . FALSE . 1053 CALL getin('razvitu',razvitu) 1054 razvitv = . FALSE . 1055 CALL getin('razvitv',razvitv) 1042 1056 1043 1057 c calcul des champ de vent; passage en vent covariant … … 1057 1071 & rlonuold,rlatvold,rlonu,rlatv) 1058 1072 call scal_wind(us,vs,unat,vnat) 1073 ! Reseting u=0 1074 if (razvitu) then 1075 unat(:,:,:) = 0. 1076 endif 1059 1077 write (*,*) 'unat ', unat (1,2,1) ! INFO 1060 1078 do l=1,llm … … 1070 1088 write (*,*) 'ucov ', ucov (1,2,1) ! INFO 1071 1089 c write(48,*) 'ucov',ucov 1090 ! Reseting v=0 1091 if (razvitv) then 1092 vnat(:,:,:) = 0. 1093 endif 1094 write (*,*) 'vnat ', vnat (1,2,1) ! INFO 1072 1095 do l=1,llm 1073 1096 do j = 1, jjm
Note: See TracChangeset
for help on using the changeset viewer.