Commit a9a73d15 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

interface is defined

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3969
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 53f7a5f8
......@@ -59,10 +59,10 @@ namespace stfinv {
STFFourierDomainEngine::STFFourierDomainEngine(const stfinv::Tvectoroftriples& triples,
const stfinv::Waveform& stf,
const std::string& parameters)
:Tbase(triples, stf, parameters),
Mfftengine(5,5)
:Tbase(triples, stf, parameters)
{
STFINV_abort("STFFourierDomainEngine constructor not yet implemented");
this-initialize();
} // STFFourierDomainEngine::STFFourierDomainEngine
/*----------------------------------------------------------------------*/
......@@ -94,6 +94,48 @@ namespace stfinv {
return("STFFourierDomainEngine");
} // const char const* STFFourierDomainEngine::name() const
/*----------------------------------------------------------------------*/
void STFFourierDomainEngine::initialize()
{
STFINV_abort("STFFourierDomainEngine::initialize not yet implemented");
} // void STFFourierDomainEngine::initialize()
/*----------------------------------------------------------------------*/
void STFFourierDomainEngine::fftinput()
{
STFINV_abort("STFFourierDomainEngine::fftinput not yet implemented");
} // void STFFourierDomainEngine::fftinput()
/*----------------------------------------------------------------------*/
void STFFourierDomainEngine::fftoutput()
{
STFINV_abort("STFFourierDomainEngine::fftoutput not yet implemented");
} // void STFFourierDomainEngine::fftoutput()
/*----------------------------------------------------------------------*/
STFFourierDomainEngine::TAspectrum STFFourierDomainEngine::data() const
{
STFINV_abort("STFFourierDomainEngine::data not yet implemented");
} // STFFourierDomainEngine::TAspectrum STFFourierDomainEngine::data() const
/*----------------------------------------------------------------------*/
STFFourierDomainEngine::TAspectrum STFFourierDomainEngine::synthetics() const
{
STFINV_abort("STFFourierDomainEngine::synthetics not yet implemented");
} // STFFourierDomainEngine::TAspectrum STFFourierDomainEngine::synthetics() const
/*----------------------------------------------------------------------*/
STFFourierDomainEngine::Tspectrum STFFourierDomainEngine::stf() const
{
STFINV_abort("STFFourierDomainEngine::stf not yet implemented");
} // STFFourierDomainEngine::Tspectrum STFFourierDomainEngine::stf() const
} // namespace stfinv
/* ----- END OF stfinvfourier.cc ----- */
......@@ -66,6 +66,14 @@ namespace stfinv {
typedef stfinv::STFBaseEngine Tbase;
//! \brief type of underlying Fourier engine
typedef fourier::fft::DRFFTWAFFArrayEngine Tfftengine;
//! \brief type of array for time series values
typedef Tfftengine::TAseries TAseries;
//! \brief type of array for Fourier transforms
typedef Tfftengine::TAspectrum TAspectrum;
//! \brief type of series for time series values
typedef Tfftengine::Tseries Tseries;
//! \brief type of series for Fourier coefficients
typedef Tfftengine::Tspectrum Tspectrum;
protected:
/*! \brief Constructor.
*/
......@@ -84,15 +92,42 @@ namespace stfinv {
//! \brief return name of engine
virtual const char* name() const;
protected:
//! \brief set default values in Mparamap
virtual void setdefaults() { }
/*! \brief copy input signals to workspace and
* transform input workspace to Fourier domain
*/
void fftinput();
/*! \brief convolve synthetics with Fourier transform of stf and
* transform convolved synthetics and stf to time domain and pass
* signals to user memory space
*/
void fftoutput();
//! \brief return reference to Fourier transform of recorded data
TAspectrum data() const;
//! \brief return reference to Fourier transform of synthetics
TAspectrum synthetics() const;
//! \brief return reference to Fourier transform of stf
Tspectrum stf() const;
private:
//! \brief initialize work space
virtual void initialize() { }
void initialize();
/*! \brief copy input time series for recorded data and synthetics
* to workspace
*/
void getinput();
/*! \brief copy workspace time series for convolved synthetics and stf
* to user memory
*/
void putoutput();
// member data
// -----------
private:
Tfftengine Mfftengine;
/*! \brief combined FFT engine for recorded data and synthetics
*/
Tfftengine Mfftengineinput;
/*! \brief combined FFT engine for stf and convolved synthetics
*/
Tfftengine Mfftengineoutput;
}; // class STFFourierDomainEngine
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment