Put utils in their own folder. Increases organization, and everything will be available under SimPEG.utils

NOTE: if you add a new function (or file), you must register it in __init__.py for it to be available under:

e.g.
...
from utils import mkvc, …
...
from MYNEWFILE import MYNEWFUNCTION
This commit is contained in:
Rowan Cockett
2013-08-09 17:30:57 -07:00
parent 859319d300
commit b0760f577f
11 changed files with 258 additions and 258 deletions
+3
View File
@@ -0,0 +1,3 @@
from utils import getSubArray, mkvc, ndgrid, ind2sub, sub2ind
from sputils import spzeros, kron3, speye, sdiag
from lomUtils import volTetra, faceInfo, inv2X2BlockDiagonal, inv3X3BlockDiagonal, indexCube, exampleLomGird