Commit Graph

127 Commits

Author SHA1 Message Date
Lindsey Heagy b5b8b5fae6 - added check is S_e is zero in getRHSDeriv of FDEM.py
- deleted code that has been commented out
2015-07-05 21:58:14 -05:00
Lindsey Heagy 2dcb356682 minor clean-up for reading and Ctrl+D in sublime 2015-06-30 22:33:38 -07:00
Lindsey 5ec86300f6 have fields keep track of the problem so that calls to src.eval use the proper mass matrices if a model is switched out when running multiple forwards. This way fields also stores curModel 2015-06-29 18:05:32 -07:00
Lindsey Heagy d9e8996336 fixed loop source and mag dipole fields for variable mu, added both to testing 2015-06-23 23:02:33 -07:00
Lindsey ac3e7765fe Mag dipole sources, defined using prim-sec with a zero-frequency primary actually have a non-zer S_e component if there is variable mu. This has been corrected in the vector potential definition of the sources, and an issue created for the remaining sources. Testing has also been made more robust by using a rawVec source with both S_m and S_e defined which showed a couple bugs in some of the getRHSDeriv_m (which have been corrected), along with a couple minor sizing things in fields derivs 2015-06-23 18:32:00 -07:00
Lindsey Heagy 32f83322ca specified that A and RHS derivs are wrt m 2015-06-16 11:32:53 -07:00
Lindsey Heagy 7239d9cbe6 FDEM problems: e,b,h,j up and running with Jvec and Jtvec within the re-factored framework. Whenever a new element is created, we create its derive wrt u (the computed field) and wrt m (the model). Jvec and Jtvec then stitch these pieces together using chain rule 2015-06-16 11:28:29 -07:00
Lindsey Heagy ab1f55cd9c Merge branch 'feat/sourceRefactor' of https://github.com/simpeg/simpegem into feat/sourceRefactor
# Conflicts:
#	simpegEM/FDEM/FDEM.py
2015-06-11 09:20:33 -07:00
Lindsey 05ca7bb78b Start of Jvec for problems j, h. failing at the moment 2015-06-10 18:49:35 -07:00
Lindsey Heagy 39b5b5eb3f cleaned up old commented-out code 2015-06-10 16:57:42 -07:00
Lindsey Heagy 69977ad0b2 raw vec should take complex values 2015-06-10 08:54:09 -07:00
Lindsey Heagy 9a732ae5b5 Problem_b derivs and adjoint. Notation updates in Jvec and Jtvec. 2015-06-09 20:32:15 -07:00
Lindsey da9b541d81 Raw Vec Sources should be allowed to be complex 2015-06-04 11:38:16 -07:00
Lindsey Heagy d545d9e393 Working Problem_e Jvec and Jtvec 2015-06-02 22:45:48 -07:00
Lindsey Heagy cd94fea61d start of Jvec for Problem_e 2015-06-02 19:23:30 -07:00
Lindsey Heagy ca6c485889 _sol --> Solution 2015-06-02 16:14:09 -07:00
Lindsey Heagy 693ae256c1 broke apart primary-secondary 2015-06-02 15:31:46 -07:00
Lindsey Heagy 66b26a1b5e _getS_m now S_m 2015-06-02 14:14:34 -07:00
Lindsey Heagy 1424d071d4 _p --> Primary 2015-06-02 14:07:41 -07:00
Lindsey Heagy e53b124724 Mass matrix derivs, and replaced call of forward with fields 2015-06-02 13:54:14 -07:00
Lindsey e0387978f2 Simgai --> Rho 2015-06-01 16:32:23 -07:00
Lindsey 3df2140a88 Fields now take a srcList. A lot of this could be vectorized later 2015-06-01 14:32:42 -07:00
Lindsey Heagy 3810b392dd removed sec fields which were defined based on source def 2015-05-31 21:16:00 -07:00
Lindsey 44f5cf960f one more 2015-05-29 11:39:17 -07:00
Lindsey e634b00af0 removed calls of self.curModel.transform from each of the specific problems (now only looks for the relevant physprop) 2015-05-29 11:20:35 -07:00
Lindsey eea51c9923 start of seperating out model types in Base.py to later clean up deriv and allow for multiple model types to be used some house-keeping in FDEM.py 2015-05-28 15:52:07 -07:00
Lindsey b942d214d4 first stab at how to structure sources and fields for primary secondary formulations 2015-05-28 15:01:04 -07:00
Lindsey dc3e641524 set loc and moment inside of MagDipoleB source 2015-05-27 13:21:14 -07:00
Lindsey 59c141a5f1 survey.getSource --> survey.getSrcByFreq 2015-05-26 17:52:41 -07:00
Lindsey a87b37e6a7 missed a couple files 2015-05-14 13:31:23 -07:00
Lindsey 40aae0b610 FieldsFDEM functioning with branch bug/FieldsObject of SimPEG (run test_FDEM.py) 2015-05-08 15:26:56 -07:00
GudniRos 9eede4e840 Changed model to mesh in __init__ calls in all the FDEMProblems 2015-05-07 19:15:53 -07:00
Lindsey 35d56655f5 Fields Object functioning again. A bit of an ugly fix though... involves a Utils.mkvc on the knownFields for each 2015-05-07 16:00:50 -07:00
Lindsey 569d22bf6a made loc a kwarg 2015-05-06 16:58:46 -07:00
Lindsey 0869777284 hide startup variables 2015-05-06 11:55:06 -07:00
Lindsey Heagy df4819d02f tx --> src in a couple more 2015-05-06 09:39:20 -07:00
Lindsey 96b0d6a38c added def of k to utils and have getSourceDeriv take fields and vector 2015-05-04 16:48:57 -07:00
Lindsey deaa159f3f placeholder for getSourceDeriv 2015-05-04 11:33:28 -07:00
Lindsey 47fca47b33 getSources --> getSource 2015-05-04 11:29:17 -07:00
Lindsey c844f7b36a removed knownSrcType 2015-05-04 10:48:10 -07:00
Lindsey Heagy 77346af8ee fixed a couple bugs in source definitions and ensure that all types are properly set for RawVec sources 2015-05-04 08:49:06 -07:00
Lindsey Heagy 54a0580a8a Simple --> RawVec 2015-05-01 12:25:57 -07:00
Lindsey Heagy a990849256 fixed name of MagDipole_Bfield so it is consistent with the current naming convention 2015-04-30 13:05:43 -07:00
Lindsey Heagy 51342e7cc8 Fairly major source refactor:
- removed the folder Sources and put those routines inside of SrcUtils.
	- Broke apart calls for MagDipole, MagDipole_B, CircularLoop
2015-04-29 16:32:50 -07:00
Lindsey dc7cc1c716 tx -> src 2015-04-17 16:41:54 -07:00
Lindsey Heagy 08d90bbb67 Fixed bug in setting self.curModel in FieldsFDEM_j 2015-04-17 12:29:49 -07:00
Lindsey 2864a976c6 derivatives for fields objects, UNTESTED. TODO: clean up how we get derivs of mass matrices wrt the physical properties 2015-04-17 11:21:07 -07:00
Lindsey 93778d13f1 ProblemFDEM_x.getSource now returns two matrices, S_m and S_e, which cleans up getRHS and the Fields 2015-04-17 10:53:25 -07:00
Lindsey e980477031 H-J Fields objects created and consistent. Derivatives not implemented yet 2015-04-16 16:52:29 -07:00
Lindsey Heagy 50a853a3b6 CalcFields is obselete 2015-04-16 14:49:29 -07:00