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
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
9a732ae5b5
Problem_b derivs and adjoint. Notation updates in Jvec and Jtvec.
2015-06-09 20:32:15 -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
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
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
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
569d22bf6a
made loc a kwarg
2015-05-06 16:58:46 -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
dc7cc1c716
tx -> src
2015-04-17 16:41:54 -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
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
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
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