Skip to content

Commit

Permalink
Updates to MeshSlice view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rowan Cockett committed Nov 20, 2015
1 parent c775917 commit 1a43600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions SimPEG/Mesh/TreeMesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,6 @@ def _createNumberingSets(self, force=False):

self.__dirtySets__ = False


def _numberCells(self, force=False):
if not self.__dirtyCells__ and not force: return
self._cc2i = dict()
Expand Down Expand Up @@ -1418,7 +1417,6 @@ def edgeCurl(self):
self._edgeCurl = Rf_ave*Utils.sdiag(1.0/S)*C*Utils.sdiag(L)*Re
return self._edgeCurl


@property
def nodalGrad(self):
if getattr(self, '_nodalGrad', None) is None:
Expand Down Expand Up @@ -1760,7 +1758,6 @@ def aveN2CC(self):
self._aveN2CC = Av*Re
return self._aveN2CC


def _getFaceP(self, xFace, yFace, zFace):
ind1, ind2, ind3 = [], [], []
for ind in self._sortedCells:
Expand Down Expand Up @@ -1864,7 +1861,6 @@ def point2index(self, locs):
break
return out


def getInterpolationMat(self, locs, locType, zerosOutside=False):
""" Produces interpolation matrix
Expand Down Expand Up @@ -2101,7 +2097,7 @@ def plotSlice(self, v, vType='CC',
ax=None, clim=None, showIt=False,
pcolorOpts={},
streamOpts={'color':'k'},
gridOpts={'color':'k'}):
gridOpts={'color':'k', 'alpha':0.5}):

assert vType in ['CC','F','E']
assert self.dim == 3
Expand Down
2 changes: 1 addition & 1 deletion SimPEG/Mesh/View.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def plotSlice(self, v, vType='CC',
ax=None, clim=None, showIt=False,
pcolorOpts={},
streamOpts={'color':'k'},
gridOpts={'color':'k'}
gridOpts={'color':'k', 'alpha':0.5}
):

"""
Expand Down

0 comments on commit 1a43600

Please sign in to comment.