Gascoigne::CompVector< T > Class Template Reference

#include <compvector.h>

Inheritance diagram for Gascoigne::CompVector< T >:

Inheritance graph
[legend]
Collaboration diagram for Gascoigne::CompVector< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef nvector< T >::const_iterator const_iterator
typedef nvector< T >::iterator iterator

Public Member Functions

int ncomp () const
int & ncomp ()
 ~CompVector ()
 CompVector ()
 CompVector (int NN)
 CompVector (int NN, size_t n)
 CompVector (int NN, size_t n, const T &d)
 CompVector (const std::vector< T > &u)
 CompVector (const CompVector &u)
CompVectoroperator= (double d)
size_t n () const
const_iterator start (int i) const
iterator start (int i)
const_iterator stop (int i) const
iterator stop (int i)
const T & operator() (int i, int c) const
T & operator() (int i, int c)
void ReInit (size_t ncomp, size_t n)
void ReInit (const CompVector &u)
void reservesize (size_t n, const T &s=0)
void reservesize (const CompVector &u)
void resize (size_t n, const T &s=0.)
void total_reservesize (size_t n)
void equ_node (int i, double d0)
void scale_comp (int c, double d0)
void scale_node (int i, double d0)
void add_node (int i, double d0, const nvector< T > &u0)
void equ_node (int i, int j, const CompVector< T > &u0)
void equ_node (int i, double d0, int i0, const CompVector< T > &u0)
void equ_node (int i, double d0, int i0, double d1, int i1)
void equ_node (int i, double d0, int i0, double d1, int i1, double d2, int i2)
void add_node (int i, double d0, int i0, double d1, int i1, double d2, int i2)
void equ_node (int i, double d0, int i0, double d1, int i1, double d2, int i2, double d3, int i3)
void equ_node (int i, double d0, int i0, const CompVector< T > &u0, double d1, int i1, const CompVector< T > &u1)
void zero_comp (int c)
void zero_node (int i)
void add_node (int i, double d0, int i0)
void add_node (int i, double d0, int i0, double d1, int i1)
void add_node (int i, double d0, int i0, const CompVector< T > &u0)
double CompScp (int c, const CompVector< T > &v) const
double CompNormL8 (int c) const
double CompMin (int c) const
double CompMax (int c) const
void SetMax (int c, double val)
void FillLocal (int i, nvector< double > &uloc) const
void node_zero (int i)
void CompAdd (int c, double d)
void CompAdd (int c, double d, const CompVector &y)
void CompEq (int c, double d)
void CompEq (int c, double d, const CompVector &y)
double CompSum (int c) const
double CompNorm (int c) const
nvector< double > CompNorm () const
void Add (const nvector< double > &scp, const CompVector< T > &y)
void ScalarProductComp (nvector< double > &scp, const CompVector< T > &y) const
void ScalarProductCompMatrix (nmatrix< double > &scp, const CompVector< T > &y) const
void Read (std::istream &s, int c)
void BinWrite (std::ostream &out) const
void BinRead (std::istream &in)

Protected Attributes

int N

template<class T>
class Gascoigne::CompVector< T >


Member Typedef Documentation

template<class T>
typedef nvector<T>::const_iterator Gascoigne::CompVector< T >::const_iterator

Reimplemented from Gascoigne::nvector< T >.

template<class T>
typedef nvector<T>::iterator Gascoigne::CompVector< T >::iterator

Reimplemented from Gascoigne::nvector< T >.


Constructor & Destructor Documentation

template<class T>
Gascoigne::CompVector< T >::~CompVector (  )  [inline]

template<class T>
Gascoigne::CompVector< T >::CompVector (  )  [inline]

template<class T>
Gascoigne::CompVector< T >::CompVector ( int  NN  )  [inline]

template<class T>
Gascoigne::CompVector< T >::CompVector ( int  NN,
size_t  n 
) [inline]

template<class T>
Gascoigne::CompVector< T >::CompVector ( int  NN,
size_t  n,
const T &  d 
) [inline]

template<class T>
Gascoigne::CompVector< T >::CompVector ( const std::vector< T > &  u  )  [inline]

template<class T>
Gascoigne::CompVector< T >::CompVector ( const CompVector< T > &  u  )  [inline]


Member Function Documentation

template<class T>
void Gascoigne::CompVector< T >::Add ( const nvector< double > &  scp,
const CompVector< T > &  y 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::add_node ( int  i,
double  d0,
int  i0,
const CompVector< T > &  u0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::add_node ( int  i,
double  d0,
int  i0,
double  d1,
int  i1 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::add_node ( int  i,
double  d0,
int  i0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::add_node ( int  i,
double  d0,
int  i0,
double  d1,
int  i1,
double  d2,
int  i2 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::add_node ( int  i,
double  d0,
const nvector< T > &  u0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::BinRead ( std::istream &  in  )  [inline]

Reimplemented from Gascoigne::nvector< T >.

template<class T>
void Gascoigne::CompVector< T >::BinWrite ( std::ostream &  out  )  const [inline]

Reimplemented from Gascoigne::nvector< T >.

template<class T>
void Gascoigne::CompVector< T >::CompAdd ( int  c,
double  d,
const CompVector< T > &  y 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::CompAdd ( int  c,
double  d 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::CompEq ( int  c,
double  d,
const CompVector< T > &  y 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::CompEq ( int  c,
double  d 
) [inline]

template<class T>
double Gascoigne::CompVector< T >::CompMax ( int  c  )  const [inline]

template<class T>
double Gascoigne::CompVector< T >::CompMin ( int  c  )  const [inline]

template<class T>
nvector<double> Gascoigne::CompVector< T >::CompNorm (  )  const [inline]

template<class T>
double Gascoigne::CompVector< T >::CompNorm ( int  c  )  const [inline]

template<class T>
double Gascoigne::CompVector< T >::CompNormL8 ( int  c  )  const [inline]

template<class T>
double Gascoigne::CompVector< T >::CompScp ( int  c,
const CompVector< T > &  v 
) const [inline]

template<class T>
double Gascoigne::CompVector< T >::CompSum ( int  c  )  const [inline]

template<class T>
void Gascoigne::CompVector< T >::equ_node ( int  i,
double  d0,
int  i0,
const CompVector< T > &  u0,
double  d1,
int  i1,
const CompVector< T > &  u1 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::equ_node ( int  i,
double  d0,
int  i0,
double  d1,
int  i1,
double  d2,
int  i2,
double  d3,
int  i3 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::equ_node ( int  i,
double  d0,
int  i0,
double  d1,
int  i1,
double  d2,
int  i2 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::equ_node ( int  i,
double  d0,
int  i0,
double  d1,
int  i1 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::equ_node ( int  i,
double  d0,
int  i0,
const CompVector< T > &  u0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::equ_node ( int  i,
int  j,
const CompVector< T > &  u0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::equ_node ( int  i,
double  d0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::FillLocal ( int  i,
nvector< double > &  uloc 
) const [inline]

template<class T>
size_t Gascoigne::CompVector< T >::n (  )  const [inline]

template<class T>
int& Gascoigne::CompVector< T >::ncomp (  )  [inline]

template<class T>
int Gascoigne::CompVector< T >::ncomp (  )  const [inline]

template<class T>
void Gascoigne::CompVector< T >::node_zero ( int  i  )  [inline]

template<class T>
T& Gascoigne::CompVector< T >::operator() ( int  i,
int  c 
) [inline]

template<class T>
const T& Gascoigne::CompVector< T >::operator() ( int  i,
int  c 
) const [inline]

template<class T>
CompVector& Gascoigne::CompVector< T >::operator= ( double  d  )  [inline]

template<class T>
void Gascoigne::CompVector< T >::Read ( std::istream &  s,
int  c 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::ReInit ( const CompVector< T > &  u  )  [inline]

template<class T>
void Gascoigne::CompVector< T >::ReInit ( size_t  ncomp,
size_t  n 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::reservesize ( const CompVector< T > &  u  )  [inline]

template<class T>
void Gascoigne::CompVector< T >::reservesize ( size_t  n,
const T &  s = 0 
) [inline]

Reimplemented from Gascoigne::nvector< T >.

template<class T>
void Gascoigne::CompVector< T >::resize ( size_t  n,
const T &  s = 0. 
) [inline]

Reimplemented from std::vector< T >.

template<class T>
void Gascoigne::CompVector< T >::ScalarProductComp ( nvector< double > &  scp,
const CompVector< T > &  y 
) const [inline]

template<class T>
void Gascoigne::CompVector< T >::ScalarProductCompMatrix ( nmatrix< double > &  scp,
const CompVector< T > &  y 
) const [inline]

template<class T>
void Gascoigne::CompVector< T >::scale_comp ( int  c,
double  d0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::scale_node ( int  i,
double  d0 
) [inline]

template<class T>
void Gascoigne::CompVector< T >::SetMax ( int  c,
double  val 
) [inline]

template<class T>
iterator Gascoigne::CompVector< T >::start ( int  i  )  [inline]

template<class T>
const_iterator Gascoigne::CompVector< T >::start ( int  i  )  const [inline]

template<class T>
iterator Gascoigne::CompVector< T >::stop ( int  i  )  [inline]

template<class T>
const_iterator Gascoigne::CompVector< T >::stop ( int  i  )  const [inline]

template<class T>
void Gascoigne::CompVector< T >::total_reservesize ( size_t  n  )  [inline]

template<class T>
void Gascoigne::CompVector< T >::zero_comp ( int  c  )  [inline]

template<class T>
void Gascoigne::CompVector< T >::zero_node ( int  i  )  [inline]


Member Data Documentation

template<class T>
int Gascoigne::CompVector< T >::N [protected]


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