PardisoVector Class Reference

#include <pardiso.h>

Inherits Vector.

List of all members.

Public Member Functions

 PardisoVector ()
virtual ~PardisoVector ()
virtual void alloc (int ndofs)
 allocate memory for storing ndofs elements
virtual void free ()
 free the memory
virtual scalar get (int idx)
 Get the value from a position.
virtual void zero ()
 Zero the vector.
virtual void set (int idx, scalar y)
 set the entry on a specified position
virtual void add (int idx, scalar y)
 update element on the specified position
virtual void add (int n, int *idx, scalar *y)
 update subset of the elements
virtual bool dump (FILE *file, const char *var_name, EMatrixDumpFormat fmt=DF_MATLAB_SPARSE)

Protected Attributes

scalarv

Friends

class PardisoLinearSolver

Constructor & Destructor Documentation

PardisoVector::PardisoVector (  ) 
PardisoVector::~PardisoVector (  )  [virtual]

Member Function Documentation

void PardisoVector::add ( int  n,
int *  idx,
scalar y 
) [virtual]

update subset of the elements

Parameters:
[in] n - number of positions to update
[in] idx - indices where to update
[in] y - values

Implements Vector.

void PardisoVector::add ( int  idx,
scalar  y 
) [virtual]

update element on the specified position

Parameters:
[in] idx - indices where to update
[in] y - value

Implements Vector.

void PardisoVector::alloc ( int  ndofs  )  [virtual]

allocate memory for storing ndofs elements

Parameters:
[in] ndofs - number of elements of the vector

Implements Vector.

bool PardisoVector::dump ( FILE *  file,
const char *  var_name,
EMatrixDumpFormat  fmt = DF_MATLAB_SPARSE 
) [virtual]

Implements Vector.

void PardisoVector::free (  )  [virtual]

free the memory

Implements Vector.

virtual scalar PardisoVector::get ( int  idx  )  [inline, virtual]

Get the value from a position.

Returns:
the value form the specified index
Parameters:
[in] idx - index which to obtain the value from

Implements Vector.

void PardisoVector::set ( int  idx,
scalar  y 
) [virtual]

set the entry on a specified position

Parameters:
[in] idx - indices where to update
[in] y - value

Implements Vector.

void PardisoVector::zero (  )  [virtual]

Zero the vector.

Implements Vector.


Friends And Related Function Documentation

friend class PardisoLinearSolver [friend]

Member Data Documentation

scalar* PardisoVector::v [protected]

The documentation for this class was generated from the following files:
Generated on Fri Sep 3 09:22:20 2010 for Hermes3D Library: Real Version by  doxygen 1.6.3