FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#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 () |
FillableMat & | operator= (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 CSVec * | getRow (int row) const |
CSVec * | create_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< CSVec > | vecpool_ |
Definition at line 20 of file fei_FillableMat.hpp.
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.
fei::FillableMat::FillableMat | ( | ) |
Definition at line 16 of file fei_FillableMat.cpp.
fei::FillableMat::FillableMat | ( | EqnBuffer & | eqnbuf | ) |
Definition at line 23 of file fei_FillableMat.cpp.
References fei::CSVec::coefs(), EqnBuffer::eqnNumbers(), EqnBuffer::eqns(), fei::CSVec::indices(), putCoef(), and fei::CSVec::size().
|
virtual |
Definition at line 45 of file fei_FillableMat.cpp.
FillableMat & fei::FillableMat::operator= | ( | const FillableMat & | src | ) |
Definition at line 57 of file fei_FillableMat.cpp.
References begin(), clear(), fei::CSVec::coefs(), end(), fei::CSVec::indices(), and putCoef().
void fei::FillableMat::setValues | ( | double | value | ) |
Definition at line 84 of file fei_FillableMat.cpp.
References matdata_, and fei::set_values().
Referenced by fei::Matrix_core::gatherFromOverlap(), and fei::MatrixTraits< FillableMat >::setValues().
void fei::FillableMat::createPosition | ( | int | row, |
int | col | ||
) |
Definition at line 96 of file fei_FillableMat.cpp.
References sumInCoef().
Referenced by SNL_FEI_Structure::createBlkSymmEqnStructure(), and SNL_FEI_Structure::createSymmEqnStructure().
void fei::FillableMat::sumInCoef | ( | int | row, |
int | col, | ||
double | coef | ||
) |
Definition at line 123 of file fei_FillableMat.cpp.
References fei::add_entry(), and create_or_getRow().
Referenced by fei::add_CSRMat_to_FillableMat(), LinSysCoreFilter::assembleEqns(), createPosition(), and fei::impl_utils::unpack_FillableMat().
void fei::FillableMat::putCoef | ( | int | row, |
int | col, | ||
double | coef | ||
) |
Definition at line 132 of file fei_FillableMat.cpp.
References create_or_getRow(), and fei::put_entry().
Referenced by FillableMat(), operator=(), fei_test_utils::readMatrix(), SolnCheck::readSoln(), and fei::impl_utils::unpack_FillableMat().
void fei::FillableMat::sumInRow | ( | int | row, |
const int * | cols, | ||
const double * | coefs, | ||
unsigned | len | ||
) |
Definition at line 141 of file fei_FillableMat.cpp.
References fei::add_entry(), and create_or_getRow().
Referenced by fei::Matrix_Impl< T >::giveToBlockMatrix(), fei::Matrix_Impl< T >::giveToMatrix(), fei::multiply_trans_CSRMat_CSRMat(), fei::MatrixTraits< FillableMat >::putValuesIn(), and fei::Matrix_Impl< T >::sumIn().
void fei::FillableMat::putRow | ( | int | row, |
const int * | cols, | ||
const double * | coefs, | ||
unsigned | len | ||
) |
Definition at line 153 of file fei_FillableMat.cpp.
References create_or_getRow(), and fei::put_entry().
Referenced by fei_test_utils::copy_feiMatrix_to_FillableMat(), fei::MatrixGraph_Impl2::createSlaveMatrices(), fei::Matrix_Impl< T >::giveToBlockMatrix(), fei::Matrix_Impl< T >::giveToMatrix(), and fei::MatrixTraits< FillableMat >::putValuesIn().
unsigned fei::FillableMat::getNumRows | ( | ) | const |
Definition at line 165 of file fei_FillableMat.cpp.
References matdata_.
Referenced by fei::impl_utils::create_col_to_row_map(), snl_fei::LinearSystem_General::enforceEssentialBC_LinSysCore(), fei::get_row_numbers(), fei::MatrixTraits< FillableMat >::getNumLocalRows(), fei::impl_utils::num_bytes_FillableMat(), operator<<(), fei::CSRMat::operator=(), operator==(), and fei::impl_utils::pack_FillableMat().
bool fei::FillableMat::hasRow | ( | int | row | ) | const |
Definition at line 172 of file fei_FillableMat.cpp.
References matdata_.
Referenced by fei::Matrix_Impl< T >::copyOutRow(), fei::Matrix_Impl< T >::getRowLength(), and fei::multiply_CSRMat_CSRMat().
const CSVec * fei::FillableMat::getRow | ( | int | row | ) | const |
Definition at line 180 of file fei_FillableMat.cpp.
References matdata_.
Referenced by fei::MatrixTraits< FillableMat >::copyOutRow(), fei::Matrix_Impl< T >::copyOutRow(), fei::MatrixTraits< FillableMat >::getRowLength(), and fei::Matrix_Impl< T >::getRowLength().
CSVec * fei::FillableMat::create_or_getRow | ( | int | row | ) |
Definition at line 193 of file fei_FillableMat.cpp.
References fei::insert_row(), matdata_, and vecpool_.
Referenced by fei::Reducer::addGraphEntries(), fei::Reducer::addGraphIndices(), fei::Reducer::addMatrixValues(), fei::multiply_CSRMat_CSRMat(), putCoef(), putRow(), fei::impl_utils::remove_couplings(), sumInCoef(), and sumInRow().
|
inline |
Definition at line 51 of file fei_FillableMat.hpp.
References matdata_.
Referenced by fei::count_nnz(), fei::impl_utils::create_col_to_row_map(), fei::get_row_numbers(), operator<<(), operator=(), fei::CSRMat::operator=(), operator==(), fei::impl_utils::pack_FillableMat(), fei::print(), fei::impl_utils::remove_couplings(), and fei::impl_utils::separate_BC_eqns().
|
inline |
Definition at line 52 of file fei_FillableMat.hpp.
References matdata_.
Referenced by fei::count_nnz(), fei::impl_utils::create_col_to_row_map(), fei::get_row_numbers(), operator<<(), operator=(), fei::CSRMat::operator=(), operator==(), fei::impl_utils::pack_FillableMat(), fei::print(), fei::impl_utils::remove_couplings(), and fei::impl_utils::separate_BC_eqns().
|
inline |
Definition at line 54 of file fei_FillableMat.hpp.
References matdata_.
|
inline |
Definition at line 55 of file fei_FillableMat.hpp.
References matdata_.
void fei::FillableMat::clear | ( | ) |
Definition at line 206 of file fei_FillableMat.cpp.
References matdata_, and vecpool_.
Referenced by LinSysCoreFilter::assembleReducedEqns(), fei::Reducer::assembleReducedGraph(), fei::Reducer::assembleReducedMatrix(), SNL_FEI_Structure::assembleReducedStructure(), fei_test_utils::copy_feiMatrix_to_FillableMat(), operator=(), fei_test_utils::readMatrix(), and fei::impl_utils::unpack_FillableMat().
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.
|
private |
Definition at line 64 of file fei_FillableMat.hpp.
Referenced by begin(), clear(), create_or_getRow(), end(), getNumRows(), getRow(), hasRow(), setValues(), and ~FillableMat().
|
private |
Definition at line 65 of file fei_FillableMat.hpp.
Referenced by clear(), create_or_getRow(), and ~FillableMat().