Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

TAYLOR_CTRL Class Reference

Control class for Taylor coefficient generators. More...

#include <taylctrl.h>

Inheritance diagram for TAYLOR_CTRL:

TAYLOR_ODE TAYLOR_VAR TAYLOR_ODE_TAD TAYLOR_VAR_TAD List of all members.

Public Methods

 TAYLOR_CTRL ( int n )
 Constructor. More...

void SetH ( const INTERVAL & h )
 Sets a point of expansion. More...

INTERVAL GetH () const
 Returns the interval enclosing the point of expansion. More...

void SetOrder ( int order )
 Sets the order of the Taylor series. More...

int GetOrder () const
 Returns the order of the Taylor series. More...

int GetDim () const
 Returns the size of the problem.

virtual ~TAYLOR_CTRL ()
 Destructor.


Static Public Methods

int GetMaxOrder ()
 Returns the maximum order allowed.


Static Public Attributes

int MaxOrder
 Maximum order of the Taylor series. More...


Detailed Description

Control class for Taylor coefficient generators.

This class specifies the order of a Taylor series expansion, the maximum order allowed, and the point of expansion.

Author(s):
Ned Nedialkov
Date:
8 June 2001


Constructor & Destructor Documentation

TAYLOR_CTRL::TAYLOR_CTRL ( int n ) [inline]
 

Constructor.

Parameters:
n   size of the problem
Precondition:
n > 0

TAYLOR_CTRL::~TAYLOR_CTRL ( ) [inline, virtual]
 

Destructor.


Member Function Documentation

void TAYLOR_CTRL::SetH ( const INTERVAL & h ) [inline]
 

Sets a point of expansion.

It is specified by an interval containing this point.

Parameters:
h   an interval containing the point of expansion
Precondition:
NonZero(h)

INTERVAL TAYLOR_CTRL::GetH ( ) const [inline]
 

Returns the interval enclosing the point of expansion.

This function returns the interval that is set by the most recent call to SetH(), or 0, if SetH() has not been called.

void TAYLOR_CTRL::SetOrder ( int order ) [inline]
 

Sets the order of the Taylor series.

Parameters:
order   order of the Taylor series
Precondition:
order>0 && order<= GetMaxOrder()

int TAYLOR_CTRL::GetOrder ( ) const [inline]
 

Returns the order of the Taylor series.

This function returns the order that is set by the most recent call to SetOrder(), or 0, if SetOrder() has not been called.

int TAYLOR_CTRL::GetMaxOrder ( ) [inline, static]
 

Returns the maximum order allowed.

int TAYLOR_CTRL::GetDim ( ) const [inline]
 

Returns the size of the problem.


Member Data Documentation

int TAYLOR_CTRL::MaxOrder [static]
 

Maximum order of the Taylor series.

A default value of 40 is set in the VnodeInit() function. This value can be changed by editing the file vndinit.cc.


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 12:45:42 2001 for VNODE by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000