Changeset 1682 for palm/trunk/SOURCE/buoyancy.f90
- Timestamp:
- Oct 7, 2015 11:56:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/buoyancy.f90
r1375 r1682 1 MODULE buoyancy_mod 2 1 !> @file buoyancy.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: … … 81 80 ! Description: 82 81 ! ------------ 83 ! Buoyancy term of the third component of the equation of motion. 84 ! WARNING: humidity is not regarded when using a sloping surface! 85 !------------------------------------------------------------------------------! 82 !> Buoyancy term of the third component of the equation of motion. 83 !> @attention Humidity is not regarded when using a sloping surface! 84 !------------------------------------------------------------------------------! 85 MODULE buoyancy_mod 86 86 87 87 88 PRIVATE … … 101 102 102 103 !------------------------------------------------------------------------------! 103 ! Call for all grid points 104 ! Description: 105 ! ------------ 106 !> Call for all grid points 104 107 !------------------------------------------------------------------------------! 105 108 SUBROUTINE buoyancy( var, wind_component ) … … 123 126 IMPLICIT NONE 124 127 125 INTEGER(iwp) :: i ! :126 INTEGER(iwp) :: j ! :127 INTEGER(iwp) :: k ! :128 INTEGER(iwp) :: wind_component ! :128 INTEGER(iwp) :: i !< 129 INTEGER(iwp) :: j !< 130 INTEGER(iwp) :: k !< 131 INTEGER(iwp) :: wind_component !< 129 132 130 133 #if defined( __nopointer ) 131 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var ! :134 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var !< 132 135 #else 133 136 REAL(wp), DIMENSION(:,:,:), POINTER :: var … … 197 200 198 201 !------------------------------------------------------------------------------! 199 ! Call for all grid points - accelerator version 202 ! Description: 203 ! ------------ 204 !> Call for all grid points - accelerator version 200 205 !------------------------------------------------------------------------------! 201 206 SUBROUTINE buoyancy_acc( var, wind_component ) … … 219 224 IMPLICIT NONE 220 225 221 INTEGER(iwp) :: i ! :222 INTEGER(iwp) :: j ! :223 INTEGER(iwp) :: k ! :224 INTEGER(iwp) :: wind_component ! :226 INTEGER(iwp) :: i !< 227 INTEGER(iwp) :: j !< 228 INTEGER(iwp) :: k !< 229 INTEGER(iwp) :: wind_component !< 225 230 226 231 #if defined( __nopointer ) 227 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var ! :232 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var !< 228 233 #else 229 234 REAL(wp), DIMENSION(:,:,:), POINTER :: var … … 297 302 298 303 !------------------------------------------------------------------------------! 299 ! Call for grid point i,j 300 ! ATTENTION: PGI-compiler creates SIGFPE if opt>1 is used! Therefore, opt=1 is 301 ! forced by compiler-directive. 304 ! Description: 305 ! ------------ 306 !> Call for grid point i,j 307 !> @attention PGI-compiler creates SIGFPE if opt>1 is used! Therefore, opt=1 is 308 !> forced by compiler-directive. 302 309 !------------------------------------------------------------------------------! 303 310 !pgi$r opt=1 … … 321 328 IMPLICIT NONE 322 329 323 INTEGER(iwp) :: i ! :324 INTEGER(iwp) :: j ! :325 INTEGER(iwp) :: k ! :326 INTEGER(iwp) :: pr ! :327 INTEGER(iwp) :: wind_component ! :330 INTEGER(iwp) :: i !< 331 INTEGER(iwp) :: j !< 332 INTEGER(iwp) :: k !< 333 INTEGER(iwp) :: pr !< 334 INTEGER(iwp) :: wind_component !< 328 335 329 336 #if defined( __nopointer ) 330 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var ! :337 REAL(wp), DIMENSION(nzb:nzt+1,nysg:nyng,nxlg:nxrg) :: var !< 331 338 #else 332 339 REAL(wp), DIMENSION(:,:,:), POINTER :: var
Note: See TracChangeset
for help on using the changeset viewer.