Changeset 978 for palm/trunk/SOURCE/init_pegrid.f90
- Timestamp:
- Aug 9, 2012 8:28:32 AM (12 years ago)
- Location:
- palm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk
- Property svn:mergeinfo changed
/palm/branches/fricke (added) merged: 942-944,967-968,971-972,977
- Property svn:mergeinfo changed
-
palm/trunk/SOURCE
- Property svn:mergeinfo changed
/palm/branches/fricke/SOURCE (added) merged: 967-968,971-972,977
- Property svn:mergeinfo changed
-
palm/trunk/SOURCE/init_pegrid.f90
r810 r978 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! dirichlet/neumann and neumann/dirichlet added 7 ! nxlu and nysv are also calculated for inflow boundary 6 8 ! 7 9 ! ATTENTION: nnz_x undefined problem still has to be solved!!!!!!!! … … 1108 1110 !-- horizontal boundary conditions. 1109 1111 IF ( pleft == MPI_PROC_NULL ) THEN 1110 IF ( bc_lr == 'dirichlet/radiation' ) THEN1112 IF ( bc_lr == 'dirichlet/radiation' .OR. bc_lr == 'dirichlet/neumann' ) THEN 1111 1113 inflow_l = .TRUE. 1112 ELSEIF ( bc_lr == 'radiation/dirichlet' ) THEN1114 ELSEIF ( bc_lr == 'radiation/dirichlet' .OR. bc_lr == 'neumann/dirichlet' ) THEN 1113 1115 outflow_l = .TRUE. 1114 1116 ENDIF … … 1116 1118 1117 1119 IF ( pright == MPI_PROC_NULL ) THEN 1118 IF ( bc_lr == 'dirichlet/radiation' ) THEN1120 IF ( bc_lr == 'dirichlet/radiation' .OR. bc_lr == 'dirichlet/neumann' ) THEN 1119 1121 outflow_r = .TRUE. 1120 ELSEIF ( bc_lr == 'radiation/dirichlet' ) THEN1122 ELSEIF ( bc_lr == 'radiation/dirichlet' .OR. bc_lr == 'neumann/dirichlet' ) THEN 1121 1123 inflow_r = .TRUE. 1122 1124 ENDIF … … 1124 1126 1125 1127 IF ( psouth == MPI_PROC_NULL ) THEN 1126 IF ( bc_ns == 'dirichlet/radiation' ) THEN1128 IF ( bc_ns == 'dirichlet/radiation' .OR. bc_ns == 'dirichlet/neumann' ) THEN 1127 1129 outflow_s = .TRUE. 1128 ELSEIF ( bc_ns == 'radiation/dirichlet' ) THEN1130 ELSEIF ( bc_ns == 'radiation/dirichlet' .OR. bc_ns == 'neumann/dirichlet' ) THEN 1129 1131 inflow_s = .TRUE. 1130 1132 ENDIF … … 1132 1134 1133 1135 IF ( pnorth == MPI_PROC_NULL ) THEN 1134 IF ( bc_ns == 'dirichlet/radiation' ) THEN1136 IF ( bc_ns == 'dirichlet/radiation' .OR. bc_ns == 'dirichlet/neumann' ) THEN 1135 1137 inflow_n = .TRUE. 1136 ELSEIF ( bc_ns == 'radiation/dirichlet' ) THEN1138 ELSEIF ( bc_ns == 'radiation/dirichlet' .OR. bc_ns == 'neumann/dirichlet' ) THEN 1137 1139 outflow_n = .TRUE. 1138 1140 ENDIF … … 1164 1166 1165 1167 #elif ! defined ( __parallel ) 1166 IF ( bc_lr == 'dirichlet/radiation' ) THEN1168 IF ( bc_lr == 'dirichlet/radiation' .OR. bc_lr == 'dirichlet/neumann' ) THEN 1167 1169 inflow_l = .TRUE. 1168 1170 outflow_r = .TRUE. 1169 ELSEIF ( bc_lr == 'radiation/dirichlet' ) THEN1171 ELSEIF ( bc_lr == 'radiation/dirichlet' .OR. bc_lr == 'neumann/dirichlet' ) THEN 1170 1172 outflow_l = .TRUE. 1171 1173 inflow_r = .TRUE. 1172 1174 ENDIF 1173 1175 1174 IF ( bc_ns == 'dirichlet/radiation' ) THEN1176 IF ( bc_ns == 'dirichlet/radiation' .OR. bc_ns == 'dirichlet/neumann' ) THEN 1175 1177 inflow_n = .TRUE. 1176 1178 outflow_s = .TRUE. 1177 ELSEIF ( bc_ns == 'radiation/dirichlet' ) THEN1179 ELSEIF ( bc_ns == 'radiation/dirichlet' .OR. bc_ns == 'neumann/dirichlet' ) THEN 1178 1180 outflow_n = .TRUE. 1179 1181 inflow_s = .TRUE. … … 1182 1184 1183 1185 ! 1184 !-- At the outflow, u or v, respectively, have to be calculated for one more1185 !-- grid point.1186 IF ( outflow_l ) THEN1186 !-- At the inflow or outflow, u or v, respectively, have to be calculated for 1187 !-- one more grid point. 1188 IF ( inflow_l .OR. outflow_l ) THEN 1187 1189 nxlu = nxl + 1 1188 1190 ELSE 1189 1191 nxlu = nxl 1190 1192 ENDIF 1191 IF ( outflow_s ) THEN1193 IF ( inflow_s .OR. outflow_s ) THEN 1192 1194 nysv = nys + 1 1193 1195 ELSE
Note: See TracChangeset
for help on using the changeset viewer.