Skip to content

Commit 539236d

Browse files
authored
Merge pull request #13992 from ericvmueller/master
FDS Source: use Z_LS to build terrain files for both OBST and GEOM cases
2 parents 6cee736 + eb3f4de commit 539236d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Source/dump.f90

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -988,11 +988,7 @@ SUBROUTINE INITIALIZE_MESH_DUMPS(NM)
988988
ALLOCATE(OUT_OF_MESH(0:M%IBAR,0:M%JBAR)) ; OUT_OF_MESH = .FALSE.
989989
DO J=0,M%JBAR
990990
DO I=0,M%IBAR
991-
IF (CC_IBM) THEN
992-
Z_TERRAIN(I,J) = REAL(M%GEOM_ZMAX(I,J),FB)
993-
ELSE
994-
Z_TERRAIN(I,J) = REAL(0.25_EB*(M%Z_LS(I,J)+M%Z_LS(I+1,J)+M%Z_LS(I,J+1)+M%Z_LS(I+1,J+1)),FB)
995-
ENDIF
991+
Z_TERRAIN(I,J) = REAL(0.25_EB*(M%Z_LS(I,J)+M%Z_LS(I+1,J)+M%Z_LS(I,J+1)+M%Z_LS(I+1,J+1)),FB)
996992
IF (Z_TERRAIN(I,J)<M%ZS .OR. Z_TERRAIN(I,J)>M%ZF) OUT_OF_MESH(I,J) = .TRUE.
997993
ENDDO
998994
ENDDO

0 commit comments

Comments
 (0)