From e41f57cf6f50646fee1a7b87feedd109ef06b14e Mon Sep 17 00:00:00 2001 From: Jose Luis Cercos-Pita Date: Wed, 27 Nov 2024 12:06:51 +0100 Subject: [PATCH] fix(python): The time is not required on moordyn.GetWavesKin() anymore --- wrappers/python/moordyn/moordyn.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wrappers/python/moordyn/moordyn.py b/wrappers/python/moordyn/moordyn.py index e10bbdbb..0044eb09 100644 --- a/wrappers/python/moordyn/moordyn.py +++ b/wrappers/python/moordyn/moordyn.py @@ -716,7 +716,7 @@ 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: @@ -724,7 +724,6 @@ def GetWavesKin(instance, x, y, z, t, seafloor=None): 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: @@ -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