boundary_grid_fast Class Reference

Collaboration diagram for boundary_grid_fast:
Collaboration graph
[legend]

Detailed Description

Bottom model constructed from 2-D data_grid_bathy.

The coordinate system for each kind of data set is:

Uses the GRID_INTERP_PCHIP interpolation in both directions to reduce sudden changes in surface normal direction. Values outside of the latitude/longitude axes defined by the data grid at limited to the values at the grid edge.


Constructor & Destructor Documentation

boundary_grid_fast ( data_grid_bathy height,
reflect_loss_model reflect_loss = NULL 
) [inline]

Constructor - Initialize depth and reflection loss components for a boundary.

Parameters:
height Bottom depth (meters) as a function of position. Assumes control of this grid and deletes it when the class is destroyed.
reflect_loss Reflection loss model. Defaults to a Rayleigh reflection for "sand" if NULL. The boundary_model takes over ownship of this reference and deletes it as part of its destructor.
virtual ~boundary_grid_fast (  )  [inline, virtual]

Destructor - Delete boundary grid.


Member Function Documentation

virtual void height ( const wposition1 location,
double *  rho,
wvector1 normal = NULL,
bool  quick_interp = false 
) [inline, 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

Implements boundary_model.

virtual void height ( const wposition location,
matrix< double > *  rho,
wvector normal = NULL,
bool  quick_interp = false 
) [inline, 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

Boundary for all locations.


Generated on 4 May 2015 for USML by  doxygen 1.6.1