Commit 1e54260d authored by thomas.forbriger's avatar thomas.forbriger

libstfinv [WP]: improve debug output of STFFourierDomainEngine::initialize

parent bef3db97
......@@ -40,7 +40,7 @@
"STFINV_DEBUG_H V1.0"
/*! \brief produce debug output
* \ingroup misc_h
* \ingroup debug
*
* \param C output will be generated if C == true
* \param N name of function
......@@ -54,8 +54,15 @@
std::cerr.flush(); \
}
/*! \brief report value in a sequence of output operators
* \ingroup debug
*
* \param P parameter to dump
*/
#define STFINV_value( P ) #P << "=" << P
/*! \brief report value of expression
* \ingroup misc_h
* \ingroup debug
*
* \param P parameter to dump
*/
......
......@@ -263,15 +263,17 @@ namespace stfinv {
"ERROR: taper definition times not in increasing order");
STFINV_debug(Mdebug&1, "STFFourierDomainEngine::initialize()",
"this->nsamples()=" << this->nsamples() << " " <<
"padfactor=" << padfactor << " " <<
"divisor=" << divisor << " " <<
"nsamples=" << nsamples << " " <<
"Mapplyshift=" << Mapplyshift << " " <<
"Mtshift=" << Mtshift << " " <<
"Mapplystftaper=" << Mapplystftaper << " " <<
"Mtt1, Mtt2, Mtt3, Mtt4="
<< Mtt1 << ", " << Mtt2 << ", " << Mtt3 << ", " << Mtt4);
STFINV_value(this->nsamples()) << "\n " <<
STFINV_value(padfactor) << "\n " <<
STFINV_value(divisor) << "\n " <<
STFINV_value(nsamples) << "\n " <<
STFINV_value(Mapplyshift) << "\n " <<
STFINV_value(Mtshift) << "\n " <<
STFINV_value(Mapplystftaper) << "\n " <<
STFINV_value(Mtt1) << "\n " <<
STFINV_value(Mtt2) << "\n " <<
STFINV_value(Mtt3) << "\n " <<
STFINV_value(Mtt4));
} // void STFFourierDomainEngine::initialize()
/*----------------------------------------------------------------------*/
......
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