ehaber99
caaa7dcb41
made the inner products easy to use to get the derivatives with respect to conductivity/mu
2013-08-03 10:23:35 -07:00
ehaber99
24773c4f60
my first attempt at a wrapper to overcome some of numpy issues
2013-08-03 02:07:15 -07:00
ehaber99
f41463b241
need more work but its closer
2013-08-02 01:51:46 -07:00
ehaber99
ec4358d872
corrected bugs
2013-08-02 01:51:10 -07:00
ehaber99
dcae030d81
1. Added output for the edgeInnerProduct so we can use it in the derivative phase
...
2. The getMisfit may be working but needs a little bit more work
We need to go through our code to make sure that all vectors that can be multiplied by a matrix are set to
vec = mkvc(vec,2)
2013-08-02 00:18:46 -07:00
ehaber99
444feca101
initial forward EM
2013-08-01 15:05:12 -07:00
Rowan Cockett
7e169bbb79
Cleaned utils code, merged in subArray.
2013-07-30 22:56:36 -07:00
Rowan Cockett
68e44cca5a
Deleted massMatrices.py
...
This code is not working and is repeated in InnerProducts.py
2013-07-30 22:52:37 -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
ehaber99
1fca1b894e
fixed interpmat need more testing
2013-07-29 12:47:41 -07:00
ehaber99
f7713656ef
Added interpolation matrix. Not sure its working since my canopy is playing tricks
2013-07-27 17:36:00 -07:00
ehaber99
05ddf93d64
Added getFaceInnerProduct and getInnerProduct that puts the edge and face mass matrices together
2013-07-27 16:11:24 -07:00
Rowan Cockett
5c83095781
Minor changes and comments.
2013-07-26 14:30:04 -07:00
Rowan Cockett
c8633881fb
Support for isotropic sigma
2013-07-26 14:19:44 -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
Rowan Cockett
f439a6d017
Updated TensorMesh __main__ so that it works with new standards.
2013-07-22 16:25:34 -07:00
Lars Ruthotto
50f40c743d
added comments
2013-07-22 15:12:34 -07:00
Rowan Cockett
f86ebe12db
Added Poisson Equation Tests.
...
Forwards and Backwards.
2013-07-22 13:40:18 -07:00
Rowan Cockett
d0efdb509c
Created an OrderTest class
...
This creates a testable framework so that we can easily test order of convergence on things like operators by just writing the guts of the code.
Merged Seogi's code into this framework.
2013-07-22 12:26:17 -07:00
Rowan Cockett
a6f2a512ae
Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into diffOperators
2013-07-19 15:52:58 -07:00
Rowan Cockett
b1f41c14a5
Mass Matrices. Merged eldad's code.
2013-07-19 15:51:53 -07:00
Rowan Cockett
3eec485adc
Merge branch 'diffOperators' of https://bitbucket.org/rcockett/simpeg into diffOperators
2013-07-19 14:51:34 -07:00
Rowan Cockett
906d7d210f
Cell Centered Grad, and Div in 3D
2013-07-19 14:51:23 -07:00
ehaber99
ffb78fea10
added mass matrix
2013-07-19 14:43:15 -07:00
Rowan Cockett
f626cedfb8
Bug fixes to do with array sizes.
...
Incorporated eldads outer product code
2013-07-19 11:24:14 -07:00
Lars Ruthotto
b200ab2736
Merge branch 'master' of https://bitbucket.org/rcockett/simpeg
2013-07-18 14:26:11 -07:00
Lars Ruthotto
565e9cf363
plotImage can now handle face and edge staggered input
...
removed strange axes in plotImage
2013-07-18 14:25:19 -07:00
Rowan Cockett
c9dc29bf89
Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into diffOperators
...
Conflicts:
SimPEG/sputils.py
Resolved conflicts.
2013-07-18 14:08:44 -07:00
Rowan Cockett
1c48365497
Rename based on conventions discussed in meeting.
2013-07-18 14:03:41 -07:00
Rowan Cockett
ef557beb84
Merged Seogi's code into the Tensor Mesh code base.
...
This is under the DiffOperators class, which can be inherited with BaseMesh to any Mesh Object.
Cell area and other dimension calculations are included in the TensorMesh class.
Wrote unit tests for cell vol, area, and edges.
2013-07-18 10:41:58 -07:00
ehaber99
12b84d14ee
A few more changes - added mass matrices as well as name conventions
2013-07-18 00:09:48 -07:00
ehaber99
1e68873aad
Added the curl and grad and changed the area,vol such that they can work with h as defined by the grid
2013-07-17 23:47:31 -07:00
Rowan Cockett
3680295e54
Deleted unused code.
2013-07-17 15:11:38 -07:00
SEOGI KANG
082df8f110
Testing differential operators (Div, Grad, Curl)
2013-07-17 15:03:56 -07:00
Lars Ruthotto
3a08d40e5c
3D plots working!
2013-07-12 15:56:00 -07:00
Lars Ruthotto
09b12ca52d
renamed folder 'code' to 'SimPEG'
...
new folder for ipython notebooks
improved 2D plots
2013-07-12 14:21:58 -07:00