|
FhSim
3.1.0
Marine systems simulation
|
| Class | TEST |
| Severity | 1 |
| Status | ready |
Models: Net/NetStructure
Found: 2026-09-30 review of f42360e..a6492d6 (four parallel correctness reviews)
Decision needed: —
tests/NetStructure_BottomContact_Test.cpp:108 (PortCarriesTheSeafloorForceAndMoment) puts the nodes at x = 0 with a purely vertical stub seafloor force, so only M_x is non-zero; the cross-product terms for M_y and M_z (src/net/NetStructure.cpp:744-746) are correct by reading but untested.
A sign or index error in M_y or M_z would pass.
Move one node off x = 0 and give the stub seafloor a horizontal (friction) component.
The test itself; swap two cross-product terms to see it fail.
None.