Ignore:
Timestamp:
Feb 28, 2024, 12:26:25 PM (10 months ago)
Author:
emillour
Message:

Common physics:
Undo previous commit: revert geometry_mod to previous state.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/phy_common/geometry_mod.F90

    r3241 r3242  
    3636!$OMP THREADPRIVATE(cell_area_for_lonlat_outputs)
    3737
    38   REAL,SAVE,ALLOCATABLE :: real_area(:) ! real area of the cell (m2)
    39                                         ! multiplied by klon at poles
    40   !$OMP THREADPRIVATE(real_area)
    41 
    4238  INTEGER,SAVE,ALLOCATABLE :: ind_cell_glo(:)      ! global index of a local cell
    4339!$OMP THREADPRIVATE(ind_cell_glo)
     
    5147  USE nrtype, ONLY : PI
    5248  IMPLICIT NONE
    53   include "dimensions.h"
    5449    INTEGER,INTENT(IN) :: klon ! number of columns for this MPI/OpenMP domain
    5550    REAL,INTENT(IN) :: longitude_(klon)
     
    6964    ALLOCATE(boundslat(klon,nvertex))
    7065    ALLOCATE(cell_area(klon))
    71     ALLOCATE(real_area(klon))
    7266    IF (PRESENT(ind_cell_glo_)) ALLOCATE(ind_cell_glo(klon))
    7367    IF (PRESENT(dx_)) ALLOCATE(dx(klon))
     
    8175    boundslat(:,:) = boundslat_(:,:)
    8276    cell_area(:) = cell_area_(:)
    83 
    84     real_area(2:klon-1)=cell_area(2:klon-1)
    85     real_area(1)=cell_area(1)*iim
    86     real_area(klon)=cell_area(klon)*iim
    87 
    8877    IF (PRESENT(ind_cell_glo_)) ind_cell_glo(:) = ind_cell_glo_(:)
    8978    IF (PRESENT(dx_)) dx(:) = dx_(:)
Note: See TracChangeset for help on using the changeset viewer.