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

MODEL::RadPotFunction Class Reference

#include <radpotfunction.h>

Inheritance diagram for MODEL::RadPotFunction:

Inheritance graph
Collaboration diagram for MODEL::RadPotFunction:

Collaboration graph
List of all members.

Public Types

typedef VectorFunction<3> base

Public Methods

 RadPotFunction ()
virtual ~RadPotFunction ()
 RadPotFunction (const RadPotFunction &crvf)
const RadPotFunction& operator= (const RadPotFunction &arvf)
virtual RadPotFunction* clone () const
virtual const vect& function (vect &fu, const vect &u)

Detailed Description

A testfunction for the all the others: returns a vector that points away from the origin and scales with the distance squared. Only for testing purposes.

Definition at line 31 of file radpotfunction.h.

Member Function Documentation

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

Virtual Copy Constructor

Reimplemented from MODEL::VectorFunction.

Definition at line 44 of file radpotfunction.h.

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

Implement this function to create the return vector

Reimplemented from MODEL::VectorFunction.

Definition at line 47 of file radpotfunction.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 !