Skip to content
Snippets Groups Projects
Commit 995ca43e authored by Andreas Weissenbrunner's avatar Andreas Weissenbrunner
Browse files

prepare speedup for interpolation

parent 7a2e623d
Branches
No related tags found
No related merge requests found
......@@ -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 ))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment