- Notifications
You must be signed in to change notification settings - Fork2
Tags: fatiando/choclo
Tags
v0.0.1
Add magnetic fields of prisms (#17)Add forward modelling functions for the magnetic field of a single rectangularprism on a single computation point. These are three functions for eachcomponent of the magnetic field vector and one other `magnetic_field` functionthat computes all three in a more optimal way. Make these functions to reusethe kernel functions defined for the gravity forward modelling. Add symmetrytests for the new functions, test if the magnetic field has zero divergance andif the `magnetic_field` function generates the same output as the three otherfunctions. Rename `prism/_forward.py` to `prism/_gravity.py` and`test_prism.py` to `test_prism_gravity.py`.