Add default interpolation location (CC).

This commit is contained in:
Rowan Cockett
2016-01-14 15:12:09 -08:00
parent 17348e14e4
commit 01b1122fcf
+1 -1
View File
@@ -215,7 +215,7 @@ class BaseTensorMesh(BaseMesh):
inside = inside & (pts[:,i] >= tensor.min()-TOL) & (pts[:,i] <= tensor.max()+TOL)
return inside
def getInterpolationMat(self, loc, locType, zerosOutside=False):
def getInterpolationMat(self, loc, locType='CC', zerosOutside=False):
""" Produces interpolation matrix
:param numpy.ndarray loc: Location of points to interpolate to