USML
boundary_grid_fast Class Reference
Collaboration diagram for boundary_grid_fast:

Detailed Description

Bottom model constructed from 2-D data_grid_bathy.

The coordinate system for each kind of data set is:

 - 2-D: Assumes that the order of axes in the grid is
        (latitude, longitude) and that the geodetic
        axes have been transformed to their spherical earth
        equivalents (theta,phi).

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
heightBottom depth (meters) as a function of position. Assumes control of this grid and deletes it when the class is destroyed.
reflect_lossReflection 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 ( )
inlinevirtual

Destructor - Delete boundary grid.

Member Function Documentation

virtual void height ( const wposition location,
matrix< double > *  rho,
wvector normal = NULL,
bool  quick_interp = false 
)
inlinevirtual

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.

virtual void height ( const wposition1 location,
double *  rho,
wvector1 normal = NULL,
bool  quick_interp = false 
)
inlinevirtual

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

Implements boundary_model.

Member Data Documentation

data_grid_bathy* _height
protected

Boundary for all locations.