Changeset 1682 for palm/trunk/SOURCE/sor.f90
- Timestamp:
- Oct 7, 2015 11:56:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/sor.f90
r1354 r1682 1 SUBROUTINE sor( d, ddzu, ddzw, p ) 2 1 !> @file sor.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: … … 47 46 ! Description: 48 47 ! ------------ 49 ! Solve the Poisson-equation with the SOR-Red/Black-scheme.48 !> Solve the Poisson-equation with the SOR-Red/Black-scheme. 50 49 !------------------------------------------------------------------------------! 50 SUBROUTINE sor( d, ddzu, ddzw, p ) 51 51 52 52 53 USE grid_variables, & … … 65 66 IMPLICIT NONE 66 67 67 INTEGER(iwp) :: i ! :68 INTEGER(iwp) :: j ! :69 INTEGER(iwp) :: k ! :70 INTEGER(iwp) :: n ! :71 INTEGER(iwp) :: nxl1 ! :72 INTEGER(iwp) :: nxl2 ! :73 INTEGER(iwp) :: nys1 ! :74 INTEGER(iwp) :: nys2 ! :75 76 REAL(wp) :: ddzu(1:nz+1) ! :77 REAL(wp) :: ddzw(1:nzt+1) ! :78 79 REAL(wp) :: d(nzb+1:nzt,nys:nyn,nxl:nxr) ! :80 REAL(wp) :: p(nzb:nzt+1,nysg:nyng,nxlg:nxrg) ! :81 82 REAL(wp), DIMENSION(:), ALLOCATABLE :: f1 ! :83 REAL(wp), DIMENSION(:), ALLOCATABLE :: f2 ! :84 REAL(wp), DIMENSION(:), ALLOCATABLE :: f3 ! :68 INTEGER(iwp) :: i !< 69 INTEGER(iwp) :: j !< 70 INTEGER(iwp) :: k !< 71 INTEGER(iwp) :: n !< 72 INTEGER(iwp) :: nxl1 !< 73 INTEGER(iwp) :: nxl2 !< 74 INTEGER(iwp) :: nys1 !< 75 INTEGER(iwp) :: nys2 !< 76 77 REAL(wp) :: ddzu(1:nz+1) !< 78 REAL(wp) :: ddzw(1:nzt+1) !< 79 80 REAL(wp) :: d(nzb+1:nzt,nys:nyn,nxl:nxr) !< 81 REAL(wp) :: p(nzb:nzt+1,nysg:nyng,nxlg:nxrg) !< 82 83 REAL(wp), DIMENSION(:), ALLOCATABLE :: f1 !< 84 REAL(wp), DIMENSION(:), ALLOCATABLE :: f2 !< 85 REAL(wp), DIMENSION(:), ALLOCATABLE :: f3 !< 85 86 86 87 ALLOCATE( f1(1:nz), f2(1:nz), f3(1:nz) )
Note: See TracChangeset
for help on using the changeset viewer.