Gascoigne::EntryMatrix Class Reference

#include <entrymatrix.h>

Collaboration diagram for Gascoigne::EntryMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EntryMatrix ()
 EntryMatrix (int nd, int nc)
 EntryMatrix (int nd, int md, int nc, int mc)
 ~EntryMatrix ()
const_iterator begin (int i, int j) const
iterator begin (int i, int j)
const_iterator end (int i, int j) const
iterator end (int i, int j)
void SetDofIndex (int i, int j)
double operator() (int c, int d) const
double & operator() (int c, int d)
void SetDimensionDof (int n, int m)
void SetDimensionComp (int n, int m)
void resize ()
int Ncomp () const
int Mcomp () const
int Ndof () const
int Mdof () const
double operator() (int i, int j, int c, int d) const
double & operator() (int i, int j, int c, int d)
double operator() (int i, int j, int p) const
void zero ()
void add (int il, int jl, int i, int j, const EntryMatrix &E)
void zero_row (int i1)
void zero_column (int j1)
void add_row (int i1, int i2, double s=1.)
void add_column (int j1, int j2, double s=1.)
void add_column_row (int i1, int i2)
void multiply_row (int i, double s=1.)
void multiply_column (int j, double s=1.)
void multiply_column_row (int j, double s=1.)
void distribute_row (int s, int t1, int t2)
void distribute_column (int s, int t1, int t2)
void transpose (EntryMatrix &E)
void equ (double d)
void mult (Vector &y, const Vector &x)

Protected Types

typedef DoubleVector::const_iterator const_iterator
typedef DoubleVector::iterator iterator
typedef std::vector< DoubleVectorVector

Protected Member Functions

int dofindex (int i, int j) const
int compindex (int c, int d) const
int index (int i, int j, int c, int d) const

Protected Attributes

int ndof
int mdof
int ncomp
int mcomp
int nmdof
int nmcomp
int ind
DoubleVector val

Friends

std::ostream & operator<< (std::ostream &s, const EntryMatrix &A)

Member Typedef Documentation

typedef DoubleVector::const_iterator Gascoigne::EntryMatrix::const_iterator [protected]

typedef DoubleVector::iterator Gascoigne::EntryMatrix::iterator [protected]

typedef std::vector<DoubleVector> Gascoigne::EntryMatrix::Vector [protected]


Constructor & Destructor Documentation

Gascoigne::EntryMatrix::EntryMatrix (  )  [inline]

Gascoigne::EntryMatrix::EntryMatrix ( int  nd,
int  nc 
) [inline]

Gascoigne::EntryMatrix::EntryMatrix ( int  nd,
int  md,
int  nc,
int  mc 
) [inline]

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


Member Function Documentation

void Gascoigne::EntryMatrix::add ( int  il,
int  jl,
int  i,
int  j,
const EntryMatrix E 
) [inline]

void Gascoigne::EntryMatrix::add_column ( int  j1,
int  j2,
double  s = 1. 
) [inline]

void Gascoigne::EntryMatrix::add_column_row ( int  i1,
int  i2 
) [inline]

void Gascoigne::EntryMatrix::add_row ( int  i1,
int  i2,
double  s = 1. 
) [inline]

iterator Gascoigne::EntryMatrix::begin ( int  i,
int  j 
) [inline]

const_iterator Gascoigne::EntryMatrix::begin ( int  i,
int  j 
) const [inline]

int Gascoigne::EntryMatrix::compindex ( int  c,
int  d 
) const [inline, protected]

void Gascoigne::EntryMatrix::distribute_column ( int  s,
int  t1,
int  t2 
) [inline]

void Gascoigne::EntryMatrix::distribute_row ( int  s,
int  t1,
int  t2 
) [inline]

int Gascoigne::EntryMatrix::dofindex ( int  i,
int  j 
) const [inline, protected]

iterator Gascoigne::EntryMatrix::end ( int  i,
int  j 
) [inline]

const_iterator Gascoigne::EntryMatrix::end ( int  i,
int  j 
) const [inline]

void Gascoigne::EntryMatrix::equ ( double  d  )  [inline]

int Gascoigne::EntryMatrix::index ( int  i,
int  j,
int  c,
int  d 
) const [inline, protected]

int Gascoigne::EntryMatrix::Mcomp (  )  const [inline]

int Gascoigne::EntryMatrix::Mdof (  )  const [inline]

void Gascoigne::EntryMatrix::mult ( Vector y,
const Vector x 
) [inline]

void Gascoigne::EntryMatrix::multiply_column ( int  j,
double  s = 1. 
) [inline]

void Gascoigne::EntryMatrix::multiply_column_row ( int  j,
double  s = 1. 
) [inline]

void Gascoigne::EntryMatrix::multiply_row ( int  i,
double  s = 1. 
) [inline]

int Gascoigne::EntryMatrix::Ncomp (  )  const [inline]

int Gascoigne::EntryMatrix::Ndof (  )  const [inline]

double Gascoigne::EntryMatrix::operator() ( int  i,
int  j,
int  p 
) const [inline]

double& Gascoigne::EntryMatrix::operator() ( int  i,
int  j,
int  c,
int  d 
) [inline]

double Gascoigne::EntryMatrix::operator() ( int  i,
int  j,
int  c,
int  d 
) const [inline]

double& Gascoigne::EntryMatrix::operator() ( int  c,
int  d 
) [inline]

double Gascoigne::EntryMatrix::operator() ( int  c,
int  d 
) const [inline]

void Gascoigne::EntryMatrix::resize (  )  [inline]

void Gascoigne::EntryMatrix::SetDimensionComp ( int  n,
int  m 
) [inline]

void Gascoigne::EntryMatrix::SetDimensionDof ( int  n,
int  m 
) [inline]

void Gascoigne::EntryMatrix::SetDofIndex ( int  i,
int  j 
) [inline]

void Gascoigne::EntryMatrix::transpose ( EntryMatrix E  )  [inline]

void Gascoigne::EntryMatrix::zero (  )  [inline]

void Gascoigne::EntryMatrix::zero_column ( int  j1  )  [inline]

void Gascoigne::EntryMatrix::zero_row ( int  i1  )  [inline]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const EntryMatrix A 
) [friend]


Member Data Documentation

int Gascoigne::EntryMatrix::ind [protected]

int Gascoigne::EntryMatrix::mcomp [protected]

int Gascoigne::EntryMatrix::mdof [protected]

int Gascoigne::EntryMatrix::ncomp [protected]

int Gascoigne::EntryMatrix::ndof [protected]

int Gascoigne::EntryMatrix::nmcomp [protected]

int Gascoigne::EntryMatrix::nmdof [protected]

DoubleVector Gascoigne::EntryMatrix::val [protected]


The documentation for this class was generated from the following file:
Generated on Thu Sep 14 10:46:13 2006 for Gascoigne by  doxygen 1.4.7