From 01b1122fcff1be9034e3a5f7ffd7841b6f74859e Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Thu, 14 Jan 2016 15:12:09 -0800 Subject: [PATCH] Add default interpolation location (CC). --- SimPEG/Mesh/TensorMesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimPEG/Mesh/TensorMesh.py b/SimPEG/Mesh/TensorMesh.py index c76306fe..5ea2d86a 100644 --- a/SimPEG/Mesh/TensorMesh.py +++ b/SimPEG/Mesh/TensorMesh.py @@ -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