Commit dce0d2d
authored
Stage damage details bug (#1313)
This PR addresses issues in a user's study where the structure details
out file did not match the calculated damages. There are two changes
related to this
- The structure damage details went through a different code path to get
WSEs and depths than the compute, and that path did not include the
"barely dry adjustment". The new one does. No data values are now 9 feet
down from the ground like we'd expect.
- The loading of a structure inventory used to check for a FFE, and
calculate it from Found. ht. and ground elev only if it didn't exist.
This missed a case where the user actually set FFE, but indicated in the
UI to calculate the value anyway. This change solved the issue.1 parent edfa195 commit dce0d2d
3 files changed
Lines changed: 57 additions & 17 deletions
File tree
- HEC.FDA.ModelTest/unittests
- HEC.FDA.Model
- Spatial
- stageDamage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
656 | | - | |
657 | | - | |
658 | | - | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
659 | 662 | | |
660 | 663 | | |
661 | 664 | | |
662 | | - | |
| 665 | + | |
663 | 666 | | |
664 | | - | |
665 | | - | |
| 667 | + | |
666 | 668 | | |
667 | 669 | | |
668 | 670 | | |
| |||
731 | 733 | | |
732 | 734 | | |
733 | 735 | | |
734 | | - | |
| 736 | + | |
735 | 737 | | |
736 | | - | |
| 738 | + | |
737 | 739 | | |
738 | | - | |
739 | | - | |
740 | | - | |
| 740 | + | |
| 741 | + | |
741 | 742 | | |
742 | 743 | | |
743 | 744 | | |
| |||
746 | 747 | | |
747 | 748 | | |
748 | 749 | | |
749 | | - | |
| 750 | + | |
750 | 751 | | |
751 | | - | |
| 752 | + | |
752 | 753 | | |
753 | | - | |
754 | | - | |
755 | | - | |
| 754 | + | |
| 755 | + | |
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
280 | 318 | | |
281 | 319 | | |
282 | 320 | | |
| |||
0 commit comments