profile_grid_fast Class Reference
[Ocean Profiles]

Collaboration diagram for profile_grid_fast:
Collaboration graph
[legend]

Detailed Description

Sound speed model constructed from a data_grid_svp.

The coordinate system for each kind of data set is:

---NOTE: altitude is the distance from the surface of the ocean to the location under the ocean with down as negative.

^^^NOTE: All calculations are under the assumption that the grid axes passed in have already been transformed to their spherical earth equivalents (altitude -> rho, theta,phi).


Constructor & Destructor Documentation

profile_grid_fast ( data_grid_svp speed,
attenuation_model attmodel = NULL 
) [inline]

Constructor - Default behavior for new profile models.

Parameters:
speed Sound speed for the whole ocean (m/s). Assumes control of this grid and deletes it when the class is destroyed.
attmodel In-water attenuation model. Defaults to Thorp. The profile_model takes over ownership of this reference and deletes it as part of its destructor.
virtual ~profile_grid_fast (  )  [inline, virtual]

Destructor - Delete sound speed grid.


Member Function Documentation

virtual void sound_speed ( const wposition location,
matrix< double > *  speed,
wvector gradient = NULL 
) [inline, virtual]

Compute the speed of sound and it's first derivatives at a series of locations.

Parameters:
location Location at which to compute attenuation.
speed Speed of sound (m/s) at each location (output).
gradient Sound speed gradient at each location (output).

Implements profile_model.


Member Data Documentation

Sound speed for all locations.


Generated on 4 May 2015 for USML by  doxygen 1.6.1