Changeset 1484 for palm/trunk/SOURCE/user_init_plant_canopy.f90
- Timestamp:
- Oct 21, 2014 10:53:05 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/user_init_plant_canopy.f90
r1354 r1484 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Changes in the course of the canopy-model modularization: 23 ! module plant_canopy_model_mod added, 24 ! definition of array cdc (canopy drag coefficient) removed, since it is now 25 ! defined purely as a single constant value (see module plant_canopy_model) 23 26 ! 24 27 ! Former revisions: … … 57 60 58 61 USE kinds 62 63 USE plant_canopy_model_mod 59 64 60 65 USE user … … 62 67 IMPLICIT NONE 63 68 64 INTEGER(iwp) :: i !: 65 INTEGER(iwp) :: j !: 69 INTEGER(iwp) :: i !: running index 70 INTEGER(iwp) :: j !: running index 66 71 67 72 ! … … 69 74 70 75 ! 71 !-- Set the 3D-array s lad_s and cdcfor user defined canopies76 !-- Set the 3D-array lad_s for user defined canopies 72 77 SELECT CASE ( TRIM( canopy_mode ) ) 73 78 … … 78 83 CASE ( 'user_defined_canopy_1' ) 79 84 ! 80 !-- Here the user can define his own topography. 81 !-- The following lines contain an example in that the 82 !-- plant canopy extends only over the second half of the 83 !-- model domain along x 85 !-- Here the user can define his own forest topography. 86 !-- The following lines contain an example, where the plant canopy extends 87 !-- only over the second half of the model domain along x. 88 !-- Attention: DO-loops have to include the ghost points (nxlg-nxrg, 89 !-- nysg-nyng), because no exchange of ghost point information is intended, 90 !-- in order to minimize communication between CPUs 84 91 ! DO i = nxlg, nxrg 85 92 ! IF ( i >= INT(nx+1/2) ) THEN 86 93 ! DO j = nysg, nyng 87 94 ! lad_s(:,j,i) = lad(:) 88 ! cdc(:,j,i) = drag_coefficient89 95 ! ENDDO 90 96 ! ELSE 91 97 ! lad_s(:,:,i) = 0.0_wp 92 ! cdc(:,:,i) = 0.0_wp93 98 ! ENDIF 94 99 ! ENDDO 100 ! 95 101 !-- After definition, please 96 102 !-- remove the following three lines!
Note: See TracChangeset
for help on using the changeset viewer.