Commit Graph

51 Commits

Author SHA1 Message Date
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
Luz Angelica Caudillo Mata 4537b8a6f7 Minutes in HTML format 2013-07-11 13:55:51 -07:00
Luz Angelica Caudillo Mata f06bcb0464 Minutes of SimPEG meeting 2013-07-11 13:46:40 -07:00
David Marchant 7c889f67dd Merged in gridToMesh (pull request #2)
Merge grid into the mesh class.
2013-07-11 12:37:24 -07:00
Rowan Cockett ba4e0a915e Merge grid into the mesh class. 2013-07-11 12:33:14 -07:00
SEOGI KANG 6bf4ac0be4 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg 2013-07-10 23:22:47 -07:00
Rowan Cockett b33b04d9a6 Improved ndgrid, and pushed unused utilities to EldadsCode folder.
ndgrid returns vectors in a matrix by default, but input kwarg of vector=False, and you can return the matrices.
2013-07-10 17:41:50 -07:00
SEOGI KANG 18fd590eff Generating 3D divergence matrix: getDIV.py
Some funtions for sparse matrix: sputils.py -> Updated we've discussed before
Test example for divergence
2013-07-10 17:10:54 -07:00
Lars Ruthotto f359e70662 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg 2013-07-10 09:07:34 -07:00
rowanc1 d4df6b4ce0 Merged in ReOrg (pull request #1)
Code re-organization
2013-07-09 22:02:34 -07:00
Rowan Cockett 68b4719aea Ability to run all tests at once.
Removed __init__.py

added runTests.py and .sh so that we can run all tests at one time.
2013-07-09 22:00:17 -07:00
Dave Marchant e2fa98602c Moved code not being used in new code to it's own directory. 2013-07-09 21:38:17 -07:00
Rowan Cockett 8e3e0e0faa TensorMesh now inherits BaseMesh (worked with Luz!)
tests for tensorMesh and utils (e.g. ndgrid) are included and pass

Split the TensorMesh into Grid and View
2013-07-09 19:50:40 -07:00
Rowan Cockett 6c4910a157 Base Mesh Documentation 2013-07-09 19:46:50 -07:00
Rowan Cockett e9d41ab95f Changed Mesh to BaseMesh.
Added conventions of n{C-F-E}{x-y-z} so mesh.nCx will return the number of cells in the x direction.

Added a unitTest to ensure the mesh dimensions.
2013-07-05 16:00:19 -07:00
Luz Angelica Caudillo Mata 13325e63fc Implements the first draft of the TensorMesh class with basic visualization functions. It works for 1, 2 and 3 dimensions. Provides nodal, cell centers and staggered grids. 2013-07-02 12:59:02 -07:00
Lars Ruthotto 3ef293b19e added derivative check 2013-06-19 17:40:30 -07:00
Lars Ruthotto 70a143031b Generalized Gauss Newton by using Lambda Functions 2013-06-19 12:39:00 -07:00
Lars Ruthotto 48cd71b707 GaussNewton example for Rosenbrock function ( to be generalized!!) 2013-06-19 12:14:56 -07:00
Rowan Cockett 668b84b7ee Testing framework.
Numbering of the mesh is tested so far.
2013-06-11 16:21:03 +02:00
Rowan Cockett 91132fd737 Mesh Class
simple as:

myMesh = Mesh([5, 4])

myMesh.nfaces
2013-06-11 16:20:10 +02:00
Rowan Cockett 1251440021 Initial Cleanup of Code.
No major changes. (duplicate code, and python conventions)
2013-06-11 16:18:15 +02:00