mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-29 20:17:38 +08:00
Add default interpolation location (CC).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user