Skip to content

Commit

Permalink
Merge pull request #13976 from drjfloyd/master
Browse files Browse the repository at this point in the history
FDS Source: Don't check spacing for MO RAMPs. Issue #13975
  • Loading branch information
drjfloyd authored Jan 3, 2025
2 parents e5bc376 + 4c307c1 commit fe2fbee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/read.f90
Original file line number Diff line number Diff line change
Expand Up @@ -10203,7 +10203,8 @@ SUBROUTINE READ_RAMP
DO I=1,RP%NUMBER_INTERPOLATION_POINTS-1
TM = RP%INDEPENDENT_DATA(1) + REAL(I,EB)/RP%RDT
TLOOP: DO II=1,RP%NUMBER_DATA_POINTS-1
IF ((RP%INDEPENDENT_DATA(II+1)-RP%INDEPENDENT_DATA(II))*RP%RDT < 1._EB) DT_WARNING = .TRUE.
IF ((RP%INDEPENDENT_DATA(II+1)-RP%INDEPENDENT_DATA(II))*RP%RDT < 1._EB .AND. &
TRIM(RP%ID)/='RSRVD TEMPERATURE PROFILE' .AND. TRIM(RP%ID)/='RSRVD VELOCITY PROFILE' ) DT_WARNING = .TRUE.
IF (TM>=RP%INDEPENDENT_DATA(II) .AND. TM<RP%INDEPENDENT_DATA(II+1)) THEN
RP%INTERPOLATED_DATA(I) = RP%DEPENDENT_DATA(II) + (TM-RP%INDEPENDENT_DATA(II)) * &
(RP%DEPENDENT_DATA(II+1)-RP%DEPENDENT_DATA(II))/(RP%INDEPENDENT_DATA(II+1)-RP%INDEPENDENT_DATA(II))
Expand Down

0 comments on commit fe2fbee

Please sign in to comment.