Commit Graph

57 Commits

Author SHA1 Message Date
Rowan Cockett 7d3e41d591 removedFWI example to merge into master. 2013-11-12 13:55:03 -08:00
Rowan Cockett 5248ac81ce Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into seismicExample
Conflicts:
	docs/api_TestResults.rst
2013-11-12 13:43:06 -08:00
Rowan Cockett 1f13a74bb9 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into BoundConstraint
Conflicts:
	.gitignore
	SimPEG/utils/__init__.py
2013-11-12 11:24:40 -08:00
Rowan Cockett 15e0126172 Updates to Optimization Framework. Testing. Bug Fixes. 2013-11-12 11:09:51 -08:00
Rowan Cockett d3f38047e4 Multiple RHSs on solvers in Fortran. ~2x speed up on matlab implementation for a single RHS. for multiple RHS there are still some problems.
Someone with some knowledge of how fortran works should look at this code.

Added a setup.py script that complies things. f2py should work on most computers, because it is included in the numpy distribution.
2013-11-12 10:36:20 -08:00
Rowan Cockett ea5dc21517 Fortran Solvers. Faster than Matlab!!
Need to implement multiple RHSs.
2013-11-10 17:38:23 -08:00
Rowan Cockett ded738b077 Changes to evalFunction. and more extensible calls in startup and endIteration 2013-11-07 12:27:07 -08:00
Rowan Cockett 24b1307d8a Tested averaging operators. 2013-11-06 12:43:17 -08:00
Rowan Cockett abca84b954 Issue #25 renamed nF and nE to nFv nEv 2013-11-06 11:16:01 -08:00
Rowan Cockett 22f1ff9f74 initial notebook laying out the problem of bound constraints. 2013-11-06 10:57:13 -08:00
Rowan Cockett a241f14e2a updates to runTests.py 2013-11-05 16:11:49 -08:00
Rowan Cockett ebf8f23abc Document the Test results 2013-11-05 15:43:16 -08:00
Rowan Cockett 9b00617e3f Documentation updates. 2013-11-05 10:32:43 -08:00
Rowan Cockett 51a539a291 Generalized to any dimension. Tested. 2013-11-04 18:17:01 -08:00
Rowan Cockett d063c2ccb8 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into Interpolation_TensorMesh 2013-11-04 16:26:18 -08:00
Rowan Cockett 967eb1216f Testing N and CC as well. Updates to TestOrder 2013-11-04 16:25:57 -08:00
Rowan Cockett 592490844d Testing Functions for interpolation. 2013-11-04 16:05:16 -08:00
Rowan Cockett 6f141ecaf2 Updates to DCProblem and testing. 2013-11-04 15:11:10 -08:00
Rowan Cockett 831eca5022 Some documentation. 2013-10-30 23:28:14 -06:00
Rowan Cockett c33c9bee55 Added forward and backwards solvers implemented in python. Added tests for direct solvers. 2013-10-30 22:42:25 -06:00
Rowan Cockett 2a8f43aa10 Inversion Framework - a start.. 2013-10-22 19:42:38 -07:00
Rowan Cockett db694dd780 moved to mesh folder. 2013-10-18 17:22:13 -07:00
Rowan Cockett fb69446cfb Testing problem and DCProblem. 2013-10-03 15:15:08 -07: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 e11a3ccf65 Bug Fixes in TensorView and test_utils
Updated ipnbs
2013-08-30 21:34:15 -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 4b545fb1b7 Cleaned up projection code and put it in LOM. 2013-08-05 17:16:01 -07:00
Rowan Cockett 83fe9df743 Ha. Not a bug, the test was wrong. Must project the components of the field. 2013-08-05 16:48:05 -07:00
Rowan Cockett 3d936e07a1 Edge Inner products in 2D NOTE: still has bugs. 2013-08-05 12:16:55 -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
Rowan Cockett e2e38074fc Order Test must incorporate different meshes. Current test fails, must support 2D mass matrices. 2013-08-04 07:56:25 -07:00
Rowan Cockett 26b334585f EdgeInnerProducts now working for LOM
Fixed DiffOps bug in CURL

Fixed bug in OrderTest --> must remember to do cumSum, and not just supply dx to ndgrid

test_massMatrices now tests uniformLOM
2013-08-03 16:39:34 -07:00
Rowan Cockett cc66eaf9fd Testing of LOM (comparing against Tensor Mesh) 2013-08-03 16:08:54 -07:00
Rowan Cockett 9ca9c20731 Modified innerProducts so they have defaults, and you have to explicitly ask for the projection matrices. 2013-08-03 13:57:00 -07:00
Rowan Cockett 34e380ccb9 edge and tangent calculating, along with testing functions. 2013-07-31 15:07:14 -07:00
Rowan Cockett b07256bbc5 Merge branch 'eldadswork' of https://bitbucket.org/rcockett/simpeg into LOM
Conflicts:
	SimPEG/utils.py
2013-07-31 11:30:57 -07:00
Rowan Cockett 4660b177a1 Names in tests. 2013-07-30 22:48:27 -07:00
Rowan Cockett 9573c6c230 Tested face and edge inner products for anisotropic, isotropic and tensor sigma. 2013-07-30 22:40:10 -07:00
Rowan Cockett c259a6651a Integrated getEdge/FaceInnerProduct into the tensor mesh class. 2013-07-30 22:12:53 -07:00
Rowan Cockett d8f646c7d9 Updates to OrderTest so that it runs random meshes. 2013-07-30 21:49:23 -07:00
Rowan Cockett fe547476c9 IndexCube now in Utils 2013-07-26 15:56:21 -07:00
Rowan Cockett 5c83095781 Minor changes and comments. 2013-07-26 14:30:04 -07:00
Rowan Cockett 90bf6d3139 Refactored and cleaned up code. 2013-07-26 13:56:05 -07:00
Rowan Cockett 4186d9b5d0 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into eldadswork 2013-07-26 12:12:06 -07:00
Rowan Cockett 150cbc7df3 Test for edge inner products working. 2013-07-26 12:11:45 -07:00
ehaber99 87331c4c92 mass matrices for anisotropic sigma 2013-07-26 11:22:52 -07:00
Rowan Cockett 8ed0fd116e Added a reshape class. This is useful if you want to quickly go from a vector to a matrix, or you want a single component of a unshaped vector.
Has documentation and tests included.
2013-07-24 11:36:53 -07:00
Lars Ruthotto 50f40c743d added comments 2013-07-22 15:12:34 -07:00