Ignore:
Timestamp:
05/18/20 21:07:49 (4 years ago)
Author:
dubos
Message:

devel : towards conformity to F2008 standard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/dynamics/compute_geopot.F90

    r955 r1027  
    126126#endif END_DYSL 
    127127 
     128  !-------------- Wrappers for F2008 conformity ----------------- 
     129  !-------------------------------------------------------------- 
     130 
     131  SUBROUTINE compute_geopot_hex(rhodz,theta, ps,pk,geopot)  
     132    REAL(rstd),INTENT(IN)    :: rhodz(:,:), theta(:,:,:) ! active scalars : theta/entropy, moisture, ... 
     133    REAL(rstd),INTENT(INOUT) :: ps(:), geopot(:,:)       ! geopotential 
     134    REAL(rstd),INTENT(OUT)   :: pk(:,:)       ! Exner function (compressible) /Lagrange multiplier (Boussinesq) 
     135    CALL compute_geopot_hex_(rhodz,theta, ps,pk,geopot) 
     136  END SUBROUTINE compute_geopot_hex 
     137 
     138  SUBROUTINE compute_geopot_unst(rhodz,theta, ps,pk,geopot)  
     139    REAL(rstd),INTENT(IN)    :: rhodz(:,:), theta(:,:,:) ! active scalars : theta/entropy, moisture, ... 
     140    REAL(rstd),INTENT(INOUT) :: ps(:), geopot(:,:)       ! geopotential 
     141    REAL(rstd),INTENT(OUT)   :: pk(:,:)       ! Exner function (compressible) /Lagrange multiplier (Boussinesq) 
     142    CALL compute_geopot_unst_(rhodz,theta, ps,pk,geopot) 
     143  END SUBROUTINE compute_geopot_unst 
     144 
    128145  !**************************** Geopotential ***************************** 
    129146 
    130   SUBROUTINE compute_geopot_unst(rhodz,theta,ps,pk,geopot) 
     147  SUBROUTINE compute_geopot_unst_(rhodz,theta,ps,pk,geopot) 
    131148        USE ISO_C_BINDING, only : C_DOUBLE, C_FLOAT 
    132149    USE data_unstructured_mod, ONLY : enter_trace, exit_trace, & 
     
    142159#include "../kernels_unst/compute_geopot.k90" 
    143160    STOP_TRACE 
    144   END SUBROUTINE compute_geopot_unst 
     161  END SUBROUTINE compute_geopot_unst_ 
    145162   
    146   SUBROUTINE compute_geopot_hex(rhodz,theta, ps,pk,geopot)  
     163  SUBROUTINE compute_geopot_hex_(rhodz,theta, ps,pk,geopot)  
    147164    REAL(rstd),INTENT(IN)    :: rhodz(iim*jjm,llm) 
    148165    REAL(rstd),INTENT(IN)    :: theta(iim*jjm,llm,nqdyn) ! active scalars : theta/entropy, moisture, ... 
     
    162179 
    163180    CALL trace_end("compute_geopot") 
    164   END SUBROUTINE compute_geopot_hex 
     181  END SUBROUTINE compute_geopot_hex_ 
    165182 
    166183  SUBROUTINE compute_geopot_manual(rhodz,theta, ps,pk,geopot)  
Note: See TracChangeset for help on using the changeset viewer.