Brief description of class still missing. More...
#include <EllipticityFactory.h>
Public Member Functions | |
EllipticityFactory () | |
void | exp10 () |
void | log10 () |
virtual const RealValue * | mode (const Mode &m) const |
double | peakMisfit (const RealStatisticalValue &val, DispersionFactory &disp, const Seismic1DModel *model) |
virtual void | setMode (const Mode &m) |
virtual ModalStorage * | storage (int) const |
virtual int | storageCount () const |
Ellipticity * | values () |
~EllipticityFactory () | |
Protected Member Functions | |
virtual ModalStorage * | newStorage (int nModes) |
Brief description of class still missing.
Full description of class still missing
void QGpCoreWave::EllipticityFactory::exp10 | ( | ) | [inline] |
{_values->exp10();}
void QGpCoreWave::EllipticityFactory::log10 | ( | ) | [inline] |
{_values->log10();}
const RealValue * QGpCoreWave::EllipticityFactory::mode | ( | const Mode & | m | ) | const [virtual] |
Implements QGpCoreWave::ModalFactory.
References QGpCoreWave::Mode::index(), and QGpCoreWave::ModalStorage::mode().
{ return _values ? _values->mode(m.index()) : 0; }
virtual ModalStorage* QGpCoreWave::EllipticityFactory::newStorage | ( | int | nModes | ) | [inline, protected, virtual] |
Implements QGpCoreWave::ModalFactory.
References Ellipticity.
{return new Ellipticity(nModes, x());}
double QGpCoreWave::EllipticityFactory::peakMisfit | ( | const RealStatisticalValue & | val, |
DispersionFactory & | disp, | ||
const Seismic1DModel * | model | ||
) |
References QGpCoreWave::ModalStorage::abs(), QGpCoreWave::Ellipticity::peakMisfit(), QGpCoreWave::DispersionFactory::phaseRayleigh(), and TRACE.
Referenced by DinverDCCore::TargetList::surfaceMisfit().
{ TRACE; if(_values && disp.phaseRayleigh()) { Rayleigh rayleigh(model); // TODO generalize to n modes double m=_values->peakMisfit(0, val, *disp.phaseRayleigh(), &rayleigh); // Refinements produced signed ellipticity, for storage, abs is prefered _values->abs(); return m; } else return 0.0; }
void QGpCoreWave::EllipticityFactory::setMode | ( | const Mode & | m | ) | [virtual] |
Implements QGpCoreWave::ModalFactory.
References QGpCoreWave::Mode::index(), TRACE, and QGpCoreWave::ModalFactory::upgrade().
Referenced by DinverDCCore::TargetList::validateTargets().
ModalStorage * QGpCoreWave::EllipticityFactory::storage | ( | int | ) | const [inline, virtual] |
virtual int QGpCoreWave::EllipticityFactory::storageCount | ( | ) | const [inline, virtual] |
Implements QGpCoreWave::ModalFactory.
{return 1;}
Ellipticity* QGpCoreWave::EllipticityFactory::values | ( | ) | [inline] |
Referenced by QGpCoreWave::DispersionFactory::calculate(), and QGpCoreWave::DispersionFactory::validate().
{return _values;}