USML
boundary_flat Class Reference
Collaboration diagram for boundary_flat:

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
depthWater depth relative to mean sea level.
reflect_lossReflection 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 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
locationLocation at which to compute boundary.
rhoSurface height in spherical earth coords (output).
normalUnit normal relative to location (output).
quick_interpDetermines if you want a fast nearest or pchip interp

Implements boundary_model.

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
locationLocation at which to compute boundary.
rhoSurface height in spherical earth coords (output).
normalUnit normal relative to location (output).
quick_interpDetermines if you want a fast nearest or pchip interp

Often used during reflection processing.

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.