uwoseis / zephyr

Open-source seismic waveform modelling and inversion code written in Python
https://zephyr.space
MIT License
17 stars 8 forks source link

[CLOSED] Merge branch 'gensolver' #2

Closed bsmithyman closed 8 years ago

bsmithyman commented 8 years ago

Issue by bsmithyman Friday Nov 06, 2015 at 20:10 GMT Originally opened as https://github.com/uwoseis/anemoi/pull/2


This commit generalizes the solver architecture, such that if you pass in something like pymatsolver.MumpsSolver it ought to work. By default, it still uses scipy.sparse.linalg.splu, which is a wrapper around SuperLU. There remain some quirks in getting MUMPS to work, but this is a step in the right direction.

This branch also moves BaseDiscretization and BaseSource out of meta.py, with the goal of restricting meta.py for magic code purposes. The new file discretization.py and the file sources.py now contain the base classes and import AttributeMapper directly.


bsmithyman included the following code: https://github.com/uwoseis/anemoi/pull/2/commits

bsmithyman commented 8 years ago

Comment by bsmithyman Friday Nov 06, 2015 at 20:17 GMT


This doesn't really change anything on the user side, so I'm going to go ahead and merge it.