Ignore:
Timestamp:
Feb 17, 2012, 11:06:39 AM (13 years ago)
Author:
jleconte
Message:

Corrects a bug in rcm1d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/rcm1d.F

    r526 r534  
    2929
    3030#include "dimensions.h"
     31#include "paramet.h"
    3132#include "dimphys.h"
    3233#include "comgeomfi.h"
     
    4546#include "logic.h"
    4647#include "advtrac.h"
     48#include "comgeom.h"
    4749
    4850c --------------------------------------------------------------
     
    273275      write(*,*)" time = ",time
    274276      time=time/24.E+0 ! convert time (hours) to fraction of sol
    275      
    276        ecritphy=day_step ! default value for ecritphy
    277        PRINT *,'Nunber of steps between writediagfi ?'
    278        call getin("ecritphy",ecritphy)
    279        write(*,*) " ecritphy = ",ecritphy
    280277
    281278
     
    291288      call getin("day_step",day_step)
    292289      write(*,*) " day_step = ",day_step
     290
     291       
     292      ecritphy=day_step ! default value for ecritphy
     293      PRINT *,'Nunber of steps between writediagfi ?'
     294      call getin("ecritphy",ecritphy)
     295      write(*,*) " ecritphy = ",ecritphy
    293296
    294297      ndt=10 ! default value for ndt
     
    408411c   la surface de chaque maille est inutile en 1D --->
    409412      area(1)=1.E+0
     413      aire(1)=area(1) !JL+EM to have access to the area in the diagfi.nc files. area in comgeomfi.h and aire in comgeom.h
    410414
    411415c   le geopotentiel au sol est inutile en 1D car tout est controle
Note: See TracChangeset for help on using the changeset viewer.