Changeset 1682 for palm/trunk/SOURCE/diffusion_e.f90
- Timestamp:
- Oct 7, 2015 11:56:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/diffusion_e.f90
r1375 r1682 1 MODULE diffusion_e_mod 2 1 !> @file diffusion_e.f90 3 2 !--------------------------------------------------------------------------------! 4 3 ! This file is part of PALM. … … 20 19 ! Current revisions: 21 20 ! ----------------- 22 ! 21 ! Code annotations made doxygen readable 23 22 ! 24 23 ! Former revisions: … … 82 81 ! Description: 83 82 ! ------------ 84 ! Diffusion- and dissipation terms for the TKE83 !> Diffusion- and dissipation terms for the TKE 85 84 !------------------------------------------------------------------------------! 85 MODULE diffusion_e_mod 86 86 87 87 88 PRIVATE … … 102 103 103 104 !------------------------------------------------------------------------------! 104 ! Call for all grid points 105 ! Description: 106 ! ------------ 107 !> Call for all grid points 105 108 !------------------------------------------------------------------------------! 106 109 SUBROUTINE diffusion_e( var, var_reference ) … … 127 130 IMPLICIT NONE 128 131 129 INTEGER(iwp) :: i ! :130 INTEGER(iwp) :: j ! :131 INTEGER(iwp) :: k ! :132 REAL(wp) :: dvar_dz ! :133 REAL(wp) :: l_stable ! :134 REAL(wp) :: var_reference ! :132 INTEGER(iwp) :: i !< 133 INTEGER(iwp) :: j !< 134 INTEGER(iwp) :: k !< 135 REAL(wp) :: dvar_dz !< 136 REAL(wp) :: l_stable !< 137 REAL(wp) :: var_reference !< 135 138 136 139 #if defined( __nopointer ) 137 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var ! :140 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var !< 138 141 #else 139 REAL(wp), DIMENSION(:,:,:), POINTER :: var ! :142 REAL(wp), DIMENSION(:,:,:), POINTER :: var !< 140 143 #endif 141 REAL(wp), DIMENSION(nzb+1:nzt,nys:nyn) :: dissipation ! :142 REAL(wp), DIMENSION(nzb+1:nzt,nys:nyn) :: l ! :143 REAL(wp), DIMENSION(nzb+1:nzt,nys:nyn) :: ll ! :144 REAL(wp), DIMENSION(nzb+1:nzt,nys:nyn) :: dissipation !< 145 REAL(wp), DIMENSION(nzb+1:nzt,nys:nyn) :: l !< 146 REAL(wp), DIMENSION(nzb+1:nzt,nys:nyn) :: ll !< 144 147 145 148 … … 307 310 308 311 !------------------------------------------------------------------------------! 309 ! Call for all grid points - accelerator version 312 ! Description: 313 ! ------------ 314 !> Call for all grid points - accelerator version 310 315 !------------------------------------------------------------------------------! 311 316 SUBROUTINE diffusion_e_acc( var, var_reference ) … … 332 337 IMPLICIT NONE 333 338 334 INTEGER(iwp) :: i ! :335 INTEGER(iwp) :: j ! :336 INTEGER(iwp) :: k ! :337 REAL(wp) :: dissipation ! :338 REAL(wp) :: dvar_dz ! :339 REAL(wp) :: l ! :340 REAL(wp) :: ll ! :341 REAL(wp) :: l_stable ! :342 REAL(wp) :: var_reference ! :339 INTEGER(iwp) :: i !< 340 INTEGER(iwp) :: j !< 341 INTEGER(iwp) :: k !< 342 REAL(wp) :: dissipation !< 343 REAL(wp) :: dvar_dz !< 344 REAL(wp) :: l !< 345 REAL(wp) :: ll !< 346 REAL(wp) :: l_stable !< 347 REAL(wp) :: var_reference !< 343 348 344 349 #if defined( __nopointer ) 345 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var ! :350 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var !< 346 351 #else 347 REAL(wp), DIMENSION(:,:,:), POINTER :: var ! :352 REAL(wp), DIMENSION(:,:,:), POINTER :: var !< 348 353 #endif 349 354 … … 504 509 505 510 !------------------------------------------------------------------------------! 506 ! Call for grid point i,j 511 ! Description: 512 ! ------------ 513 !> Call for grid point i,j 507 514 !------------------------------------------------------------------------------! 508 515 SUBROUTINE diffusion_e_ij( i, j, var, var_reference ) … … 528 535 IMPLICIT NONE 529 536 530 INTEGER(iwp) :: i ! :531 INTEGER(iwp) :: j ! :532 INTEGER(iwp) :: k ! :533 REAL(wp) :: dvar_dz ! :534 REAL(wp) :: l_stable ! :535 REAL(wp) :: var_reference ! :537 INTEGER(iwp) :: i !< 538 INTEGER(iwp) :: j !< 539 INTEGER(iwp) :: k !< 540 REAL(wp) :: dvar_dz !< 541 REAL(wp) :: l_stable !< 542 REAL(wp) :: var_reference !< 536 543 537 544 #if defined( __nopointer ) 538 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var ! :545 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var !< 539 546 #else 540 REAL(wp), DIMENSION(:,:,:), POINTER :: var ! :547 REAL(wp), DIMENSION(:,:,:), POINTER :: var !< 541 548 #endif 542 REAL(wp), DIMENSION(nzb+1:nzt) :: dissipation ! :543 REAL(wp), DIMENSION(nzb+1:nzt) :: l ! :544 REAL(wp), DIMENSION(nzb+1:nzt) :: ll ! :549 REAL(wp), DIMENSION(nzb+1:nzt) :: dissipation !< 550 REAL(wp), DIMENSION(nzb+1:nzt) :: l !< 551 REAL(wp), DIMENSION(nzb+1:nzt) :: ll !< 545 552 546 553
Note: See TracChangeset
for help on using the changeset viewer.