Main Page | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals

packed_vector< T > Class Template Reference

#include <packed_vector.h>


Public Member Functions

 packed_vector (const int _numnod, const int _numrhs, const int _numdof)
 packed_vector (const packed_vector< T > &_x)
int numnod () const
int numrhs () const
int numdof () const

Private Attributes

int _numnod
int _numrhs
int _numdof


Detailed Description

template<class T>
class packed_vector< T >

The packed_vector class provides a packed storage format for multiple vectors.
Author:
Manfred Liebmann


Constructor & Destructor Documentation

template<class T>
packed_vector< T >::packed_vector const int  _numnod,
const int  _numrhs,
const int  _numdof
[inline]
 

The constructor takes the number of nodes, right hand sides, and degrees of freedom.

Parameters:
_numnod Input: Number of nodes.
_numrhs Input: Number of right hand sides.
_numdof Input: Number of degrees of freedom.

template<class T>
packed_vector< T >::packed_vector const packed_vector< T > &  _x  )  [inline]
 

The copy constructor takes a packed_vector.

Parameters:
_x Input: Packed vector to copy.


Member Function Documentation

template<class T>
int packed_vector< T >::numdof  )  const [inline]
 

Get the number of degrees of freedom.

Returns:
Output: Number of degrees of freedom.

template<class T>
int packed_vector< T >::numnod  )  const [inline]
 

Get the number of nodes.

Returns:
Output: Number of nodes.

template<class T>
int packed_vector< T >::numrhs  )  const [inline]
 

Get the number of right hand sides.

Returns:
Output: Number of right hand sides.


Field Documentation

template<class T>
int packed_vector< T >::_numdof [private]
 

Number of degrees of freedom

template<class T>
int packed_vector< T >::_numnod [private]
 

Number of nodes

template<class T>
int packed_vector< T >::_numrhs [private]
 

Number of right hand sides


The documentation for this class was generated from the following file:
Generated on Wed Apr 26 17:41:45 2006 for Parallel Toolbox by  doxygen 1.4.2