Ignore:
Timestamp:
May 27, 2005, 12:01:52 PM (19 years ago)
Author:
Laurent Fairhead
Message:

Mauvais positionnement des initialisations, les variables étaient
remises a zero a chaque passage dans la physique
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/physiq.F

    r644 r645  
    4242#define histmth
    4343#define histins
    44 c#define histISCCP
    45 c#define histREGDYN
    46 c#define histmthNMC
     44#define histISCCP
     45#define histREGDYN
     46#define histmthNMC
    4747c======================================================================
    4848c    modif   ( P. Le Van ,  12/10/98 )
     
    12301230#include "FCTTRE.h"
    12311231c======================================================================
    1232 !rv
    1233       u10m(:,:)=0.
    1234       v10m(:,:)=0.
    1235       t2m(:,:)=0.
    1236       q2m(:,:)=0.
    1237       ffonte(:,:)=0.
    1238       fqcalving(:,:)=0.
    1239       piz_ae(:,:,:)=0.
    1240       tau_ae(:,:,:)=0.
    1241       cg_ae(:,:,:)=0.
    1242       rain_con(:)=0.
    1243       snow_con(:)=0.
    1244       bl95_b0=0.
    1245       bl95_b1=0.
    1246       topswai(:)=0.
    1247       topswad(:)=0.
    1248       solswai(:)=0.
    1249       solswad(:)=0.
    1250 !rv
    1251 ! anne
    1252       d_u_con(:,:) = 0.0
    1253       d_v_con(:,:) = 0.0
    1254       rnebcon0(:,:) = 0.0
    1255       clwcon0(:,:) = 0.0
    1256       rnebcon(:,:) = 0.0
    1257       clwcon(:,:) = 0.0
    1258       paire_ter(:) = 0.0
    1259       nhistoW(:,:,:,:) = 0.0
    1260       histoW(:,:,:,:) = 0.0
    1261 ! fin anne
    1262 
    1263 cym
    1264       wfbils(:,:)=0
    1265 cym     
    12661232      modname = 'physiq'
    12671233      IF (if_ebil.ge.1) THEN
     
    12881254       IF (debut) THEN
    12891255C
     1256!rv
     1257         u10m(:,:)=0.
     1258         v10m(:,:)=0.
     1259         t2m(:,:)=0.
     1260         q2m(:,:)=0.
     1261         ffonte(:,:)=0.
     1262         fqcalving(:,:)=0.
     1263         piz_ae(:,:,:)=0.
     1264         tau_ae(:,:,:)=0.
     1265         cg_ae(:,:,:)=0.
     1266         rain_con(:)=0.
     1267         snow_con(:)=0.
     1268         bl95_b0=0.
     1269         bl95_b1=0.
     1270         topswai(:)=0.
     1271         topswad(:)=0.
     1272         solswai(:)=0.
     1273         solswad(:)=0.
     1274!rv
     1275! anne
     1276         d_u_con(:,:) = 0.0
     1277         d_v_con(:,:) = 0.0
     1278         rnebcon0(:,:) = 0.0
     1279         clwcon0(:,:) = 0.0
     1280         rnebcon(:,:) = 0.0
     1281         clwcon(:,:) = 0.0
     1282         paire_ter(:) = 0.0
     1283         nhistoW(:,:,:,:) = 0.0
     1284         histoW(:,:,:,:) = 0.0
     1285! fin anne
     1286
     1287cym
     1288         wfbils(:,:)=0
     1289cym     
    12901290         IF (if_ebil.ge.1) d_h_vcol_phy=0.
    12911291c
Note: See TracChangeset for help on using the changeset viewer.