|
version
0.0.1
Defines the C++ API for MsPASS
|
Slowness vector object. More...
#include <SlownessVector.h>
Public Member Functions | |
| SlownessVector () | |
| SlownessVector (const double ux0, const double uy0, const double az0=0.0) | |
| Fully parameterized constructor. | |
| SlownessVector (const SlownessVector &) | |
| double | mag () const noexcept |
| double | azimuth () const noexcept |
| double | baz () const noexcept |
| SlownessVector & | operator= (const SlownessVector &parent) |
| Standard assignment operator. | |
| SlownessVector & | operator+= (const SlownessVector &other) |
| SlownessVector & | operator-= (const SlownessVector &other) |
| const SlownessVector | operator+ (const SlownessVector &other) const |
| const SlownessVector | operator- (const SlownessVector &other) const |
Public Attributes | |
| double | ux |
| double | uy |
Friends | |
| class | boost::serialization::access |
Slowness vector object.
Slowness vectors are a seismology concept used to describe wave propagation. A slowness vector points in the direction of propagation of a wave with a magnitude equal to the slowness (1/velocity) of propagation.
| mspass::seismic::SlownessVector::SlownessVector | ( | ) |
| mspass::seismic::SlownessVector::SlownessVector | ( | const double | ux0, |
| const double | uy0, | ||
| const double | az0 = 0.0 |
||
| ) |
Fully parameterized constructor.
A slowness vector is defined by it's components. There is one ambiguity, however, with a zero slowness vector. That is, normally direction of propagation is inferred from the vector azimuth. A zero slowness vector has physical significance (normal incidence) but presents and ambiguity in this regard. We use a defaulted az0 parameter to specify the azimuth that should be used if the magnitude of slowness vector is 0.
| ux0 | - set x (EW) component to this value. |
| uy0 | - set y (NS) component to this value. |
| az0 | - use this as azimuth (radians) if this is a zero slowness vector (default 0.0) |
| mspass::seismic::SlownessVector::SlownessVector | ( | const SlownessVector & | old | ) |
|
noexcept |
Returns the propagation direction defined by a slowness vector. Azimuth is a direction clockwise from north in the standard geographic convention. Value returned is in radians.
|
noexcept |
Returns the back azimuth direction defined by a slowness vector. A back azimuth is 180 degrees away from the direction of propagation and points along the great circle path directed back to the source point from a given position. The value returned is in radians.
|
noexcept |
| const SlownessVector mspass::seismic::SlownessVector::operator+ | ( | const SlownessVector & | other | ) | const |
| SlownessVector & mspass::seismic::SlownessVector::operator+= | ( | const SlownessVector & | other | ) |
| const SlownessVector mspass::seismic::SlownessVector::operator- | ( | const SlownessVector & | other | ) | const |
| SlownessVector & mspass::seismic::SlownessVector::operator-= | ( | const SlownessVector & | other | ) |
| SlownessVector & mspass::seismic::SlownessVector::operator= | ( | const SlownessVector & | parent | ) |
| double mspass::seismic::SlownessVector::ux |
East-west component of slowness vector.
| double mspass::seismic::SlownessVector::uy |
North-south component of slowness vector.