Commit Graph

2272 Commits

Author SHA1 Message Date
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 079acb1153 volume in 2D by calculating faceInfo (in utils for now.) 2013-07-26 16:38:12 -07:00
Rowan Cockett fe547476c9 IndexCube now in Utils 2013-07-26 15:56:21 -07:00
Rowan Cockett b4bb1024e4 Merge branch 'eldadswork' of https://bitbucket.org/rcockett/simpeg into LOM
Conflicts:
	SimPEG/utils.py
2013-07-26 15:33:35 -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
Rowan Cockett 1909af1775 Error checking and volume. 2013-07-26 11:40:36 -07:00
ehaber99 87331c4c92 mass matrices for anisotropic sigma 2013-07-26 11:22:52 -07:00
Rowan Cockett de0f5a7b1f Cleaned up utility codes. 2013-07-24 15:36:28 -07:00
Rowan Cockett 815a311dc9 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into LOM 2013-07-24 14:15:53 -07:00
rowanc1 58fdc7a7e5 Merged in diffOperators (pull request #5)
Reshaping function in base mesh
2013-07-24 14:14:49 -07:00
Rowan Cockett dc9a92c83a Cell centered grid working in LOM 2013-07-24 12:25:31 -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 0d298af1d7 Initial commit of Logically orthogonal mesh. 2013-07-23 19:35:57 -07:00
Rowan Cockett 51390a335c Changed fig.show() to plt.show() to ensure that the kernel always waits for the plot to show. 2013-07-23 11:17:55 -07:00
Luz Angelica Caudillo Mata bffbabf391 Plotting functionality working. 2013-07-22 16:35:23 -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 22cfc6181c fixed bug in plotImage 2013-07-22 16:20:02 -07:00
Luz Angelica Caudillo Mata c8237cfeff Includes plotting functionally. This code doesn't show the right image. It needs to be reviewed. 2013-07-22 16:16:16 -07:00
Luz Angelica Caudillo Mata 7b9ca74465 Implementation 3 conductivity models: block, 2 layered, analytic expression. 2013-07-22 15:27:35 -07:00
Lars Ruthotto 74dcdeebc5 Merged in diffOperators (pull request #4)
Differential Operators are now working.
2013-07-22 15:13:37 -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 4e1e56b15a Merged in plotImage (pull request #3)
plotImage
2013-07-16 14:15:04 -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
Rowan Cockett 200d0df157 Two bug fixes, and better visualizations! 2013-07-12 12:08:17 -07:00
Lars Ruthotto d0de9afacb 1D/2D plotting works! 2013-07-12 11:43:31 -07:00
Lars Ruthotto 193467f728 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg 2013-07-12 10:42:34 -07:00
Rowan Cockett e629c3b897 Bug fix. 2013-07-12 10:41:45 -07:00
Lars Ruthotto 46ffaea904 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg 2013-07-12 10:20:28 -07:00