Commit Graph

245 Commits

Author SHA1 Message Date
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
Lindsey 1964a002f1 Removed Known Fields from base Fields object, it is unique to each fields object type 2015-04-16 09:39:26 -07:00
Lindsey f5a0465f1e functioning fields object for e,b forward problems. Note that if it passes travis, that is because I am cheating and only testing things that should pass. The way getSources handles types is pretty ugly at the moment... see for example FieldsFDEM.py lines 63-69 2015-04-15 17:55:58 -07:00
Lindsey dbf3175c39 working on deBugging 2015-04-15 09:50:28 -07:00
Lindsey 903a418a11 each of the fields computations now just takes a transmitter 2015-04-15 09:33:21 -07:00
Lindsey 3dba2d9a04 cleaned up call of fields in Base.py, this will break the TDEM implementation 2015-04-14 20:01:58 -07:00
Lindsey fcc0650713 start of FDEM fields refactor, definately will not pass travis at the moment 2015-04-14 19:45:24 -07:00
Lindsey 228f3f7f38 Merge pull request #14 from simpeg/sourceRefactor
working on feat/sourceRefactor instead of creating a new branch
2015-04-14 16:55:22 -07:00
Lindsey e61679bdc6 now using j_m and j_g in FDEM problem for all formulations. Note that SimpleTxFDEM has been changed toSimpleTxFDEM_g and SimpleTxFDEM_m 2015-04-14 16:40:09 -07:00
Rowan Cockett b9818a600b updates to tx bug fix. 2015-03-23 07:50:28 -07:00
Rowan Cockett 78c98e5ad6 simple transmitter. 2015-03-21 21:59:27 -07:00
Rowan Cockett 224a5311d6 change where we get the source from (in the transmitter). 2015-03-21 21:50:47 -07:00
Rowan Cockett a6e82ecc2a remove trailing spaces. Fix reordering bug. 2015-03-21 21:20:03 -07:00
Rowan Cockett 127b90c88d Add more files to export on the init. 2015-03-21 21:19:06 -07:00
Lindsey 1a760cedc5 Merge pull request #12 from simpeg/HJformulation
H jformulation
2015-03-03 16:29:50 -08:00
Lindsey 65842379b5 Added self._makeASymmetric in b and j formulations (e and h are symmetric already) 2015-03-03 10:02:19 -08:00
Lindsey c480279ae5 added _makeASymmetric option to j, b implementations 2015-03-02 15:43:17 -08:00
Lindsey ed61178b45 removed comment blocks of old code from get RHS in each formulation 2015-03-02 15:07:50 -08:00
Lindsey a697833b9f changed todo for constant mu to anisotropic mu 2015-03-02 14:49:06 -08:00
Lindsey Heagy fa0fd7f23f broke out calculation of source term from rhs so that you can do prb.getSource 2015-02-28 10:18:58 -08:00
Lindsey Heagy 35678c587d Removed extra mui in bformulation deriv terms 2015-02-28 08:20:58 -08:00
Lindsey 62b4edcf6d - changed H implementation to primary secondary for a dipole source (much faster)
- removed extra MeMui matrix floating around in the B implementation
- changed tests so that we do not cross-check the z-components, as this doesn't make sense for the primary secondary approach if we don't add back the primary
2015-02-27 18:43:47 -08:00
Lindsey 84fedcf2a7 seperated out calculation of j_s from calculation of rhs in j formulation 2015-02-27 15:25:13 -08:00
Lindsey 2780a4cea7 HJ formulation implemented. EB formlation will fail the cross-check test... maybe a problem in the source definition? 2015-02-27 13:55:18 -08:00
Lindsey 5c19da60cc fixed MeMuI, should be invmat=True, as opposed to 1/mu 2015-02-27 12:13:01 -08:00
Lindsey 564fa14826 Added CrossCheck test to make sure that both formulations give the same results. HJ is going to make travis fail... 2015-02-26 16:30:11 -08:00
Lindsey 94d12b257a Test everything 2015-02-26 15:40:51 -08:00
Lindsey 0e0033eb0a HJ formulation, Problem_h solving for j implemented. I don't yet trust the solution 2015-02-26 15:40:03 -08:00
Lindsey d5eef78b57 fixed typo on MeMuI property 2015-02-26 15:04:14 -08:00
Lindsey 5ac746f31f added MeMu and changed MeMui to MeMuI in mu setter 2015-02-26 15:03:04 -08:00
Lindsey 5284b91f33 changed _MeMui to _MeMuI 2015-02-26 14:57:08 -08:00
Lindsey 5d74fc2d1b Changed MeMui to MeMuI, it should be the full inverse 2015-02-26 14:27:49 -08:00
Lindsey 8d4e001301 HJ formulation solving for h, with h data 2015-02-26 13:51:42 -08:00
Lindsey 5e323591b9 expanded documentation for solving for J 2015-02-26 10:39:04 -08:00
Lindsey 5bb5e8f6b3 Start of JH implementation, solving for h. Derivatives for ProblemFDEM_h NOT working yet 2015-02-25 20:21:44 -08:00
Lindsey 3201d1fc59 Moved call of store these fields before the __init__ so that we don't mess with the base problem, updated names of mass matrices so it is clear they are mass matrices not phys props 2015-02-25 17:58:54 -08:00
Lindsey 31c697eafa added MeMu, and am using self.mu everywhere instead of mu_0 2015-02-25 17:06:38 -08:00
Lindsey 57380ea2d8 Tested and passing HJ formulation, solving for J. Only works with diagonal anisotropy 2015-02-25 16:28:54 -08:00
Lindsey 2a6f0ab440 Start of HJ formulation: FAILING TESTS right now 2015-02-24 18:00:34 -08:00
Lindsey 4e69ee1f1f Merge branch 'master' into HJformulation 2015-02-24 15:56:35 -08:00
Rowan Cockett ab0049180d Merge pull request #11 from simpeg/addingMu
Adding mu
2015-02-24 17:44:08 -05:00
Rowan Cockett 629bb56185 minor updates to travis. 2015-02-24 17:15:00 -05:00
Rowan Cockett 2a53b78ccd Update the miniconda version 3.3.0 --> 3.8.3
Reverse other changes.
2015-02-24 17:08:37 -05:00
Lindsey 0a98c5f1c3 Fixed Travis? 2015-02-24 12:54:45 -08:00