FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
fei::FillableMat Class Reference

#include <fei_FillableMat.hpp>

Public Types

typedef std::map< int, CSVec
*, std::less< int >
, fei_Pool_alloc< std::pair
< const int, CSVec * > > > 
feipoolmat
 
typedef feipoolmat::iterator iterator
 
typedef feipoolmat::const_iterator const_iterator
 

Public Member Functions

 FillableMat ()
 
 FillableMat (EqnBuffer &eqnbuf)
 
virtual ~FillableMat ()
 
FillableMatoperator= (const FillableMat &src)
 
void setValues (double value)
 
void createPosition (int row, int col)
 
void sumInCoef (int row, int col, double coef)
 
void putCoef (int row, int col, double coef)
 
void sumInRow (int row, const int *cols, const double *coefs, unsigned len)
 
void putRow (int row, const int *cols, const double *coefs, unsigned len)
 
unsigned getNumRows () const
 
bool hasRow (int row) const
 
const CSVecgetRow (int row) const
 
CSVeccreate_or_getRow (int row)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void clear ()
 
bool operator== (const FillableMat &rhs) const
 
bool operator!= (const FillableMat &rhs) const
 

Private Attributes

feipoolmat matdata_
 
fei_Pool_alloc< CSVecvecpool_
 

Detailed Description

Definition at line 20 of file fei_FillableMat.hpp.

Member Typedef Documentation

typedef std::map<int, CSVec*, std::less<int>, fei_Pool_alloc<std::pair<const int,CSVec*> > > fei::FillableMat::feipoolmat

Definition at line 46 of file fei_FillableMat.hpp.

typedef feipoolmat::iterator fei::FillableMat::iterator

Definition at line 48 of file fei_FillableMat.hpp.

typedef feipoolmat::const_iterator fei::FillableMat::const_iterator

Definition at line 49 of file fei_FillableMat.hpp.

Constructor & Destructor Documentation

fei::FillableMat::FillableMat ( )

Definition at line 16 of file fei_FillableMat.cpp.

fei::FillableMat::FillableMat ( EqnBuffer eqnbuf)
fei::FillableMat::~FillableMat ( )
virtual

Definition at line 45 of file fei_FillableMat.cpp.

References matdata_, and vecpool_.

Member Function Documentation

FillableMat & fei::FillableMat::operator= ( const FillableMat src)
void fei::FillableMat::setValues ( double  value)
void fei::FillableMat::createPosition ( int  row,
int  col 
)
void fei::FillableMat::sumInCoef ( int  row,
int  col,
double  coef 
)
void fei::FillableMat::putCoef ( int  row,
int  col,
double  coef 
)
void fei::FillableMat::sumInRow ( int  row,
const int *  cols,
const double *  coefs,
unsigned  len 
)
void fei::FillableMat::putRow ( int  row,
const int *  cols,
const double *  coefs,
unsigned  len 
)
unsigned fei::FillableMat::getNumRows ( ) const
bool fei::FillableMat::hasRow ( int  row) const
const CSVec * fei::FillableMat::getRow ( int  row) const
CSVec * fei::FillableMat::create_or_getRow ( int  row)
iterator fei::FillableMat::begin ( )
inline
iterator fei::FillableMat::end ( )
inline
const_iterator fei::FillableMat::begin ( ) const
inline

Definition at line 54 of file fei_FillableMat.hpp.

References matdata_.

const_iterator fei::FillableMat::end ( ) const
inline

Definition at line 55 of file fei_FillableMat.hpp.

References matdata_.

void fei::FillableMat::clear ( )
bool fei::FillableMat::operator== ( const FillableMat rhs) const

Definition at line 220 of file fei_FillableMat.cpp.

References begin(), end(), and getNumRows().

bool fei::FillableMat::operator!= ( const FillableMat rhs) const

Definition at line 246 of file fei_FillableMat.cpp.

Member Data Documentation

feipoolmat fei::FillableMat::matdata_
private
fei_Pool_alloc<CSVec> fei::FillableMat::vecpool_
private

Definition at line 65 of file fei_FillableMat.hpp.

Referenced by clear(), create_or_getRow(), and ~FillableMat().


The documentation for this class was generated from the following files: