gem/nhlib — pull request #63 by monellid (2012-09-27 10:50:43+00:00)
Title: Rup width

This is a first pull request for https://bugs.launchpad.net/openquake/+bug/1057450.

The goal of this pull request is to define a 'get_width' method in the base class of a surface object and provides implementations of this method for the three source typologies currently supported by NHLIB: planar, simple_fault_surface, complex_fault_surface.

This method is then supposed to be used to extract rupture surface width to be used by GSIM objects (through RuptureContext).

This work is requested by the need of soon implementing a GMPE (Abrhamson and Silva 2008) which requires rupture width.