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 ()
MapIntInt & getConnectivityIDs ()
const MapIntInt & getConnectivityIDs () const
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 ()

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 61 of file fei_ConnectivityBlock.hpp.


Constructor & Destructor Documentation

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

constructor

Definition at line 57 of file fei_ConnectivityBlock.cpp.

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

constructor

Definition at line 77 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 98 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 151 of file fei_ConnectivityBlock.cpp.

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

destructor

Definition at line 205 of file fei_ConnectivityBlock.cpp.


Member Function Documentation

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

get block-identifier

Definition at line 88 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 92 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 96 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 103 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 108 of file fei_ConnectivityBlock.hpp.

MapIntInt& fei::ConnectivityBlock::getConnectivityIDs ( ) [inline]

get data structure of connectivity-ids with associated offsets

Definition at line 114 of file fei_ConnectivityBlock.hpp.

const MapIntInt& fei::ConnectivityBlock::getConnectivityIDs ( ) const [inline]

get data structure of connectivity-ids with associated offsets

Definition at line 118 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 123 of file fei_ConnectivityBlock.hpp.

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

get array of row-connectivities

Definition at line 127 of file fei_ConnectivityBlock.hpp.

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

get array of column-connectivities

Definition at line 131 of file fei_ConnectivityBlock.hpp.

const int * fei::ConnectivityBlock::getRowConnectivity ( int  ID) const

get row-connectivity for a specified ID

Definition at line 210 of file fei_ConnectivityBlock.cpp.

const int * fei::ConnectivityBlock::getColConnectivity ( int  ID) const

get column-connectivity for a specified ID

Definition at line 239 of file fei_ConnectivityBlock.cpp.

int * fei::ConnectivityBlock::getRowConnectivity ( int  ID)

get row-connectivity for a specified ID

Definition at line 225 of file fei_ConnectivityBlock.cpp.

int * fei::ConnectivityBlock::getColConnectivity ( int  ID)

get column-connectivity for a specified ID

Definition at line 253 of file fei_ConnectivityBlock.cpp.

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

query whether block is symmetric

Definition at line 144 of file fei_ConnectivityBlock.hpp.

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

implementation detail for power-users

Definition at line 147 of file fei_ConnectivityBlock.hpp.

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

implementation detail for power-users

Definition at line 149 of file fei_ConnectivityBlock.hpp.

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

query whether block has a field-id

Definition at line 152 of file fei_ConnectivityBlock.hpp.

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

return block's field-id

Definition at line 156 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