Ignore:
Timestamp:
05/30/17 16:17:01 (7 years ago)
Author:
dubos
Message:

devel : macro-generated kernels for pvort_only and caldyn_fast

File:
1 moved

Legend:

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

    r533 r536  
    6161    CALL trace_start("compute_pvort_only")   
    6262!!! Compute shallow-water potential vorticity 
     63#ifdef CPP_DYSL 
     64#include "../kernels/pvort_only.k90" 
     65#else 
    6366    radius_m2=radius**(-2) 
    6467    DO l = ll_begin,ll_end 
     
    9093 
    9194    ENDDO 
    92  
     95#endif 
    9396    CALL trace_end("compute_pvort_only") 
    9497 
     
    366369 
    367370    INTEGER :: i,j,ij,l 
    368     REAL(rstd) :: Rd, qv, temp, chi, nu, due_right, due_lup, due_ldown 
     371    REAL(rstd) :: Rd, qv, temp, chi, nu, due, due_right, due_lup, due_ldown 
    369372 
    370373    CALL trace_start("compute_caldyn_fast") 
     
    372375    Rd=cpp*kappa 
    373376 
     377#ifdef CPP_DYSL 
     378#include "../kernels/caldyn_fast.k90" 
     379#else 
    374380    ! Compute Bernoulli term 
    375381    IF(boussinesq) THEN 
     
    469475       END IF 
    470476    END DO 
    471         
     477#endif        
    472478    CALL trace_end("compute_caldyn_fast") 
    473479 
     
    638644    CALL trace_start("compute_caldyn_slow_hydro") 
    639645 
    640     le_de(:) = le(:)/de(:) ! FIXME - make sure le_de is what we expect 
    641  
    642646    DO l = ll_begin, ll_end 
    643647       !  Compute mass fluxes 
     
    686690       END IF 
    687691    END DO 
    688  
    689692    CALL trace_end("compute_caldyn_slow_hydro")     
    690693  END SUBROUTINE compute_caldyn_slow_hydro 
Note: See TracChangeset for help on using the changeset viewer.