USML
|
A "boundary model" computes the environmental parameters of the ocean's surface or bottom.
The modeled properties include the depth and reflection properties of the interface. This class implements a reflection loss model through delegation. The delegated model is defined separately and added to its host during/after construction. The host is defined as a reflect_loss_model subclass so that it's children can share the reflection loss model through this delegation.
This implementation defines the unit normal using cartesian coordinates in the directions relative to its location. Given this definition, the normal can be computed from the depth derivatives or slope angles using:
where:
This definition of the unit normal saves processing time during reflection processing.
|
inline |
Initialize reflection loss components for a boundary.
reflect_loss | Reflection loss model. |
|
inlinevirtual |
Delete reflection loss model.
|
pure 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 |
Implemented in boundary_grid_fast, boundary_slope, boundary_grid< DATA_TYPE, NUM_DIMS >, and boundary_flat.
|
pure 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 |
Implemented in boundary_grid< DATA_TYPE, NUM_DIMS >, boundary_grid_fast, boundary_slope, and boundary_flat.
|
inline |
Define a new reflection loss model.
reflect_loss | Reflection loss model. |
|
inlinevirtual |
Computes the broadband reflection loss and phase change.
location | Location at which to compute attenuation. |
frequencies | Frequencies over which to compute loss. (Hz) |
angle | Grazing angle relative to the interface (radians). |
amplitude | Change in ray strength in dB (output). |
phase | Change in ray phase in dB (output). |
Implements reflect_loss_model.
|
protected |
Reference to the reflection loss model.