Skip to content

Commit

Permalink
FDS Source: Issue firemodels#12026. Slight change in logic to prevent…
Browse files Browse the repository at this point in the history
… unwanted action
  • Loading branch information
mcgratta committed Aug 4, 2023
1 parent 452377e commit 2f048be
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Source/part.f90
Original file line number Diff line number Diff line change
Expand Up @@ -994,10 +994,13 @@ SUBROUTINE INSERT_VOLUMETRIC_PARTICLES

! If the INIT volume is outside the current mesh, return

IF (IN%SHAPE/='RING' .AND. IN%SHAPE/='LINE' .AND. &
(IN_X1>XF*ONE_M_EPS .OR. IN_X2<XS*ONE_P_EPS .OR. &
IN_Y1>YF*ONE_M_EPS .OR. IN_Y2<YS*ONE_P_EPS .OR. &
IN_Z1>ZF*ONE_M_EPS .OR. IN_Z2<ZS*ONE_P_EPS)) RETURN
IF (IN%SHAPE/='RING' .AND. IN%SHAPE/='LINE') THEN
IF (IN_X1>XF*ONE_M_EPS .OR. IN_X2<XS*ONE_P_EPS .OR. &
IN_Y1>YF*ONE_M_EPS .OR. IN_Y2<YS*ONE_P_EPS .OR. &
IN_Z1>ZF*ONE_M_EPS .OR. IN_Z2<ZS*ONE_P_EPS) RETURN
ELSE
IF (IN_X1>XF .OR. IN_X2<XS .OR. IN_Y1>YF .OR. IN_Y2<YS .OR. IN_Z1>ZF .OR. IN_Z2<ZS) RETURN
ENDIF

! Skip mesh that is contained completely within a ring

Expand Down

0 comments on commit 2f048be

Please sign in to comment.