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

MODEL::CVR3DFunc Class Reference

#include <cvr3dfunc.h>

Inheritance diagram for MODEL::CVR3DFunc:

Inheritance graph
Collaboration diagram for MODEL::CVR3DFunc:

Collaboration graph
List of all members.

Public Types

typedef VectorFunction<3> base

Public Methods

 CVR3DFunc (const vect &r=vect(0.))
virtual ~CVR3DFunc ()
 CVR3DFunc (const CVR3DFunc &c)
const CVR3DFunc& operator= (const CVR3DFunc &c)
virtual CVR3DFunc* clone () const

Private Methods

void copy (const CVR3DFunc &c)
virtual const vect& function (vect &fu, const vect &u)

Private Attributes

vect cr

Detailed Description

Constant Function Class: returns a (constant real 3D vector), whatever you do. Only for testing purposes.

Definition at line 33 of file cvr3dfunc.h.

Constructor & Destructor Documentation

CVR3DFunc ( const CVR3DFunc & c ) [inline]

Copy constructor

Definition at line 42 of file cvr3dfunc.h.

Referenced by clone().

Member Function Documentation

CVR3DFunc * clone ( ) const [inline, virtual]

Virtual Copy Constructor

Reimplemented from MODEL::VectorFunction.

Definition at line 50 of file cvr3dfunc.h.

const vect & function ( vect & fu,
const vect & u ) [inline, private, 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 56 of file cvr3dfunc.h.

const CVR3DFunc & operator= ( const CVR3DFunc & c ) [inline]


Definition at line 45 of file cvr3dfunc.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 !