Gascoigne::SimpleMatrix Class Reference

... comments SimpleMatrix More...

#include <simplematrix.h>

Inheritance diagram for Gascoigne::SimpleMatrix:

Inheritance graph
[legend]
Collaboration diagram for Gascoigne::SimpleMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SimpleMatrix ()
 Constructor.
 ~SimpleMatrix ()
std::string GetName () const
std::ostream & Write (std::ostream &os) const
const StencilInterfaceGetStencil () const
double & GetValue (int pos)
const double & GetValue (int pos) const
const double & GetValue (int i, int j) const
void zero ()
void ReInit (const SparseStructureInterface *S)
void ReInit (int n, int nentries)
void entry (niiterator start, niiterator stop, const EntryMatrix &M, double s=1.)
void vmult (DoubleVector &y, const DoubleVector &x, double d=1.) const
void vmult_transpose (DoubleVector &y, const DoubleVector &x, double d=1.) const
void vmult_comp (int c, int d, GlobalVector &y, const GlobalVector &x, double s=1.) const
void vmult_comp_trans (int c, int d, GlobalVector &y, const GlobalVector &x, double s=1.) const
void vmult_time (GlobalVector &y, const GlobalVector &x, const TimePattern &TP, double s=1.) const
void dirichlet (const IntVector &indices)
void dirichlet_only_row (const IntVector &indices)
void transpose ()
void entry_diag (int i, const nmatrix< double > &M)
 for hanging nodes
void PrepareJacobi (double s=1.)
void JacobiVector (GlobalVector &y) const
void JacobiVectorInv (GlobalVector &y) const
void vmult_time_Jacobi (GlobalVector &y, const GlobalVector &x, const TimePattern &TP, double s=1.) const

Protected Attributes

ColumnDiagStencil ST
DoubleVector value
DoubleVector _diag

Detailed Description

... comments SimpleMatrix


Constructor & Destructor Documentation

Gascoigne::SimpleMatrix::SimpleMatrix (  )  [inline]

Constructor.

Gascoigne::SimpleMatrix::~SimpleMatrix (  )  [inline]


Member Function Documentation

void Gascoigne::SimpleMatrix::dirichlet ( const IntVector indices  ) 

void Gascoigne::SimpleMatrix::dirichlet_only_row ( const IntVector indices  ) 

void Gascoigne::SimpleMatrix::entry ( niiterator  start,
niiterator  stop,
const EntryMatrix M,
double  s = 1. 
)

Reimplemented in Gascoigne::PointMatrix.

void Gascoigne::SimpleMatrix::entry_diag ( int  i,
const nmatrix< double > &  M 
) [virtual]

for hanging nodes

Implements Gascoigne::MatrixInterface.

Reimplemented in Gascoigne::PointMatrix.

std::string Gascoigne::SimpleMatrix::GetName (  )  const [inline, virtual]

Implements Gascoigne::MatrixInterface.

Reimplemented in Gascoigne::PointIlu, and Gascoigne::PointMatrix.

const StencilInterface* Gascoigne::SimpleMatrix::GetStencil (  )  const [inline, virtual]

Implements Gascoigne::MatrixInterface.

Reimplemented in Gascoigne::PointMatrix.

const double& Gascoigne::SimpleMatrix::GetValue ( int  i,
int  j 
) const [inline]

const double& Gascoigne::SimpleMatrix::GetValue ( int  pos  )  const [inline]

double& Gascoigne::SimpleMatrix::GetValue ( int  pos  )  [inline]

void Gascoigne::SimpleMatrix::JacobiVector ( GlobalVector y  )  const

void Gascoigne::SimpleMatrix::JacobiVectorInv ( GlobalVector y  )  const

void Gascoigne::SimpleMatrix::PrepareJacobi ( double  s = 1.  ) 

void Gascoigne::SimpleMatrix::ReInit ( int  n,
int  nentries 
)

Reimplemented in Gascoigne::SimpleIlu.

void Gascoigne::SimpleMatrix::ReInit ( const SparseStructureInterface S  )  [virtual]

Implements Gascoigne::MatrixInterface.

Reimplemented in Gascoigne::PointIlu, and Gascoigne::PointMatrix.

void Gascoigne::SimpleMatrix::transpose (  )  [virtual]

Implements Gascoigne::MatrixInterface.

Reimplemented in Gascoigne::PointMatrix.

void Gascoigne::SimpleMatrix::vmult ( DoubleVector y,
const DoubleVector x,
double  d = 1. 
) const

void Gascoigne::SimpleMatrix::vmult_comp ( int  c,
int  d,
GlobalVector y,
const GlobalVector x,
double  s = 1. 
) const

void Gascoigne::SimpleMatrix::vmult_comp_trans ( int  c,
int  d,
GlobalVector y,
const GlobalVector x,
double  s = 1. 
) const

void Gascoigne::SimpleMatrix::vmult_time ( GlobalVector y,
const GlobalVector x,
const TimePattern TP,
double  s = 1. 
) const [virtual]

Reimplemented from Gascoigne::MatrixInterface.

void Gascoigne::SimpleMatrix::vmult_time_Jacobi ( GlobalVector y,
const GlobalVector x,
const TimePattern TP,
double  s = 1. 
) const

void Gascoigne::SimpleMatrix::vmult_transpose ( DoubleVector y,
const DoubleVector x,
double  d = 1. 
) const

std::ostream& Gascoigne::SimpleMatrix::Write ( std::ostream &  os  )  const [virtual]

Implements Gascoigne::MatrixInterface.

void Gascoigne::SimpleMatrix::zero (  )  [inline, virtual]

Implements Gascoigne::MatrixInterface.

Reimplemented in Gascoigne::PointIlu, Gascoigne::PointMatrix, and Gascoigne::SimpleIlu.


Member Data Documentation

DoubleVector Gascoigne::SimpleMatrix::_diag [protected]

ColumnDiagStencil Gascoigne::SimpleMatrix::ST [protected]

DoubleVector Gascoigne::SimpleMatrix::value [protected]


The documentation for this class was generated from the following files:
Generated on Thu Sep 14 10:49:51 2006 for Gascoigne by  doxygen 1.4.7