USML
reflect_loss_model Class Referenceabstract

Detailed Description

A reflection loss model computes the changes in amplitude and phase that result from the reflection of a ray from a boundary.

Reflection is calculated on a ray-by-ray basis instead of across the wavefront because only selected rays interact with the boundary at any given time step. These models compute their results as a function of frequency to support broadband acoustics.

Constructor & Destructor Documentation

virtual ~reflect_loss_model ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

virtual void reflect_loss ( const wposition1 location,
const seq_vector frequencies,
double  angle,
vector< double > *  amplitude,
vector< double > *  phase = NULL 
)
pure virtual

Computes the broadband reflection loss and phase change.

Parameters
locationLocation at which to compute attenuation.
frequenciesFrequencies over which to compute loss. (Hz)
angleGrazing angle relative to the interface (radians).
amplitudeChange in ray strength in dB (output).
phaseChange in ray phase in radians (output). Phase change not computed if this is NULL.

Implemented in reflect_loss_rayleigh, boundary_model, reflect_loss_netcdf, and reflect_loss_constant.