Ignore:
Timestamp:
Jan 3, 2016, 11:16:34 AM (8 years ago)
Author:
Ehouarn Millour
Message:

Improving the physics/dynamics interface:

  • added module callphysiq_mod.F90 in dynphy_lonlat/phy* which contains the routine "call_physiq" which is called by calfis* and calls the physics. This way different "physiq" routine from different physics packages may be called: The calfis* routines now exposes all available fields that might be transmitted to physiq but which is actually send (ie: expected/needed by physiq) is decided in call_physiq.
  • turned "physiq.F90" into module "physiq_mod.F90" for better control of "physiq" arguments. Extracted embeded "gr_fi_ecrit" as self-standing routine (but note that this routine actually only works in serial mode).

EM

File:
1 moved

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phymar/physiq_mod.F90

    r2416 r2418  
    11! $Id: physiq.F 1565 2011-08-31 12:53:29Z jghattas $
    22!#define IO_DEBUG
     3MODULE physiq_mod
     4
     5IMPLICIT NONE
     6
     7CONTAINS
    38
    49!========================================================================================================================
     
    11411146PRINT*, 'Fin de physiq.f90'
    11421147
    1143       return
    1144       end
    1145 
    1146 ! sub-routine inutilisée :
    1147 
    1148 !SUBROUTINE gr_fi_ecrit(nfield,nlon,iim,jjmp1,fi,ecrit)
    1149 !     IMPLICIT none
    1150 
    1151 !  Tranformer une variable de la grille physique a
    1152 !  la grille d'ecriture
    1153 !      INTEGER nfield,nlon,iim,jjmp1, jjm
    1154 !      REAL fi(nlon,nfield), ecrit(iim*jjmp1,nfield)
    1155 !      INTEGER i, n, ig
    1156 !      jjm = jjmp1 - 1
    1157 !      DO n = 1, nfield
    1158 !        DO i=1,iim
    1159 !             ecrit(i,n) = fi(1,n)
    1160 !,            ecrit(i+jjm*iim,n) = fi(nlon,n)
    1161 !        ENDDO
    1162 !        DO ig = 1, nlon - 2
    1163 !             ecrit(iim+ig,n) = fi(1+ig,n)
    1164 !        ENDDO
    1165 !      ENDDO
    1166 !RETURN
    1167 !END
     1148end subroutine physiq
     1149
     1150
     1151END MODULE physiq_mod
Note: See TracChangeset for help on using the changeset viewer.