Changeset 6208


Ignore:
Timestamp:
07/21/22 12:04:05 (22 months ago)
Author:
aclsce
Message:

Fixed bug in perturbation protocol.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG_DEVT/IPSLCM6.5_work_ENSEMBLES/modeles/LMDZ/libf/dyn3dmem/dynetat0_loc.F90

    r5871 r6208  
    4141  CHARACTER(LEN=256) :: msg, var, modname 
    4242  INTEGER, PARAMETER :: length=100 
    43   INTEGER :: iq, fID, vID, idecal, ierr 
     43  INTEGER :: iq, fID, vID, idecal, ierr, ij 
    4444  REAL    :: time, tab_cntrl(length)               !--- RUN PARAMS TABLE 
    4545  REAL,             ALLOCATABLE :: vcov_glo(:,:),masse_glo(:,:),   ps_glo(:) 
     
    172172  CALL RANDOM_NUMBER(random_teta) 
    173173  CALL get_var2("teta",teta_glo) 
     174  DO ij = iip2,ip1jm,iip1 
     175    random_teta(ij,:)=random_teta(ij+iim,:) 
     176  ENDDO 
     177  random_teta(1:iip1,:)=0 
     178  random_teta(ip1jm+1:ip1jmp1,:)=0 
    174179  teta_glo=teta_glo*(1+(random_teta*2-1)*noise_teta) 
    175180  teta (ijb_u:ije_u,:)=teta_glo(ijb_u:ije_u,:);  DEALLOCATE(teta_glo) ; DEALLOCATE(random_teta) 
Note: See TracChangeset for help on using the changeset viewer.