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

MODEL::VFAmputation Class Template Reference

#include <vfamputation.h>

Inheritance diagram for MODEL::VFAmputation:

Inheritance graph
[legend]
Collaboration diagram for MODEL::VFAmputation:

Collaboration graph
[legend]
List of all members.

Public Types

typedef NumericTraits<nelem,
dims+1>::vf 
greatervf
typedef NumericTraits<nelem,
dims+1>::vect 
greatervect

Public Methods

 VFAmputation (greatervf &func, const integer &var, bool own=false)
 ~VFAmputation ()
 VFAmputation (const VFAmputation &vfb)
virtual VFAmputation* clone () const
virtual const vect& function (vect &fu, const vect &u)
greatervect convert (const vect &v)
vect convert (const greatervect &v)

Private Methods

 PRIVATE_ASSIGN (VFAmputation)

Private Attributes

greatervf* f
bool owned
integer dynpar
number paramvar

Detailed Description

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

A new vectorfunction comes out, and one of the dynamical variables has been changed into a parameter

Definition at line 34 of file vfamputation.h.


Constructor & Destructor Documentation

VFAmputation ( greatervf & func,
const integer & var,
bool own = false ) [inline]
 

Which VF, what variable

Definition at line 42 of file vfamputation.h.

Referenced by clone().

~VFAmputation ( ) [inline]
 

Create one, with a bump already specified

Definition at line 60 of file vfamputation.h.

VFAmputation ( const VFAmputation<dims, nelem, NT> & vfb ) [inline]
 

copy

Bug:
parameters should be copied, too

Definition at line 64 of file vfamputation.h.


Member Function Documentation

VFAmputation * clone ( void ) const [inline, virtual]
 

Virtual Copy Constructor

Reimplemented from MODEL::VectorFunction.

Definition at line 78 of file vfamputation.h.

vect convert ( const greatervect & v ) [inline]
 

converts vectors n+1+>n. Updates parameter values ?

Definition at line 106 of file vfamputation.h.

greatervect convert ( const vect & v ) [inline]
 

converts vectors n=>n+1. Moves parameter into variable

Definition at line 94 of file vfamputation.h.

Referenced by function().

const vect & function ( vect & fu,
const vect & u ) [inline, virtual]
 

Implement this function to create the return vector. fu is a reference to where the values should be stored. This is for efficiency in internal routines. Inherited classes should return fu too.

Reimplemented from MODEL::VectorFunction.

Definition at line 84 of file vfamputation.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: www.alna.vub.ac.be

Last update: June 2002.


Looking for Open Source? Check out SourceForge Logo !