Ignore:
Timestamp:
Jul 10, 2014, 3:19:01 PM (11 years ago)
Author:
emillour
Message:

Generic GCM:
Some cleanup to simplify dynamics/physics interactions by getting rid
of dimphys.h (i.e. the nlayermx parameter) and minimizing use of
dimension.h in the physics.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/ocean_slab_mod.F90

    r1298 r1308  
    1515
    1616
    17 #include "dimensions.h"
    18 #include "dimphys.h"
     17!#include "dimensions.h"
     18!#include "dimphys.h"
    1919#include "comcstfi.h"
    2020#include "callkeys.h"
     
    6767
    6868
    69 #include "dimensions.h"
    70 #include "dimphys.h"
     69!#include "dimensions.h"
     70!#include "dimphys.h"
    7171#include "comcstfi.h"
    7272#include "callkeys.h"
     
    210210      use slab_ice_h
    211211
    212 #include "dimensions.h"
    213 #include "dimphys.h"
     212!#include "dimensions.h"
     213!#include "dimphys.h"
    214214#include "comcstfi.h"
    215215#include "callkeys.h"
     
    451451    use slab_ice_h
    452452
    453 #include "dimensions.h"
    454 #include "comcstfi.h"
     453!#include "dimensions.h"
     454!#include "comcstfi.h"
    455455!    INCLUDE "iniprint.h"
    456456#include "callkeys.h"
     
    534534!  Transport diffusif
    535535!         IF (ok_soil_hdiff) THEN
    536              CALL divgrad_phy(noceanmx,tmp_tslab_loc,dtdiff_loc)
     536             CALL divgrad_phy(ngrid,noceanmx,tmp_tslab_loc,dtdiff_loc)
    537537             dtdiff_loc=dtdiff_loc*soil_hdiff*50./SUM(slabh)!*100.
    538538 !           dtdiff_loc(:,1)=dtdiff_loc(:,1)*soil_hdiff*50./SUM(slabh)*0.8
     
    544544! Calcul  de transport par Ekman
    545545
    546           CALL slab_ekman2(taux_slab,tauy_slab,tslab,dtekman_loc)
     546          CALL slab_ekman2(ngrid,taux_slab,tauy_slab,tslab,dtekman_loc)
    547547
    548548
Note: See TracChangeset for help on using the changeset viewer.