Commit Graph

352 Commits

Author SHA1 Message Date
rowanc1 9eafec4895 Added options to the solver class that are dynamic based on your environment. If not available, they will fall back to ones that are. 2013-11-26 20:23:40 -08:00
rowanc1 217c7421e8 wrong directory 2013-11-26 18:41:25 -08:00
rowanc1 aea7386938 added to the startup file. 2013-11-26 18:39:16 -08:00
rowanc1 b3c75d21a3 added matplotlib to the requirements 2013-11-26 18:07:19 -08:00
rowanc1 0a50249c9f try to get travis working. 2013-11-26 18:03:18 -08:00
rowanc1 c099d1ce4e removed pypubsub 2013-11-26 17:57:30 -08:00
rowanc1 c34e7bb035 typo yaml —> yml 2013-11-26 17:54:11 -08:00
rowanc1 83bdf73a63 Added a travis.yaml file and moved requirements.txt for auto unit testing 2013-11-26 17:50:03 -08:00
rowanc1 e2943ba56e Bug fix if no colorer is used in the video. 2013-11-26 17:31:42 -08:00
rowanc1 a6e2686f09 Added doStartIteration to the code, set beta0 to None, and generate it in the evalFunction when fields are available. 2013-11-26 17:30:43 -08:00
rowanc1 1088c09864 Bug fix for integrating over the model, should have a volume term! 2013-11-26 14:35:08 -08:00
rowanc1 5b4270560c renamed video commands and added a more generic one. 2013-11-25 16:51:48 -08:00
rowanc1 623b14c05c face divergence operators for each direction. Bug fixes for boundary conditions. 2013-11-25 15:02:11 -08:00
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
Rowan Cockett 4ca6f090f6 no message 2013-11-24 16:07:19 -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 5f64ea8399 Documentation Updates. 2013-11-21 12:25:56 -08:00
rowanc1 545b1637d8 Merged in updateFramework (pull request #28)
BFGS, Iterative Solvers, and Updates to framework.
2013-11-21 12:08:31 -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
rowanc1 7e96a7a4ca Merged in counters (pull request #27)
Simple profiling through decorator functions.
2013-11-21 10:41:16 -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