gem/nhlib — pull request #23 by angri (2012-03-20 18:40:50+00:00)
Title: Simple fault surface

Addresses: https://bugs.launchpad.net/openquake/+bug/919136

The differences from https://github.com/gem/nhlib/pull/9 (which is the base for this pull request) are that average dip calculation of the surface (method get_dip) has been optimized to make more extensive use of numpy abilities and get_strike now uses more correct algorithm (implemented as a method of Line object).