Models any flat boundary in the ocean including the ocean surface.
boundary_flat | ( | double | depth = 0.0 , |
|
reflect_loss_model * | reflect_loss = NULL | |||
) |
Initialize depth and reflection loss components for a boundary.
Initialize component models within ocean profile.
depth | Water depth relative to mean sea level. | |
reflect_loss | Reflection loss model. Assumes depth=0 is used to define the water surface and any other depths define the ocean bottom. Use perfect surface or bottom reflection if no model specified. The boundary_model takes over ownship of this reference and deletes it as part of its destructor. |
void height | ( | const wposition1 & | location, | |
double * | rho, | |||
wvector1 * | normal = NULL , |
|||
bool | quick_interp = false | |||
) | [virtual] |
Compute the height of the boundary and it's surface normal at a single location.
Often used during reflection processing.
location | Location at which to compute boundary. | |
rho | Surface height in spherical earth coords (output). | |
normal | Unit normal relative to location (output). | |
quick_interp | Determines if you want a fast nearest or pchip interp |
Often used during reflection processing.
Implements boundary_model.
void height | ( | const wposition & | location, | |
matrix< double > * | rho, | |||
wvector * | normal = NULL , |
|||
bool | quick_interp = false | |||
) | [virtual] |
Compute the height of the boundary and it's surface normal at a series of locations.
location | Location at which to compute boundary. | |
rho | Surface height in spherical earth coords (output). | |
normal | Unit normal relative to location (output). | |
quick_interp | Determines if you want a fast nearest or pchip interp |
Implements boundary_model.
const double _height [private] |
Surface height in spherical earth coords.
double _normal_rho [private] |
Rho component of the surface normal.