Commit Graph

42 Commits

Author SHA1 Message Date
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
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 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 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
Rowan Cockett 7663d12707 Removed Synthetic Problem class, and added method to Problem. 2013-11-14 18:28:28 -08:00
Rowan Cockett bc49c6058f Bug Fixes and Adjoint Test. 2013-11-14 18:01:53 -08:00
Rowan Cockett 8f4e1174c8 Added J and Jt, untested as of yet. 2013-11-14 15:53:19 -08:00
Rowan Cockett 61e175cd12 Fields calculation in Richards. Calculation of the diagonals of the Jacobian. 2013-11-14 15:29:25 -08:00
Rowan Cockett 1e5969ec6a getResidual for Richards equation working. 2013-11-14 11:31:02 -08:00
Rowan Cockett 0514226ac2 Empirical Relations for Richards. 2013-11-13 15:07:40 -08:00
Rowan Cockett 7d3e41d591 removedFWI example to merge into master. 2013-11-12 13:55:03 -08:00
Rowan Cockett 15e0126172 Updates to Optimization Framework. Testing. Bug Fixes. 2013-11-12 11:09:51 -08:00
Rowan Cockett 22f1ff9f74 initial notebook laying out the problem of bound constraints. 2013-11-06 10:57:13 -08:00
Rowan Cockett 6f141ecaf2 Updates to DCProblem and testing. 2013-11-04 15:11:10 -08:00
Rowan Cockett 56bacc4a27 Issue #15 Approximate Hessians. By default these are not implemented, and are the same as J and Jt 2013-11-04 09:53:38 -08:00
Rowan Cockett 581f1b15f1 renamed misfit to dataResidual in Problem class. fixed betaSchedule bug. Printing in the inversion. 2013-11-01 15:02:37 -07:00
Rowan Cockett 11128b2e9b Bug Fixes. Test_DCproblem is still not working. 2013-10-30 23:13:49 -06:00
Rowan Cockett 86c1080631 Documentation updates. 2013-10-26 16:19:02 -07:00
Rowan Cockett 1555caa775 Changed to SimPEG solver for DC problem. 2013-10-26 16:02:04 -07:00
Rowan Cockett 5cbc980b9c Mixins work differently than I thought, this fixes the DCProblem code. 2013-10-26 15:55:42 -07:00
Rowan Cockett dbd24b71c1 Added kwargs to the inversion. can use these to initiate your inversion object. 2013-10-26 14:16:50 -07:00
Rowan Cockett d974843d98 Moved model transforms to different file. 2013-10-24 15:33:07 -07:00
Rowan Cockett fc4294eb4d Added A sample Linear problem that runs! 2013-10-24 15:11:48 -07:00
Rowan Cockett f4c63d47a3 took for loop out of inversion framework. This has to be dealt with in the specific code, and is more flexible. 2013-10-24 14:12:37 -07:00
Rowan Cockett d94d3f7f37 fixes to inversion framework. DC problem is kinda working…?! 2013-10-23 18:35:37 -07:00
Rowan Cockett 548ba9aa0a bug fixes to framework. 2013-10-23 18:19:33 -07:00
Rowan Cockett 3de8ab47d9 moved DCProblem 2013-10-22 20:25:49 -07:00
Rowan Cockett 2bb20280bf to get working.. 2013-10-22 20:11:30 -07:00
Rowan Cockett 2a8f43aa10 Inversion Framework - a start.. 2013-10-22 19:42:38 -07:00
Rowan Cockett db694dd780 moved to mesh folder. 2013-10-18 17:22:13 -07:00
Rowan Cockett 4851295738 initial solver work: import SimPEG.Solver 2013-10-16 09:18:08 -07:00
Rowan Cockett fb69446cfb Testing problem and DCProblem. 2013-10-03 15:15:08 -07:00
Rowan Cockett 7cf8ef2310 Moved testing code to the test directory. added __init__.py and some documentation. 2013-10-03 14:55:22 -07:00
Rowan Cockett bed86b9ce4 Update documentation and show example field. 2013-10-03 12:28:08 -07:00
Rowan Cockett 56aa003a3c Start of DC documentation. 2013-10-03 12:16:10 -07:00
Rowan Cockett 21501e7482 DC Problem tested and working. 2013-10-03 10:37:43 -07:00
Rowan Cockett d8c676015e Fixes to ModelBuilder. Start of the DCProblem. 2013-10-02 15:24:51 -07:00
Rowan Cockett 7a4ccc9a38 Updates to problem.
Problem is defined as a general PDE that has a field and a model.
2013-10-01 23:58:35 -07:00
Rowan Cockett a6da74c347 Creating the inverse problem framework. Feedback welcome! 2013-10-01 20:33:57 -07:00