class Lag


Public Methods

[more] Lag()
[more] ~Lag()
[more]void SetName(const string &n)
[more]void SetA(const double &a)
[more]void SetPrevDevice(const int &d)
[more]void Set(const string &n, const int &pd, const double &a, const double &dt)
Method for complete initialization of this device.
[more]void ComputeCs(double dt)
[more]void SetInitState(const double &y_0)
compute the constants c_1, c_2.
[more]void Run(const double &i)
compute first output given first input (first running)
[more]double GetOutput(void) const
get current output value
[more]void Out(char*c) const
Print characteristics/state to default output

Private Fields

[more]string name
[more]int pdev
[more]double A
previous device index to connect with
[more]double c1
[more]double c2
[more]double x
[more]double x0
[more]double y
[more]double y0


Documentation

o Lag()

o ~Lag()

ovoid SetName(const string &n)

ovoid SetA(const double &a)

ovoid SetPrevDevice(const int &d)

ovoid Set(const string &n, const int &pd, const double &a, const double &dt)
Method for complete initialization of this device.

ovoid ComputeCs(double dt)

ovoid SetInitState(const double &y_0)
compute the constants c_1, c_2. , based on step dt.Really only needed if dt changues.

ovoid Run(const double &i)
compute first output given first input (first running)

odouble GetOutput(void) const
get current output value

ovoid Out(char*c) const
Print characteristics/state to default output

ostring name

oint pdev

odouble A
previous device index to connect with

odouble c1

odouble c2

odouble x

odouble x0

odouble y

odouble y0


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.