Ignore:
Timestamp:
05/04/19 22:27:37 (5 years ago)
Author:
dubos
Message:

devel : towards Fortran driver for unstructured/LAM meshes

File:
1 edited

Legend:

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

    r827 r846  
    150150    CALL allocate_caldyn 
    151151 
    152     DO ind=1,ndomain 
    153        IF (.NOT. assigned_domain(ind)) CYCLE 
    154        CALL swap_dimensions(ind) 
    155        CALL swap_geometry(ind) 
    156        planetvel=f_planetvel(ind) 
    157        CALL compute_planetvel(planetvel) 
    158     END DO 
     152    IF(grid_type==grid_ico) THEN 
     153       ! NB : unused now, would be useful for non-traditional / deep-atmosphere 
     154       DO ind=1,ndomain 
     155          IF (.NOT. assigned_domain(ind)) CYCLE 
     156          CALL swap_dimensions(ind) 
     157          CALL swap_geometry(ind) 
     158          planetvel=f_planetvel(ind) 
     159          CALL compute_planetvel(planetvel) 
     160       END DO 
     161    END IF 
    159162 
    160163    compute_pvort_only => compute_pvort_only_hex 
Note: See TracChangeset for help on using the changeset viewer.