Ignore:
Timestamp:
Apr 7, 2016 12:01:39 PM (8 years ago)
Author:
maronga
Message:

further modularization of radiation model and plant canopy model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/prognostic_equations.f90

    r1823 r1826  
    1919! Current revisions:
    2020! ------------------
    21 !
     21! Renamed canopy model calls.
    2222!
    2323! Former revisions:
     
    284284
    285285    USE plant_canopy_model_mod,                                                &
    286         ONLY:  cthf, plant_canopy, plant_canopy_model
     286        ONLY:  cthf, plant_canopy, pcm_tendency
    287287
    288288    USE production_e_mod,                                                      &
     
    403403!
    404404!--          Drag by plant canopy
    405              IF ( plant_canopy )  CALL plant_canopy_model( i, j, 1 )
     405             IF ( plant_canopy )  CALL pcm_tendency( i, j, 1 )
    406406
    407407!
     
    462462!
    463463!--          Drag by plant canopy
    464              IF ( plant_canopy )  CALL plant_canopy_model( i, j, 2 )       
     464             IF ( plant_canopy )  CALL pcm_tendency( i, j, 2 )       
    465465
    466466!
     
    531531!
    532532!--       Drag by plant canopy
    533           IF ( plant_canopy )  CALL plant_canopy_model( i, j, 3 )
     533          IF ( plant_canopy )  CALL pcm_tendency( i, j, 3 )
    534534
    535535          CALL user_actions( i, j, 'w-tendency' )
     
    586586!--          Consideration of heat sources within the plant canopy
    587587             IF ( plant_canopy  .AND.  cthf /= 0.0_wp )  THEN
    588                 CALL plant_canopy_model( i, j, 4 )
     588                CALL pcm_tendency( i, j, 4 )
    589589             ENDIF
    590590
     
    720720!
    721721!--          Sink or source of scalar concentration due to canopy elements
    722              IF ( plant_canopy )  CALL plant_canopy_model( i, j, 5 )
     722             IF ( plant_canopy )  CALL pcm_tendency( i, j, 5 )
    723723
    724724!
     
    888888!
    889889!--          Additional sink term for flows through plant canopies
    890              IF ( plant_canopy )  CALL plant_canopy_model( i, j, 6 )
     890             IF ( plant_canopy )  CALL pcm_tendency( i, j, 6 )
    891891
    892892             CALL user_actions( i, j, 'e-tendency' )
     
    982982!
    983983!-- Drag by plant canopy
    984     IF ( plant_canopy )  CALL plant_canopy_model( 1 )
     984    IF ( plant_canopy )  CALL pcm_tendency( 1 )
    985985
    986986!
     
    10581058!
    10591059!-- Drag by plant canopy
    1060     IF ( plant_canopy )  CALL plant_canopy_model( 2 )
     1060    IF ( plant_canopy )  CALL pcm_tendency( 2 )
    10611061
    10621062!
     
    11461146!
    11471147!-- Drag by plant canopy
    1148     IF ( plant_canopy )  CALL plant_canopy_model( 3 )
     1148    IF ( plant_canopy )  CALL pcm_tendency( 3 )
    11491149
    11501150    CALL user_actions( 'w-tendency' )
     
    12351235!--    Consideration of heat sources within the plant canopy
    12361236       IF ( plant_canopy .AND. ( cthf /= 0.0_wp ) ) THEN
    1237           CALL plant_canopy_model( 4 )
     1237          CALL pcm_tendency( 4 )
    12381238       ENDIF
    12391239
     
    14331433!
    14341434!--    Sink or source of scalar concentration due to canopy elements
    1435        IF ( plant_canopy ) CALL plant_canopy_model( 5 )
     1435       IF ( plant_canopy ) CALL pcm_tendency( 5 )
    14361436
    14371437!
     
    15311531
    15321532          CALL diffusion_s( qr, qrsws, qrswst, wall_qrflux )
     1533
     1534          CALL user_actions( 'qr-tendency' )
    15331535
    15341536!
     
    17031705!
    17041706!--    Additional sink term for flows through plant canopies
    1705        IF ( plant_canopy )  CALL plant_canopy_model( 6 )
     1707       IF ( plant_canopy )  CALL pcm_tendency( 6 )
    17061708       CALL user_actions( 'e-tendency' )
    17071709
     
    18161818!
    18171819!-- Drag by plant canopy
    1818     IF ( plant_canopy )  CALL plant_canopy_model( 1 )
     1820    IF ( plant_canopy )  CALL pcm_tendency( 1 )
    18191821
    18201822!
     
    18831885!
    18841886!-- Drag by plant canopy
    1885     IF ( plant_canopy )  CALL plant_canopy_model( 2 )
     1887    IF ( plant_canopy )  CALL pcm_tendency( 2 )
    18861888
    18871889!
     
    19621964!
    19631965!-- Drag by plant canopy
    1964     IF ( plant_canopy )  CALL plant_canopy_model( 3 )
     1966    IF ( plant_canopy )  CALL pcm_tendency( 3 )
    19651967
    19661968    CALL user_actions( 'w-tendency' )
     
    20432045!--    Consideration of heat sources within the plant canopy
    20442046       IF ( plant_canopy .AND. ( cthf /= 0.0_wp ) ) THEN
    2045           CALL plant_canopy_model( 4 )
     2047          CALL pcm_tendency( 4 )
    20462048       ENDIF
    20472049
     
    22132215!
    22142216!--    Sink or source of scalar concentration due to canopy elements
    2215        IF ( plant_canopy ) CALL plant_canopy_model( 5 )
     2217       IF ( plant_canopy ) CALL pcm_tendency( 5 )
    22162218
    22172219!
     
    24352437!
    24362438!--    Additional sink term for flows through plant canopies
    2437        IF ( plant_canopy )  CALL plant_canopy_model( 6 )
     2439       IF ( plant_canopy )  CALL pcm_tendency( 6 )
    24382440       CALL user_actions( 'e-tendency' )
    24392441
Note: See TracChangeset for help on using the changeset viewer.