Commit Graph

275 Commits

Author SHA1 Message Date
rowanc1 d81582cc50 Slice through a tensor mesh using a video. 2013-11-25 15:01:12 -08:00
rowanc1 facd291bea Make tensor mesh copy the h and list so that the outside h is not affected. 2013-11-25 14:59:52 -08:00
David Marchant 7ef3eb578f Merged in pyMumpsSolver (pull request #30)
Mumps backend in solver class.
2013-11-22 17:39:27 -08:00
rowanc1 4bd4c3cd81 bug fix, we were sourcing the wrong file. 2013-11-23 00:45:19 +00:00
Dave Marchant f5e3a4171d Raise an exception if name is not provided when hooking a lambda function. 2013-11-22 16:11:43 -08:00
Dave Marchant 1439052172 Multiple RHS using mumps backend. 2013-11-22 15:39:06 -08:00
Rowan Cockett 82f5a5660f Documentation on how I am picking the initial beta. 2013-11-22 14:06:22 -08:00
Rowan Cockett aae725ff05 TimeSteppingInversion and Estimate Initial Beta based on eigenvalues comparison. 2013-11-22 13:39:26 -08:00
Rowan Cockett c41b9f12e9 Documentation updates to optimize. Updated the hook method. 2013-11-22 11:58:31 -08:00
Rowan Cockett c5daa985d3 Merge branch 'develop' of https://bitbucket.org/rcockett/simpeg into develop 2013-11-22 10:51:35 -08:00
Rowan Cockett 6216ae977e Added hook method to utils so that we can hook new methods dynamically into the classes. 2013-11-22 10:51:01 -08:00
rowanc1 6c029e5e2c Added matplotlib into the startup. SimPEG needs it. 2013-11-22 01:26:22 +00:00
rowanc1 66050f474f Changed to generic bitbucket git repo. 2013-11-22 01:17:06 +00:00
rowanc1 d46a2aaf87 Merged in GCEtools (pull request #29)
Merge GCE tools.
2013-11-21 17:13:02 -08:00
Rowan Cockett dbaea1fda9 callHooks generalizes some of the hook calling code in Optimize and Inversion 2013-11-21 16:56:01 -08:00
Rowan Cockett 0bd971c22f Removed PubSub based communication. 2013-11-21 15:12:28 -08:00
Dave Marchant 623ff674ea Added pymumps direct solver backend. 2013-11-21 15:00:51 -08:00
Dave Marchant fff2375acd Moved scipy direct code to own function. 2013-11-21 14:34:32 -08:00
Rowan Cockett ef45abddbb Test results and bug fix. 2013-11-21 12:03:25 -08:00
Rowan Cockett 82edbf7a60 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into richards
Conflicts:
	SimPEG/inverse/Optimize.py
	SimPEG/regularization/Regularization.py
2013-11-21 11:56:12 -08:00
Rowan Cockett 95fd98c23e Remove Richards problem from SimPEG. This will be held in a different repo. 2013-11-21 11:52:41 -08:00
rowanc1 f87899465d Merged in boundaryConditions (pull request #25)
Cell Gradient and Boundary Conditions
2013-11-21 10:42:43 -08:00
rowanc1 86982e86da Merged in modelBuilder (pull request #26)
Create a random model
2013-11-21 10:42:00 -08:00
Dave Marchant 594bf20d5f Updated startup script. 2013-11-21 10:15:30 -08:00
Dave Marchant a595893f88 Simple startup script to install necessary software on google compute engine. 2013-11-20 22:46:38 -08:00
Rowan Cockett 2782a6fcfb Simple profiling through decorator functions. (counting and timing of functions decorated with @count and @timeIt that have a SimPEG.utils.Counter)
e.g. output:
‘’’
Counters:
  InexactGaussNewton.doEndIteration       :        6
  InexactGaussNewton.printIter            :        7
  InexactGaussNewton.scaleSearchDirection :        6

Times:                                        mean      sum
  InexactGaussNewton.findSearchDirection  : 1.55e-02, 9.29e-02,    6x
  InexactGaussNewton.minimize             : 1.10e-01, 1.10e-01,    1x
  InexactGaussNewton.modifySearchDirection: 2.89e-04, 1.73e-03,    6x
  InexactGaussNewton.projection           : 3.69e-06, 1.11e-04,   30x
  InexactGaussNewton.stoppingCriteria     : 1.16e-04, 1.51e-03,   13x
  Inversion.dataObj                       : 6.60e-05, 8.58e-04,   13x
  Inversion.dataObj2Deriv                 : 1.03e-04, 6.20e-03,   60x
  Inversion.dataObjDeriv                  : 5.06e-05, 3.54e-04,    7x
  Inversion.evalFunction                  : 7.75e-04, 1.01e-02,   13x
  Inversion.run                           : 1.10e-01, 1.10e-01,    1x
  Regularization.modelObj                 : 3.56e-04, 4.63e-03,   13x
  Regularization.modelObj2Deriv           : 1.29e-03, 7.76e-02,   60x
  Regularization.modelObjDeriv            : 5.01e-04, 3.51e-03,    7x
‘’’
2013-11-20 21:59:53 -08:00
Rowan Cockett 3015a78c32 Create a random model based on a convolution of a kernel and a random field. works in 1D 2D and 3D and has beautiful documentation. 2013-11-20 20:05:07 -08:00
Rowan Cockett 808036ddc8 Bug fixes in optimization. 2013-11-20 19:37:48 -08:00
Rowan Cockett 1c895f397d Set Mref in inversion. 2013-11-20 19:37:09 -08:00
Rowan Cockett 0afe42aa34 Bug fix in timeStep (must return something, not an error.) Minor updates to Optimize and Inversion. 2013-11-19 17:49:18 -08:00
Rowan Cockett b246b629a5 Merge branch 'BFGS' of https://bitbucket.org/rcockett/simpeg into richards 2013-11-19 17:46:48 -08:00
Rowan Cockett f71a6f8f06 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into richards
Conflicts:
	SimPEG/__init__.py
2013-11-19 17:46:02 -08:00
Rowan Cockett 500844ccb5 Brought BFGS into Optimize. updated InexactGaussNewton to use BFGS as a preconditioner. 2013-11-19 17:41:51 -08:00
Rowan Cockett 4472b39d6e Iterative Solvers in SimPEG.Solver 2013-11-19 16:00:36 -08:00
Rowan Cockett fc435feb9e BFGS implementation in the notebook. 2013-11-19 15:59:37 -08:00
Dave Marchant 514b709270 Added nNv property to baseMesh. 2013-11-19 12:27:08 -08:00
Rowan Cockett b6ec17a4d3 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into boundaryConditions
Conflicts:
	SimPEG/__init__.py
2013-11-18 12:33:09 -08:00
Rowan Cockett 1f3799caa0 Added try/catch on the vtk import for the documentation. Added small example at bottom of vtkView. 2013-11-18 12:19:56 -08:00
Rowan Cockett 3bf16fd2a7 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into visulization 2013-11-18 12:03:19 -08:00
Rowan Cockett a2c305e6bc Renamed module. 2013-11-18 11:56:35 -08:00
Dave Marchant 7d295dc57e Fix in example notebook. 2013-11-18 11:24:27 -08:00
Dave Marchant 8992f195a4 Added nCv property to BaseMesh and Cyl1DMesh classes. 2013-11-18 11:06:35 -08:00
Dave Marchant a950ba8dd1 Bug fix in emSources. Beginning to change Cyl1DMesh to be more comparable with TensorMesh/BaseMesh. 2013-11-18 10:54:54 -08:00
Gudni Karl Rosenkjaer 37bcf891be Fixed interface so the renderer uses Trackball interaction, extent and limits work.
Added a notebook, showing a simple example of using the vtkView
2013-11-17 14:31:44 -08:00
Gudni Karl Rosenkjaer 2a770f6fd4 Updated nF and nE 2013-11-15 16:18:50 -08:00
Gudni Karl Rosenkjaer 1a14ed3b04 Merge branch 'origin/master' 2013-11-15 16:14:25 -08:00
Rowan Cockett 278eec94ec Ensure that (1/dt) gives a float not an int. Use (1.0/dt). Added fullJ calculation. Tested Sensitivity. 2013-11-15 13:59:41 -08:00
Rowan Cockett e98e41f34c dpred 2013-11-15 10:10:10 -08:00
Gudni Karl Rosenkjaer c6be547121 Add vtkView.viewProp to indicate which model to view at any given time. No check wether the name or number exists as an array in the vtkView._vtkobj. 2013-11-15 09:42:06 -08:00
Gudni Karl Rosenkjaer 0cafa56104 Fixed code so that vtkView works for cell, edge and face. extent and limits work for the rendering as well. 2013-11-15 08:50:29 -08:00