Skip to content

Commit 5e1c841

Browse files
committed
FDS Source: fix error trap failure in debug mode
1 parent de959bd commit 5e1c841

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Source/read.f90

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12465,9 +12465,11 @@ SUBROUTINE READ_VENT
1246512465

1246612466
! Check UVW
1246712467

12468-
IF (ABS(VT%UVW(ABS(VT%IOR))) < TWO_EPSILON_EB .AND. .NOT.VT%GEOM) THEN
12469-
WRITE(MESSAGE,'(3A)') 'ERROR(821): VENT ',TRIM(VT%ID),' cannot have normal component of UVW equal to 0.'
12470-
CALL SHUTDOWN(MESSAGE,PROCESS_0_ONLY=.FALSE.) ; RETURN
12468+
IF (.NOT.VT%GEOM) THEN
12469+
IF (ABS(VT%UVW(ABS(VT%IOR))) < TWO_EPSILON_EB) THEN
12470+
WRITE(MESSAGE,'(3A)') 'ERROR(821): VENT ',TRIM(VT%ID),' cannot have normal component of UVW equal to 0.'
12471+
CALL SHUTDOWN(MESSAGE,PROCESS_0_ONLY=.FALSE.) ; RETURN
12472+
ENDIF
1247112473
ENDIF
1247212474

1247312475
! Special treatment for coloring GEOM surface with HVAC_BOUNDARY

0 commit comments

Comments
 (0)