RSTT
3.2.0
Regional Seismic Travel Time
|
A function object used to zero-in on the velocity at r that gives the input ray parameter (vzP). The operator() returns r - vzP * vzV(r) where r is input and vzP is set and vzV(r) is the velocity function. This function object is used when r cannot be solved for explicitly. More...
#include <TPVelocityModels.h>
Public Member Functions | |
VZero (double p, V &v) | |
Standard constructor. More... | |
VZero (const VZero &vz) | |
Copy constructor. More... | |
virtual | ~VZero () |
Destructor. More... | |
VZero & | operator= (const VZero &vz) |
Assignment operator. More... | |
double | operator() (double r) |
A function object used to zero-in on the velocity at r that gives the input ray parameter (vzP). The operator() returns r - vzP * vzV(r) where r is input and vzP is set and vzV(r) is the velocity function. This function object is used when r cannot be solved for explicitly.
Definition at line 2262 of file TPVelocityModels.h.
|
inline |
Standard constructor.
Sets the velocity model, v, and the ray parameter, p, that will be used by a Brents function to zero-in on r.
Definition at line 2272 of file TPVelocityModels.h.
|
inline |
Copy constructor.
Definition at line 2275 of file TPVelocityModels.h.
|
inlinevirtual |
Destructor.
Definition at line 2278 of file TPVelocityModels.h.
|
inline |
Standard operator() overload which returns the zero of r - p * vel(r). This function is used to zero-in on a value for the radius (r) given a ray parameter and a velocity model.
Definition at line 2292 of file TPVelocityModels.h.
|
inline |
Assignment operator.
Definition at line 2283 of file TPVelocityModels.h.