We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d44096a commit 2dadb16Copy full SHA for 2dadb16
source/MoorDyn2.cpp
@@ -1098,9 +1098,10 @@ moordyn::MoorDyn::ReadInFile()
1098
// node (so water depth input is optional)
1099
// TODO - this probably doesn't care about 3d seafloor?
1100
// Note - this is not in MD-F
1101
- if (r0[2] < -env->WtrDpth)
+ if (r0[2] < -env->WtrDpth) {
1102
env->WtrDpth = -r0[2];
1103
LOGWRN << "\t Water depth set to point " << PointList.size() << " z position because point was specified below the seabed" << endl;
1104
+ }
1105
1106
LOGDBG << "\t'" << number << "'"
1107
<< " - of type " << Point::TypeName(type) << " with id "
0 commit comments