Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MODEL::AvgProbe Class Template Reference

#include <probe.h>

Inheritance diagram for MODEL::AvgProbe:

Inheritance graph
Collaboration diagram for MODEL::AvgProbe:

Collaboration graph
List of all members.

Public Types

typedef ODESystem<dims,nelem,

Public Methods

 AvgProbe (TimeFrame &T, system &s, const string &n, integer no, integer avg, integer out=1)
 AvgProbe (TimeFrame &T, system &s, ostream &o, integer no, integer avg)
virtual void probe (void)

Private Attributes

system* my_sys
integer whichone
integer n
integer o
integer ocount
number runningvalue

Detailed Description

template<integer dims, typename nelem = number, class NT = NumericTraits<nelem,dims>> class MODEL::AvgProbe

A probe which records a specific in a ODESystem, averaging out ove a certain timescale

Definition at line 148 of file probe.h.

Constructor & Destructor Documentation

AvgProbe ( TimeFrame & T,
system & s,
const string & n,
integer no,
integer avg,
integer out = 1 ) [inline]

Constructor for an exponentially averaging probe.

T   The timeframe to which the probe is connected, at which specifies the rate at which the probe samples
s   The system where we will sample info from
n   The filename to write the output to
no   The variable to sample from
avg   The number of samples to average over (3dB point)
out   The rate at which to output

All the times and rates are expresses as multiples of the timeframe resolution.

Definition at line 168 of file probe.h.

The documentation for this class was generated from the following file:
To get the sources or tarballs, please go to SourceForge or you can use the CVS repository.

More Info? Michael Peeters. Also, check our research website:

Last update: June 2002.

Looking for Open Source? Check out SourceForge Logo !