Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions wrappers/python/moordyn/moordyn.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,15 +716,14 @@ def SaveVTK(instance, filename):
# =============================================================================


def GetWavesKin(instance, x, y, z, t, seafloor=None):
def GetWavesKin(instance, x, y, z, seafloor=None):
""" Get the wave kinematics

Parameters:
instance (cmoordyn.MoorDynWaves): The waves instance
x (float): The x coordinate
y (float): The y coordinate
z (float): The z coordinate
t (float): The simulation time
seafloor (cmoordyn.MoorDynSeafloor): The 3D seafloor instance

Returns:
Expand All @@ -734,7 +733,7 @@ def GetWavesKin(instance, x, y, z, t, seafloor=None):
pdyn: The dynamic pressure
"""
import cmoordyn
return cmoordyn.waves_getkin(instance, x, y, z, t, seafloor)
return cmoordyn.waves_getkin(instance, x, y, z, seafloor)


# Seafloor.h
Expand Down
Loading