Commit Graph

315 Commits

Author SHA1 Message Date
Lindsey Heagy 265a1189e8 fixing sources in TDEM. test_TDEM_forward_Analytic.py now passes 2015-06-30 22:35:01 -07:00
Lindsey Heagy 2dcb356682 minor clean-up for reading and Ctrl+D in sublime 2015-06-30 22:33:38 -07:00
Lindsey f96cf0418a Merge pull request #24 from simpeg/feat/sourceRefactor
Feat/source refactor
2015-06-30 14:10:05 -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 1fbf40568d shortened the test for travis 2015-06-24 16:57:15 -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 36f8eca25c Sources can take mu values other than mu_0 2015-06-23 18:25:29 -07:00
Lindsey 5732e85a2f fixed typo in MfRhoDeriv. note that it still won't work (but we don't call it anywhere... yet 2015-06-23 18:24:40 -07:00
Lindsey 7c01c84514 Analytics should take other values for mu 2015-06-23 18:22:44 -07:00
Lindsey Heagy 527133c709 update constant in casing analytic to match whole-space dipole soln 2015-06-16 11:37:57 -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 58e8ce4988 updated mult factor in casing soln analytic 2015-06-11 10:24:16 -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 611e930925 made mu a vector in the casing soln, added E fields from an electric dipole 2015-06-05 18:07:35 -07:00
Lindsey 678d8611d8 more reliable way of taking the sqrt of a complex number in defn of k 2015-06-04 16:12:58 -07:00
Lindsey 1240d65eaf B fields for casing mag dipole 2015-06-04 16:12:29 -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 54468c7751 removed test_FieldsObject.py as it is tested in SimPEG 2015-06-02 17:41: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 c28e2c10de Merge pull request #20 from simpeg/PropMap
Prop map
2015-06-02 14:15:22 -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 80a7dfb51b start of moving mass matrix derivs onto base.py 2015-06-01 16:56:11 -07:00
Lindsey e0387978f2 Simgai --> Rho 2015-06-01 16:32:23 -07:00
Lindsey b7a3b4e5e6 Running EB, HJ with PropMap 2015-06-01 16:21:15 -07:00
Lindsey 27c8da341d start of using PropMaps for EB formulation 2015-06-01 14:52:39 -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 37fc9981f7 fixed bug in Base.py 2015-06-01 09:58:58 -07:00
Lindsey Heagy 3810b392dd removed sec fields which were defined based on source def 2015-05-31 21:16:00 -07:00
Lindsey Heagy 5e7194b078 Merge branch 'feat/sourceRefactor' of https://github.com/simpeg/simpegem into feat/sourceRefactor 2015-05-29 12:05:53 -07:00
Lindsey Heagy 8c4a01a665 Merge branch 'feat/sourceRefactor' of https://github.com/simpeg/simpegem into feat/sourceRefactor 2015-05-29 11:51:49 -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 fbf022ff76 Merge branch 'feat/sourceRefactor' of https://github.com/simpeg/simpegem into feat/sourceRefactor 2015-05-28 11:17:51 -07:00
Lindsey Heagy 8d97f322c9 analytics return arrays 2015-05-28 11:15:58 -07:00
Lindsey Heagy f080c61f74 fixed test_FDEM_analytics.py 2015-05-28 08:35:41 -07:00
Lindsey dc3e641524 set loc and moment inside of MagDipoleB source 2015-05-27 13:21:14 -07:00
Lindsey 5b44b16bc4 order of arguments changed: rxList,freq, other stuff 2015-05-26 17:53:50 -07:00