All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions
QGpCoreWave::RayleighFunction Class Reference

Brief description of class still missing. More...

#include <RayleighFunction.h>

Inheritance diagram for QGpCoreWave::RayleighFunction:
QGpCoreTools::AbstractFunction2

List of all members.

Public Member Functions

 RayleighFunction ()
void setModel (const Seismic1DModel *m)
virtual double value (double x, double y) const
 ~RayleighFunction ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

Description of constructor still missing

References TRACE.

    : AbstractFunction2()
{
  TRACE;
  _model=0;
  _rayleigh=0;
}

Description of destructor still missing

References TRACE.

{
  TRACE;
  delete _rayleigh;
}

Member Function Documentation

References TRACE.

{
  TRACE;
  _model=m;
  _rayleigh=new Rayleigh(m);
}
double QGpCoreWave::RayleighFunction::value ( double  x,
double  y 
) const [virtual]

x is frequency in Hz, y is the slowness.

Implements QGpCoreTools::AbstractFunction2.

References QGpCoreWave::RayleighTemplate< RealType >::setOmega(), TRACE, and QGpCoreWave::RayleighTemplate< RealType >::y().

{
  TRACE;
  _rayleigh->setOmega(2.0*M_PI*x);
  return fabs(_rayleigh->y(y)/(x*x));
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines