Commit Graph

96 Commits

Author SHA1 Message Date
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
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 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 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 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 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 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 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 ed1457df86 start of j implementation, UNTESTED 2015-02-23 17:42:25 -08:00
seogi e83b76a70c Modification for Cylinderical mesh 2014-11-21 09:45:24 -08:00
rowanc1 dd766a3ce3 update the code to use sources differently. 2014-07-04 14:51:54 -07:00
rowanc1 c503173317 Move analytics and Sources into main directory. 2014-07-04 14:24:25 -07:00