Changeset 3078 for trunk/LMDZ.COMMON/libf/phy_common
- Timestamp:
- Oct 10, 2023, 11:41:27 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/phy_common/geometry_mod.F90
r1682 r3078 27 27 !$OMP THREADPRIVATE(dy) 28 28 29 REAL,SAVE,ALLOCATABLE :: cell_area(:) ! area of the cell29 REAL,SAVE,ALLOCATABLE :: cell_area(:) ! area of the cell (m2) 30 30 !$OMP THREADPRIVATE(cell_area) 31 32 REAL,SAVE,ALLOCATABLE :: cell_area_for_lonlat_outputs(:) 33 ! for lon-lat outputs only: area of the cell 34 ! but with polar values as in dyn grid 35 ! (with replicated polar grid point) 36 !$OMP THREADPRIVATE(cell_area_for_lonlat_outputs) 31 37 32 38 INTEGER,SAVE,ALLOCATABLE :: ind_cell_glo(:) ! global index of a local cell … … 76 82 77 83 84 SUBROUTINE init_geometry_cell_area_for_outputs(klon, & 85 cell_area_for_lonlat_outputs_) 86 IMPLICIT NONE 87 INTEGER,INTENT(IN) :: klon ! number of columns for this MPI/OpenMP domain 88 REAL,INTENT(IN) :: cell_area_for_lonlat_outputs_(klon) ! tweaked lon-lat mesh 89 ! cell areas where polar values are as on dyn lon-lat grid 90 ! for outputs 91 92 ALLOCATE(cell_area_for_lonlat_outputs(klon)) 93 cell_area_for_lonlat_outputs(1:klon)=cell_area_for_lonlat_outputs_(1:klon) 94 95 END SUBROUTINE init_geometry_cell_area_for_outputs 96 78 97 END MODULE geometry_mod 79 98
Note: See TracChangeset
for help on using the changeset viewer.