Commit Graph

6 Commits

Author SHA1 Message Date
Rowan Cockett 24b1307d8a Tested averaging operators. 2013-11-06 12:43:17 -08:00
Rowan Cockett 7cf8ef2310 Moved testing code to the test directory. added __init__.py and some documentation. 2013-10-03 14:55:22 -07:00
Rowan Cockett b0760f577f 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
2013-08-09 17:30:57 -07:00
Rowan Cockett 43d2512aea Updated the test_operators code to work for LOM. need to be careful in which error metric you consider (because some only make sense under integration)
i.e. the l-2 norm rather than the infinity norm, and you need to multiply by the integration length/area/volume it you are looking at the l-2 norm.
2013-08-06 17:18:04 -07:00
Rowan Cockett 262aacce85 Update tests with new calls. Note that there seem to be problems with rotateLOM on some operator tests. 2013-08-06 15:09:01 -07:00
Rowan Cockett e073eaeb8b Innerproduct work. Testing, visualization, and 2D - NOTE there are bugs in anything but a uniform LOM
Not very helpful yet!
2013-08-05 11:51:03 -07:00