boundary_grid< DATA_TYPE, NUM_DIMS > Class Template Reference

Collaboration diagram for boundary_grid< DATA_TYPE, NUM_DIMS >:
Collaboration graph
[legend]

Detailed Description

template<class DATA_TYPE, int NUM_DIMS>
class usml::ocean::boundary_grid< DATA_TYPE, NUM_DIMS >

Bottom model constructed from a 1-D or 2-D data grid.

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 ( data_grid< DATA_TYPE, NUM_DIMS > *  height,
reflect_loss_model reflect_loss = NULL 
) [inline]

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 (  )  [inline, virtual]

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

data_grid<DATA_TYPE, NUM_DIMS>* _height [private]

Boundary for all locations.


Generated on 4 May 2015 for USML by  doxygen 1.6.1