boundary_flat Class Reference
[Ocean Boundaries]

Collaboration diagram for boundary_flat:
Collaboration graph
[legend]

Detailed Description

Models any flat boundary in the ocean including the ocean surface.


Constructor & Destructor Documentation

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.

Parameters:
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.

Member Function Documentation

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.

Parameters:
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.

Parameters:
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.


Member Data Documentation

const double _height [private]

Surface height in spherical earth coords.

double _normal_rho [private]

Rho component of the surface normal.


Generated on 4 May 2015 for USML by  doxygen 1.6.1