Skip to content

Commit 56dc0bf

Browse files
committed
small fix from merge overwrites
1 parent faaed56 commit 56dc0bf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

famodel/mooring/mooring.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def __init__(self, dd=None, subsystem=None, anchor=None,
7878
Edge.__init__(self, id) # initialize Edge base class
7979
# Design description dictionary for this Mooring
8080
self.dd = dd
81-
self.dd_mod = None
8281

8382
# Load or save the mooring line property sizing function coefficients
8483
self.lineProps = lineProps # loadLineProps(lineProps)
@@ -902,13 +901,11 @@ def updateState(self, stateDict):
902901
# 4. Apply marine growth if specified
903902
if 'marineGrowth' in stateDict:
904903
mgDict = stateDict['marineGrowth']
905-
self.addMarineGrowth(mgDict,
906-
starting_ss=self.ss_mod,
907-
updateDepths=True)
904+
self.addMarineGrowth(mgDict)
908905

909906

910907
def addMarineGrowth(self, mgDict, starting_ss=None,
911-
updateDepths=False, tol=2, display=False):
908+
updateDepths=True, tol=2, display=False):
912909
'''Re-creates sections part of design dictionary to account for marine
913910
growth on the subystem, then calls createSubsystem() to recreate the line
914911

0 commit comments

Comments
 (0)