Main Page | User's guide | Class Hierarchy | Class List | File List | Class Members

Multivac::CLevelSet< T > Class Template Reference

Base class for level set functions. More...

#include <baseclass.hxx>

Inheritance diagram for Multivac::CLevelSet< T >:

Multivac::COrthogonalLevelSet< T > List of all members.

Public Member Functions

 CLevelSet () throw ()
 Default constructor.

virtual ~CLevelSet () throw ()
 Destructor.

virtual void Init (CMesh< T > &Mesh)=0
virtual void Reallocate (int i, int j)
Matrix< T > & GetValues ()
 Returns the matrix that stores level set values on grid points.

virtual T & operator() (int i, int j)
virtual void Save (string PhiFile) const=0

Protected Attributes

Matrix< T > Values
 Level set values on grid points (for an orthogonal mesh).


Detailed Description

template<class T>
class Multivac::CLevelSet< T >

Base class for level set functions.

Defines the level set interface. All level set functions must be defined in the same way.

Note:
This is an abstract class.


Member Function Documentation

template<class T>
Matrix< T > & Multivac::CLevelSet< T >::GetValues  )  [inline]
 

Returns the matrix that stores level set values on grid points.

The matrix is returned by reference.

Returns:
a reference to the matrix that stores level set values on grid points.

template<class T>
T & Multivac::CLevelSet< T >::operator() int  i,
int  j
[inline, virtual]
 

Parameters:
i grid point index (along (x'x)).
j grid point index (along (y'y)).
Exceptions:
Seldon::WrongCol attempt to reach a wrong column number.
Seldon::WrongRow attempt to reach a wrong row number.
Returns:
Level set function value on (i, j).

template<class T>
void Multivac::CLevelSet< T >::Reallocate int  i,
int  j
[inline, virtual]
 

Parameters:
i number of grid point along (x'x).
j number of grid point along (y'y).
Exceptions:
Seldon::NoMemory there is not enough available memory.


The documentation for this class was generated from the following files:
Generated on Mon Apr 19 01:59:15 2004 for Multivac by doxygen 1.3.6-20040222