diff --git a/Flow_class.py b/Flow_class.py index b6fdf6eec0c6ed919598b169eb1e00f490b5eca1..f7e2b6c76a9bb581d069a585a3b14b9c028147b2 100644 --- a/Flow_class.py +++ b/Flow_class.py @@ -234,8 +234,10 @@ class Elbow_profile(): self.regint_ux = [] self.regint_uy = [] self.regint_uz = [] - methodstr = 'linear' + methodstr = 'linear' # 'linear' 'cubic' or 'quintic' are possible # the spline interpolation attention it can only evaluate ordered input arrays + # RegularGridInterpolator can also handle multiple output values --> all modes a loop is not neccessary!!!!! + # to do: Remove the loops, regint is not a list but a interpolater object if case=="SingleElbow": for i in range(0,self.Nmodes): # self.splineint_ux.append(interpol.RectBivariateSpline(self.dist,self.Rk,self.dl,pod_x["coeffs"][:,:,i].T,kx= polydeg,ky=polydeg ))