File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11971,9 +11971,9 @@ SUBROUTINE READ_VENT
1197111971 ! Decide if the VENT is inside or at the boundary of the current MESH.
1197211972 ! The factor of 10 is to ensure that a vent that is fairly close to the boundary is counted.
1197311973
11974- IF (( XB_MESH(1)-XF)>10._EB*SPACING(XF ) .OR. ( XS-XB_MESH(2))>10._EB*SPACING(XS ) .OR. &
11975- ( XB_MESH(3)-YF)>10._EB*SPACING(YF ) .OR. ( YS-XB_MESH(4))>10._EB*SPACING(YS ) .OR. &
11976- ( XB_MESH(5)-ZF)>10._EB*SPACING(ZF ) .OR. ( ZS-XB_MESH(6))>10._EB*SPACING(ZS )) REJECT_VENT = .TRUE.
11974+ IF (XB_MESH(1)-XF>=0.5_EB*DX(IBP1 ) .OR. XS-XB_MESH(2)>=0.5_EB*DX(0 ) .OR. &
11975+ XB_MESH(3)-YF>=0.5_EB*DY(JBP1 ) .OR. YS-XB_MESH(4)>=0.5_EB*DY(0 ) .OR. &
11976+ XB_MESH(5)-ZF>=0.5_EB*DZ(KBP1 ) .OR. ZS-XB_MESH(6)>=0.5_EB*DZ(0 )) REJECT_VENT = .TRUE.
1197711977
1197811978 IF (ABS(XB_MESH(1)-XB_MESH(2))<=SPACING(XB_MESH(2))) THEN
1197911979 IF (J1==J2 .OR. K1==K2) REJECT_VENT=.TRUE.
You can’t perform that action at this time.
0 commit comments