/[lmdze]/trunk/dyn3d/grid_change.f
ViewVC logotype

Diff of /trunk/dyn3d/grid_change.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by guez, Wed Oct 15 16:19:57 2008 UTC revision 32 by guez, Tue Apr 6 17:52:58 2010 UTC
# Line 84  contains Line 84  contains
84    
85    END function gr_phy_write_2d    END function gr_phy_write_2d
86    
   !***************************************************  
   
   function gr_phy_write_3d(pfi)  
   
     ! Transforme une variable de la grille physique à la grille d'écriture.  
     ! The grid for output files does not duplicate the first longitude  
     ! in the last longitude.  
     ! Input array has rank 2. Horizontal index is in the first dimension.  
   
     use dimphy, only: klon  
     use numer_rec, only: assert  
   
     REAL, intent(in):: pfi(:, :)  
     real gr_phy_write_3d(iim, jjm + 1, size(pfi, 2))  
   
     ! Variable local to the procedure:  
     integer l  
   
     !-----------------------------------------------------------------------  
   
     call assert(size(pfi, 1) == klon, "gr_phy_write_3d")  
   
     do l = 1, size(pfi, 2)  
        gr_phy_write_3d(:, :, l) = gr_phy_write_2d(pfi(:, l))  
     end do  
   
   END function gr_phy_write_3d  
   
87  end module grid_change  end module grid_change

Legend:
Removed from v.20  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.21