1       SUBROUTINE geopot_p ( ngrid, teta, pk, pks, phis, phi )
 
   28 #include "dimensions.h" 
   35       REAL teta(ngrid,
llm),pks(ngrid),phis(ngrid),pk(ngrid,
llm) ,
 
   53       phi( ij,1 ) = phis( ij ) + teta(ij,1) * ( pks(ij) - pk(ij,1) )
 
   60         phi(ij,l) = phi(ij,l-1) + 0.5 * ( teta(ij,l)  + teta(ij,l-1) ) 
 
   61      *                              *   (  pk(ij,l-1) -  pk(ij,l)    )
 
!$Id Turb_fcg_gcssold get_uvd hqturb_gcssold endif!large scale llm day day1 day day1 *dt_toga endif!time annee_ref dt_toga u_toga vq_toga w_prof vq_prof llm day day1 day day1 *dt_dice endif!time annee_ref dt_dice swup_dice vg_dice omega_dice tg_prof vg_profd w_profd omega_profd!do llm!print llm l llm
 
subroutine geopot_p(ngrid, teta, pk, pks, phis, phi)