Skip to content

Commit d10c1e4

Browse files
fix(python): The time is not required on moordyn.GetWavesKin() anymore
1 parent a2ff8d7 commit d10c1e4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wrappers/python/moordyn/moordyn.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,15 +716,14 @@ def SaveVTK(instance, filename):
716716
# =============================================================================
717717

718718

719-
def GetWavesKin(instance, x, y, z, t, seafloor=None):
719+
def GetWavesKin(instance, x, y, z, seafloor=None):
720720
""" Get the wave kinematics
721721
722722
Parameters:
723723
instance (cmoordyn.MoorDynWaves): The waves instance
724724
x (float): The x coordinate
725725
y (float): The y coordinate
726726
z (float): The z coordinate
727-
t (float): The simulation time
728727
seafloor (cmoordyn.MoorDynSeafloor): The 3D seafloor instance
729728
730729
Returns:
@@ -734,7 +733,7 @@ def GetWavesKin(instance, x, y, z, t, seafloor=None):
734733
pdyn: The dynamic pressure
735734
"""
736735
import cmoordyn
737-
return cmoordyn.waves_getkin(instance, x, y, z, t, seafloor)
736+
return cmoordyn.waves_getkin(instance, x, y, z, seafloor)
738737

739738

740739
# Seafloor.h

0 commit comments

Comments
 (0)