Skip to content

Commit 30d14bd

Browse files
authored
Merge pull request #13916 from drjfloyd/master
FDS Source: Fix array assignment for new SWORK allocation Issue #13913
2 parents 68b645b + 0685dbf commit 30d14bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/fire.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,7 +1617,7 @@ SUBROUTINE CONDENSATION_EVAPORATION(DT,NM)
16171617
CALL POINT_TO_MESH(NM)
16181618

16191619
ZZ_INTERIM=> SWORK1
1620-
ZZ_INTERIM = ZZ
1620+
ZZ_INTERIM(:,:,:,1:) = ZZ(:,:,:,1:) ! Lower bound may be zero for MW flux correction
16211621
RHO_INTERIM => WORK1
16221622
RHO_INTERIM = RHO
16231623
TMP_INTERIM => WORK2

Source/part.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3634,7 +3634,7 @@ SUBROUTINE PARTICLE_MASS_ENERGY_TRANSFER(T,DT,NM)
36343634

36353635
RHO_INTERIM => WORK1 ; RHO_INTERIM = RHO
36363636
TMP_INTERIM => WORK2 ; TMP_INTERIM = TMP
3637-
ZZ_INTERIM => SWORK1 ; ZZ_INTERIM = ZZ
3637+
ZZ_INTERIM => SWORK1 ; ZZ_INTERIM(:,:,:,1:) = ZZ(:,:,:,1:)
36383638

36393639
ENDIF
36403640

0 commit comments

Comments
 (0)