FEI Version of the Day
Public Member Functions
fei::ConnectivityBlock Class Reference

#include <fei_ConnectivityBlock.hpp>

List of all members.

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::PatterngetRowPattern () const
fei::PatterngetRowPattern ()
const fei::PatterngetColPattern () const
fei::PatterngetColPattern ()
const std::map< int, int > & getConnectivityIDs () const
std::map< int, int > & getConnectivityIDs ()
std::vector< int > & getConnectivityOffsets ()
std::vector< Record< int > * > & getRowConnectivities ()
std::vector< Record< int > * > & getColConnectivities ()
const Record< int > *const getRowConnectivity (int ID) const
const Record< int > *const getColConnectivity (int ID) const
Record< int > ** getRowConnectivity (int ID)
Record< int > ** getColConnectivity (int ID)
bool isSymmetric () const
void setIsDiagonal (bool flag)
bool isDiagonal () const
bool haveFieldID ()
int fieldID ()

Detailed Description

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.


Constructor & Destructor Documentation

fei::ConnectivityBlock::ConnectivityBlock ( int  blockID,
fei::Pattern pattern,
int  numConnectivities 
)

constructor

Definition at line 23 of file fei_ConnectivityBlock.cpp.

fei::ConnectivityBlock::ConnectivityBlock ( int  blockID,
fei::Pattern rowpattern,
fei::Pattern colpattern,
int  numConnectivities 
)

constructor

Definition at line 43 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 64 of file fei_ConnectivityBlock.cpp.

fei::ConnectivityBlock::ConnectivityBlock ( int  fieldID,
int  numRowIDs,
const int *  rowIDs,
const int *  rowOffsets,
bool  offsets_are_lengths = false 
)

constructor

Definition at line 117 of file fei_ConnectivityBlock.cpp.

fei::ConnectivityBlock::~ConnectivityBlock ( ) [virtual]

destructor

Definition at line 171 of file fei_ConnectivityBlock.cpp.


Member Function Documentation

int fei::ConnectivityBlock::getBlockID ( ) const [inline]

get block-identifier

Definition at line 53 of file fei_ConnectivityBlock.hpp.

const fei::Pattern* fei::ConnectivityBlock::getRowPattern ( ) const [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.

fei::Pattern* fei::ConnectivityBlock::getRowPattern ( ) [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.

const fei::Pattern* fei::ConnectivityBlock::getColPattern ( ) const [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 66 of file fei_ConnectivityBlock.hpp.

fei::Pattern* fei::ConnectivityBlock::getColPattern ( ) [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 71 of file fei_ConnectivityBlock.hpp.

const std::map<int,int>& fei::ConnectivityBlock::getConnectivityIDs ( ) const [inline]

get map of connectivity-ids with associated offsets

Definition at line 75 of file fei_ConnectivityBlock.hpp.

std::map<int,int>& fei::ConnectivityBlock::getConnectivityIDs ( ) [inline]

get map of connectivity-ids with associated offsets

Definition at line 79 of file fei_ConnectivityBlock.hpp.

std::vector<int>& fei::ConnectivityBlock::getConnectivityOffsets ( ) [inline]

get vector of connectivity-offsets. Only available if this object was constructed using constructor 3 or 4. Power users only.

Definition at line 84 of file fei_ConnectivityBlock.hpp.

std::vector<Record<int>*>& fei::ConnectivityBlock::getRowConnectivities ( ) [inline]

get array of row-connectivities

Definition at line 88 of file fei_ConnectivityBlock.hpp.

std::vector<Record<int>*>& fei::ConnectivityBlock::getColConnectivities ( ) [inline]

get array of column-connectivities

Definition at line 92 of file fei_ConnectivityBlock.hpp.

const fei::Record< int > *const fei::ConnectivityBlock::getRowConnectivity ( int  ID) const

get row-connectivity for a specified ID

Definition at line 176 of file fei_ConnectivityBlock.cpp.

const fei::Record< int > *const fei::ConnectivityBlock::getColConnectivity ( int  ID) const

get column-connectivity for a specified ID

Definition at line 204 of file fei_ConnectivityBlock.cpp.

fei::Record< int > ** fei::ConnectivityBlock::getRowConnectivity ( int  ID)

get row-connectivity for a specified ID

Definition at line 190 of file fei_ConnectivityBlock.cpp.

fei::Record< int > ** fei::ConnectivityBlock::getColConnectivity ( int  ID)

get column-connectivity for a specified ID

Definition at line 218 of file fei_ConnectivityBlock.cpp.

bool fei::ConnectivityBlock::isSymmetric ( ) const [inline]

query whether block is symmetric

Definition at line 105 of file fei_ConnectivityBlock.hpp.

void fei::ConnectivityBlock::setIsDiagonal ( bool  flag) [inline]

implementation detail for power-users

Definition at line 108 of file fei_ConnectivityBlock.hpp.

bool fei::ConnectivityBlock::isDiagonal ( ) const [inline]

implementation detail for power-users

Definition at line 110 of file fei_ConnectivityBlock.hpp.

bool fei::ConnectivityBlock::haveFieldID ( ) [inline]

query whether block has a field-id

Definition at line 113 of file fei_ConnectivityBlock.hpp.

int fei::ConnectivityBlock::fieldID ( ) [inline]

return block's field-id

Definition at line 117 of file fei_ConnectivityBlock.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends