MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::ExtraDynamic Class Reference

base class for dynamic systems of the form $\dot{x}=f\left(x,u\right)$ and $y=g\left(x,u\right)$ More...

#include <extra_dynamic.h>

Inheritance diagram for MBSim::ExtraDynamic:
MBSim::Element

List of all members.

Public Member Functions

 ExtraDynamic (const std::string &name)
 constructor
virtual void updatedx (double t, double dt)=0
 update order one parameter increment
virtual void updatexd (double t)=0
 update differentiated order one parameter
virtual void calcxSize ()
virtual const fmatvec::Vec & getx () const
virtual fmatvec::Vec & getx ()
virtual void setxInd (int xInd_)
virtual int getxSize () const
virtual void updatexRef (const fmatvec::Vec &ref)
virtual void updatexdRef (const fmatvec::Vec &ref)
virtual void init (InitStage stage)
 plots time series header
virtual void initz ()
virtual void writez (const H5::Group &group)
virtual void readz0 (const H5::Group &group)
virtual std::string getType () const
virtual void closePlot ()
 closes plot file
virtual void plot (double t, double dt=1)
 plots time dependent data
virtual void updateg (double t)=0
void setInitialState (const fmatvec::Vec &x0_)
virtual Element * getByPathSearch (std::string path)
 a general element search by path
virtual void initializeUsingXML (MBXMLUtils::TiXmlElement *element)

Protected Attributes

fmatvec::Vec x
 order one parameter, differentiated order one parameter, initial order one parameters
fmatvec::Vec xd
fmatvec::Vec x0
int xSize
 size of order one parameter vector
int xInd
 index of order one parameters
fmatvec::Vec y
 system output $y=g\left(x\right)$

Detailed Description

base class for dynamic systems of the form $\dot{x}=f\left(x,u\right)$ and $y=g\left(x,u\right)$

Author:
Mathias Bachmayer
Date:
2009-04-06 interface extracted (Thorsten Schindler)
2009-07-28 splitted interfaces (Thorsten Schindler)

Constructor & Destructor Documentation

MBSim::ExtraDynamic::ExtraDynamic ( const std::string &  name)

constructor

Parameters:
nameof extra dynamic system

Member Function Documentation

virtual std::string MBSim::ExtraDynamic::getType ( ) const [inline, virtual]
Returns:
std::string representation

Reimplemented from MBSim::Element.

virtual void MBSim::ExtraDynamic::init ( InitStage  stage) [virtual]

plots time series header

Parameters:
invocingparent class

Reimplemented from MBSim::Element.

virtual void MBSim::ExtraDynamic::plot ( double  t,
double  dt = 1 
) [virtual]

plots time dependent data

Parameters:
simulationtime
simulationtime step size for derivative calculation

Reimplemented from MBSim::Element.

virtual void MBSim::ExtraDynamic::updatedx ( double  t,
double  dt 
) [pure virtual]

update order one parameter increment

Parameters:
simulationtime
simulationstep size
virtual void MBSim::ExtraDynamic::updatexd ( double  t) [pure virtual]

update differentiated order one parameter

Parameters:
simulationtime

The documentation for this class was generated from the following file: