Trait GroundMotionModeling

Source
pub trait GroundMotionModeling {
    // Required method
    fn calc_from_point(&self, point: &Vs30Point, eq: &Earthquake) -> GmpePoint;
}
Expand description

Trait representing a Ground Motion Prediction Equation (GMPE).

Implementors of this trait can compute ground motion values at a site for a given earthquake scenario.

Required Methods§

Source

fn calc_from_point(&self, point: &Vs30Point, eq: &Earthquake) -> GmpePoint

Compute ground motion value for a given input point and earthquake.

§Arguments
  • point - Input site point parameters.
  • eq - Earthquake source parameters.
§Returns

A GmpePoint containing the computed value and its location.

Implementors§