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

removed virtual functions from interfaces, which originally were meant

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.
to control initialization, which however is not feasible
fftoutput requires convolution to be implemented
added some notes to NormalizeEngine


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3985
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 5f3bcbf8
......@@ -130,11 +130,9 @@ namespace stfinv {
static void classhelp(std::ostream& os=std::cout);
//! \brief return name of engine
virtual const char* name() const;
protected:
//! \brief set default values in Mparamap
virtual void setdefaults() { }
private:
//! \brief initialize work space
virtual void initialize() { }
void initialize() { }
}; // class STFEngineBlindDeconvolution
} // namespace stfinv
......
......@@ -74,10 +74,8 @@ namespace stfinv {
//! \brief return name of engine
virtual const char* name() const;
protected:
//! \brief set default values in Mparamap
virtual void setdefaults() { }
//! \brief initialize work space
virtual void initialize() { }
void initialize() { }
}; // class STFEngineFixedWavelet
} // namespace stfinv
......
......@@ -209,6 +209,7 @@ namespace stfinv {
void STFFourierDomainEngine::fftoutput()
{
STFINV_abort("convolution is not yet implemented");
// cycle through receivers
for (unsigned int i=0; i<this->nreceivers(); ++i)
{
......
......@@ -99,6 +99,8 @@ namespace stfinv {
/*! \brief convolve synthetics with Fourier transform of stf and
* transform convolved synthetics and stf to time domain and pass
* signals to user memory space
* \todo
* Convolution is not yet implemented.
*/
void fftoutput();
//! \brief return reference to Fourier transform of recorded data
......
......@@ -48,6 +48,12 @@ namespace stfinv {
/*! \brief Engine to apply a scalar factor
* \ingroup engines
*
* \par Concept behin this engine
* This engine convolves the synthetic data with a discrete delta pulse so
* to speak.
* Optionally the delta-peak ist scale such that the convolved synthetics
* will be of equal scaled energy as the recordings.
*/
class STFEngineIdentity: public stfinv::STFBaseEngine {
public:
......@@ -73,11 +79,9 @@ namespace stfinv {
static void classhelp(std::ostream& os=std::cout);
//! \brief return name of engine
virtual const char* name() const;
protected:
//! \brief set default values in Mparamap
virtual void setdefaults() { }
private:
//! \brief initialize work space
virtual void initialize() { }
void initialize() { }
}; // class STFEngineIdentity
} // namespace stfinv
......
......@@ -74,10 +74,8 @@ namespace stfinv {
//! \brief return name of engine
virtual const char* name() const;
protected:
//! \brief set default values in Mparamap
virtual void setdefaults() { }
//! \brief initialize work space
virtual void initialize() { }
void initialize() { }
}; // class STFEngineNormalize
} // namespace stfinv
......
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