FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <fei_ConnectivityBlock.hpp>
Public Member Functions | |
ConnectivityBlock (int blockID, fei::Pattern *pattern, int numConnectivities) | |
ConnectivityBlock (int blockID, fei::Pattern *rowpattern, fei::Pattern *colpattern, int numConnectivities) | |
ConnectivityBlock (int numRowIDs, const int *rowIDs, const int *rowOffsets, bool offsets_are_lengths=false) | |
ConnectivityBlock (int fieldID, int numRowIDs, const int *rowIDs, const int *rowOffsets, bool offsets_are_lengths=false) | |
virtual | ~ConnectivityBlock () |
int | getBlockID () const |
const fei::Pattern * | getRowPattern () const |
fei::Pattern * | getRowPattern () |
void | setRowPattern (fei::Pattern *pattern) |
const fei::Pattern * | getColPattern () const |
fei::Pattern * | getColPattern () |
void | setColPattern (fei::Pattern *pattern) |
const std::map< int, int > & | getConnectivityIDs () const |
std::map< int, int > & | getConnectivityIDs () |
std::vector< int > & | getConnectivityOffsets () |
std::vector< int > & | getRowConnectivities () |
std::vector< int > & | getColConnectivities () |
const int * | getRowConnectivity (int ID) const |
const int * | getColConnectivity (int ID) const |
int * | getRowConnectivity (int ID) |
int * | getColConnectivity (int ID) |
bool | isSymmetric () const |
void | setIsDiagonal (bool flag) |
bool | isDiagonal () const |
bool | haveFieldID () |
int | fieldID () |
Private Attributes | |
int | blockID_ |
fei::Pattern * | pattern_ |
fei::Pattern * | colPattern_ |
bool | isSymmetric_ |
bool | isDiagonal_ |
std::map< int, int > | connIDsOffsetMap_ |
std::vector< int > | connectivityOffsets_ |
int | numRecordsPerConnectivity_ |
std::vector< int > | connectivities_ |
int | numRecordsPerColConnectivity_ |
std::vector< int > | colConnectivities_ |
int | fieldID_ |
bool | haveFieldID_ |
class to hold attributes of a connectivity-block (for example, an element-block). This class can handle connectivities for any kind of mesh-objects, not just elements, though elements are of course the most common.
Definition at line 26 of file fei_ConnectivityBlock.hpp.
fei::ConnectivityBlock::ConnectivityBlock | ( | int | blockID, |
fei::Pattern * | pattern, | ||
int | numConnectivities | ||
) |
constructor
Definition at line 22 of file fei_ConnectivityBlock.cpp.
fei::ConnectivityBlock::ConnectivityBlock | ( | int | blockID, |
fei::Pattern * | rowpattern, | ||
fei::Pattern * | colpattern, | ||
int | numConnectivities | ||
) |
constructor
Definition at line 42 of file fei_ConnectivityBlock.cpp.
fei::ConnectivityBlock::ConnectivityBlock | ( | int | numRowIDs, |
const int * | rowIDs, | ||
const int * | rowOffsets, | ||
bool | offsets_are_lengths = false |
||
) |
constructor
Definition at line 63 of file fei_ConnectivityBlock.cpp.
References colConnectivities_, connectivities_, connectivityOffsets_, and connIDsOffsetMap_.
fei::ConnectivityBlock::ConnectivityBlock | ( | int | fieldID, |
int | numRowIDs, | ||
const int * | rowIDs, | ||
const int * | rowOffsets, | ||
bool | offsets_are_lengths = false |
||
) |
constructor
Definition at line 116 of file fei_ConnectivityBlock.cpp.
References colConnectivities_, connectivities_, connectivityOffsets_, and connIDsOffsetMap_.
|
virtual |
destructor
Definition at line 170 of file fei_ConnectivityBlock.cpp.
|
inline |
|
inline |
get pattern that defines the layout of dofs in the row-dimension for block's contributions
Definition at line 57 of file fei_ConnectivityBlock.hpp.
References pattern_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_multiField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_multiField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_noField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_sparse(), fei::MatrixGraph_Impl2::compareStructure(), fei::MatrixGraph_Impl2::createAlgebraicGraph(), fei::FEI_Impl::getBlockElemSolution(), fei::utils::getConnectivityArrays(), fei::MatrixGraph_Impl2::getConnectivityIndices(), fei::MatrixGraph_Impl2::getConnectivityNumIndices(), fei::Lookup_Impl::getElemBlockInfo(), fei::Lookup_Impl::getFieldIDsTable(), fei::Lookup_Impl::getNumFieldsPerNode(), fei::MatrixGraph_Impl2::getNumIDsPerConnectivityList(), fei::MatrixGraph_Impl2::initConnectivity(), snl_fei::Broker_FEData::setStructure(), and fei::Matrix_Impl< T >::sumIn().
|
inline |
get pattern that defines the layout of dofs in the row-dimension for block's contributions
Definition at line 61 of file fei_ConnectivityBlock.hpp.
References pattern_.
|
inline |
Definition at line 63 of file fei_ConnectivityBlock.hpp.
References pattern_.
Referenced by fei::MatrixGraph_Impl2::initConnectivity().
|
inline |
get pattern that defines the layout of dofs in the column-dimension for block's contributions. probably null if this block is made up of symmetric contributions.
Definition at line 68 of file fei_ConnectivityBlock.hpp.
References colPattern_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_multiField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_nonsymmetric(), fei::MatrixGraph_Impl2::createAlgebraicGraph(), fei::MatrixGraph_Impl2::getConnectivityIndices(), fei::MatrixGraph_Impl2::getConnectivityNumIndices(), fei::MatrixGraph_Impl2::initConnectivity(), and fei::Matrix_Impl< T >::sumIn().
|
inline |
get pattern that defines the layout of dofs in the column-dimension for block's contributions. probably null if this block is made up of symmetric contributions.
Definition at line 73 of file fei_ConnectivityBlock.hpp.
References colPattern_.
|
inline |
Definition at line 75 of file fei_ConnectivityBlock.hpp.
References colPattern_.
|
inline |
get map of connectivity-ids with associated offsets
Definition at line 79 of file fei_ConnectivityBlock.hpp.
References connIDsOffsetMap_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_multiField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_multiField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_noField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_sparse(), fei::MatrixGraph_Impl2::compareStructure(), fei::FEI_Impl::getBlockElemIDList(), fei::utils::getConnectivityArrays(), fei::Lookup_Impl::getElemBlockInfo(), fei::FEI_Impl::getNumBlockElements(), fei::MatrixGraph_Impl2::initConnectivity(), snl_fei::Broker_FEData::setStructure(), and fei::Matrix_Impl< T >::sumIn().
|
inline |
get map of connectivity-ids with associated offsets
Definition at line 83 of file fei_ConnectivityBlock.hpp.
References connIDsOffsetMap_.
|
inline |
get vector of connectivity-offsets. Only available if this object was constructed using constructor 3 or 4. Power users only.
Definition at line 88 of file fei_ConnectivityBlock.hpp.
References connectivityOffsets_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_sparse().
|
inline |
get array of row-connectivities
Definition at line 92 of file fei_ConnectivityBlock.hpp.
References connectivities_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_multiField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_multiField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_noField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_symmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_sparse(), fei::FEI_Impl::fillNodeset(), fei::utils::getConnectivityArrays(), fei::MatrixGraph_Impl2::initConnectivity(), and snl_fei::Broker_FEData::setStructure().
|
inline |
get array of column-connectivities
Definition at line 96 of file fei_ConnectivityBlock.hpp.
References colConnectivities_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_multiField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_singleField_nonsymmetric(), fei::MatrixGraph_Impl2::addBlockToGraph_sparse(), and fei::MatrixGraph_Impl2::initConnectivity().
const int * fei::ConnectivityBlock::getRowConnectivity | ( | int | ID | ) | const |
get row-connectivity for a specified ID
Definition at line 175 of file fei_ConnectivityBlock.cpp.
Referenced by fei::MatrixGraph_Impl2::getConnectivityIndices(), and fei::Matrix_Impl< T >::sumIn().
const int * fei::ConnectivityBlock::getColConnectivity | ( | int | ID | ) | const |
get column-connectivity for a specified ID
Definition at line 203 of file fei_ConnectivityBlock.cpp.
Referenced by fei::MatrixGraph_Impl2::getConnectivityIndices(), and fei::Matrix_Impl< T >::sumIn().
int * fei::ConnectivityBlock::getRowConnectivity | ( | int | ID | ) |
get row-connectivity for a specified ID
Definition at line 189 of file fei_ConnectivityBlock.cpp.
int * fei::ConnectivityBlock::getColConnectivity | ( | int | ID | ) |
get column-connectivity for a specified ID
Definition at line 217 of file fei_ConnectivityBlock.cpp.
|
inline |
query whether block is symmetric
Definition at line 109 of file fei_ConnectivityBlock.hpp.
References isSymmetric_.
Referenced by fei::MatrixGraph_Impl2::compareStructure(), fei::MatrixGraph_Impl2::createAlgebraicGraph(), fei::utils::getConnectivityArrays(), fei::MatrixGraph_Impl2::getConnectivityIndices(), fei::MatrixGraph_Impl2::getConnectivityNumIndices(), and fei::Matrix_Impl< T >::sumIn().
|
inline |
implementation detail for power-users
Definition at line 112 of file fei_ConnectivityBlock.hpp.
References isDiagonal_.
Referenced by fei::MatrixGraph_Impl2::initConnectivityBlock().
|
inline |
implementation detail for power-users
Definition at line 114 of file fei_ConnectivityBlock.hpp.
References isDiagonal_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_multiField_symmetric(), and fei::MatrixGraph_Impl2::addBlockToGraph_singleField_symmetric().
|
inline |
query whether block has a field-id
Definition at line 117 of file fei_ConnectivityBlock.hpp.
References haveFieldID_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_sparse().
|
inline |
return block's field-id
Definition at line 121 of file fei_ConnectivityBlock.hpp.
References fieldID_.
Referenced by fei::MatrixGraph_Impl2::addBlockToGraph_sparse().
|
private |
Definition at line 125 of file fei_ConnectivityBlock.hpp.
Referenced by getBlockID().
|
private |
Definition at line 126 of file fei_ConnectivityBlock.hpp.
Referenced by getRowPattern(), and setRowPattern().
|
private |
Definition at line 127 of file fei_ConnectivityBlock.hpp.
Referenced by getColPattern(), and setColPattern().
|
private |
Definition at line 128 of file fei_ConnectivityBlock.hpp.
Referenced by isSymmetric().
|
private |
Definition at line 129 of file fei_ConnectivityBlock.hpp.
Referenced by isDiagonal(), and setIsDiagonal().
|
private |
Definition at line 131 of file fei_ConnectivityBlock.hpp.
Referenced by ConnectivityBlock(), and getConnectivityIDs().
|
private |
Definition at line 133 of file fei_ConnectivityBlock.hpp.
Referenced by ConnectivityBlock(), and getConnectivityOffsets().
|
private |
Definition at line 135 of file fei_ConnectivityBlock.hpp.
|
private |
Definition at line 136 of file fei_ConnectivityBlock.hpp.
Referenced by ConnectivityBlock(), and getRowConnectivities().
|
private |
Definition at line 137 of file fei_ConnectivityBlock.hpp.
|
private |
Definition at line 138 of file fei_ConnectivityBlock.hpp.
Referenced by ConnectivityBlock(), and getColConnectivities().
|
private |
Definition at line 140 of file fei_ConnectivityBlock.hpp.
Referenced by fieldID().
|
private |
Definition at line 141 of file fei_ConnectivityBlock.hpp.
Referenced by haveFieldID().