Skip to content

Commit

Permalink
Add transition rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
nealkruis committed Feb 21, 2020
1 parent 5e06222 commit e3fc456
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Transition/CreateNewIDFUsingRulesV9_3_0.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,28 @@ SUBROUTINE CreateNewIDFUsingRules(EndOfFile,DiffOnly,InLfn,AskForInput,InputFile

! If your original object starts with S, insert the rules here

CASE('SHADOWCALCULATION')
ObjectName = "ShadowCalculation"
CALL GetNewObjectDefInIDD(ObjectName,NwNumArgs,NwAorN,NwReqFld,NwObjMinFlds,NwFldNames,NwFldDefaults,NwFldUnits)
IF (SameString(InArgs(6),"ScheduledShading")) THEN
OutArgs(1)="Scheduled"
ELSE IF (SameString(InArgs(6),"ImportedShading")) THEN
OutArgs(1)="Imported"
ELSE
OutArgs(1)="PolygonClipping"
END IF
IF (SameString(InArgs(1),"AverageOverDaysInFrequency")) THEN
OutArgs(2)="Periodic"
ELSE IF (SameString(InArgs(1),"TimestepFrequency")) THEN
OutArgs(2)="Timestep"
END IF
OutArgs(3:5) = InArgs(2:4)
OutArgs(6) = Blank
OutArgs(7) = InArgs(5)
OutArgs(8:NwNumArgs) = InArgs(7:NumArgs)
CurArgs = CurArgs + 1
NoDiff = .false.

! If your original object starts with T, insert the rules here

! If your original object starts with U, insert the rules here
Expand Down

1 comment on commit e3fc456

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

penumbra-integration (nealkruis) - x86_64-MacOS-10.13-clang: OK (2673 of 2674 tests passed, 681 test warnings)

Messages:\n

  • 681 tests had: EIO diffs.

Failures:\n

EnergyPlusFixture Test Summary

  • Passed: 787
  • Failed: 1

Build Badge Test Badge

Please sign in to comment.