mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-29 09:23:21 +08:00
EdgeCurl Assertion. Only programmed for 3D currently...
This commit is contained in:
@@ -422,6 +422,7 @@ class DiffOperators(object):
|
||||
|
||||
def fget(self):
|
||||
if(self._edgeCurl is None):
|
||||
assert self.dim > 2, "Edge Curl only programed for 3D."
|
||||
# The number of cell centers in each direction
|
||||
n1 = self.nCx
|
||||
n2 = self.nCy
|
||||
|
||||
Reference in New Issue
Block a user