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

debug mode compiles

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: 1839
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent dcd385fc
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: seifeclass.cc,v 1.5 2005-07-05 11:01:25 tforb Exp $
* $Id: seifeclass.cc,v 1.6 2005-07-11 09:04:08 tforb Exp $
* \author Thomas Forbriger
* \date 04/07/2005
*
......@@ -13,13 +13,14 @@
*
* REVISIONS and CHANGES
* - 04/07/2005 V1.0 Thomas Forbriger
* - 11/07/2005 V1.1 support debug mode
*
* ============================================================================
*/
#define TF_SEIFECLASS_CC_VERSION \
"TF_SEIFECLASS_CC V1.0 "
"TF_SEIFECLASS_CC V1.1"
#define TF_SEIFECLASS_CC_CVSID \
"$Id: seifeclass.cc,v 1.5 2005-07-05 11:01:25 tforb Exp $"
"$Id: seifeclass.cc,v 1.6 2005-07-11 09:04:08 tforb Exp $"
#include<sstream>
#include<tsxx/seifexx.h>
......@@ -149,6 +150,8 @@ namespace ts {
fh=Tfh(new TID(ni));
} else if (ID=="first") {
fh=Tfh(new FIRST());
} else if (ID=="DBG") {
debug_mode_on();
} else {
TSXX_UnknownFilterAbort("ts::seife::make_seife_filter", ID);
}
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: seifexx.cc,v 1.5 2005-07-04 15:58:38 tforb Exp $
* $Id: seifexx.cc,v 1.6 2005-07-11 09:04:08 tforb Exp $
* \author Thomas Forbriger
* \date 14/01/2005
*
......@@ -17,13 +17,14 @@
*
* REVISIONS and CHANGES
* - 14/01/2005 V1.0 Thomas Forbriger
* - 11/07/2005 V1.1 support debug mode
*
* ============================================================================
*/
#define TF_SEIFEXX_CC_VERSION \
"TF_SEIFEXX_CC V1.0 "
"TF_SEIFEXX_CC V1.1"
#define TF_SEIFEXX_CC_CVSID \
"$Id: seifexx.cc,v 1.5 2005-07-04 15:58:38 tforb Exp $"
"$Id: seifexx.cc,v 1.6 2005-07-11 09:04:08 tforb Exp $"
#include <tsxx/seifexx.h>
extern "C" {
......@@ -34,6 +35,9 @@ namespace ts {
namespace seife {
/*! switch on debug mode */
void debug_mode_on() { seife_debug_mode_on(); }
/*! Butterworth lowpass (period t0, order o) */
void lpb(const Tseries& s, double dt, double t0, int o)
{ seife_lpb(s.pointer(), s.size(), dt, t0, o); }
......
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: seifexx.h,v 1.5 2005-07-04 15:58:38 tforb Exp $
* $Id: seifexx.h,v 1.6 2005-07-11 09:04:08 tforb Exp $
* \author Thomas Forbriger
* \date 14/01/2005
*
......@@ -13,6 +13,7 @@
*
* REVISIONS and CHANGES
* - 14/01/2005 V1.0 Thomas Forbriger
* - 11/07/2005 V1.1 support debug mode
*
* ============================================================================
*/
......@@ -21,9 +22,9 @@
#ifndef TF_SEIFEXX_H_VERSION
#define TF_SEIFEXX_H_VERSION \
"TF_SEIFEXX_H V1.0 "
"TF_SEIFEXX_H V1.1"
#define TF_SEIFEXX_H_CVSID \
"$Id: seifexx.h,v 1.5 2005-07-04 15:58:38 tforb Exp $"
"$Id: seifexx.h,v 1.6 2005-07-11 09:04:08 tforb Exp $"
#include<aff/series.h>
......@@ -36,6 +37,8 @@ namespace ts {
//! series to be passed to seife functions
typedef aff::Series<Tvalue> Tseries;
/*! switch on debug mode */
void debug_mode_on();
/*! Butterworth lowpass (period t0, order o) */
void lpb(const Tseries& s, double dt, double t0, int o);
/*! Butterworth highpass (period t0, order o) */
......
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