dune-fem
2.4.1-rc
|
This is the implementation of a block of SimpleBlockVector. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/function/blockvectors/defaultblockvectors.hh>
Public Types | |
typedef BlockVectorType::SizeType | size_type |
Public Member Functions | |
SimpleBlockVectorBlock (const BlockVectorType &blockVector, unsigned int blockBegin) | |
Standard constructor for SimpleBlockVectorBlocks. More... | |
SimpleBlockVectorBlock (const SimpleBlockVectorBlock< BlockVectorType > &other) | |
Copy constructor. More... | |
size_type | size () const |
size_type | vec_size () const |
ThisType & | operator= (const ConstBlockType &other) |
Copy assignment operator for constant blocks. More... | |
FieldType & | vec_access (unsigned int index) |
Obtain a dof inside this block. More... | |
const FieldType & | vec_access (unsigned int index) const |
Obtain a dof inside this block. More... | |
int | dim () const |
Returns the size of the block. More... | |
Static Public Attributes | |
static const unsigned int | blockSize = BlockVector :: blockSize |
The block size. More... | |
Protected Member Functions | |
SimpleBlockVectorBlock () | |
template<class Block > | |
void | copy (const Block &other) |
Protected Attributes | |
BlockVectorType & | blockVector_ |
const unsigned int | blockBegin_ |
This is the implementation of a block of SimpleBlockVector.
F | The ground fields. All dofs are elements of this field. |
BlockSize | Size of the blocks |
typedef BlockVectorType :: SizeType Dune::Fem::SimpleBlockVectorBlock< BlockVector >::size_type |
|
inline |
Standard constructor for SimpleBlockVectorBlocks.
[in] | blockVector | The block vector in which this block lives |
[in] | blockBegin | Beginning index of this block in the block vector's array (implementation detail) |
|
inline |
Copy constructor.
|
protected |
|
inlineprotected |
|
inline |
Returns the size of the block.
|
inline |
Copy assignment operator for constant blocks.
[in] | other | Other block (constant) which should be assigned to *this |
|
inline |
|
inline |
Obtain a dof inside this block.
[in] | index | Index of the dof |
|
inline |
Obtain a dof inside this block.
[in] | index | Index of the dof |
|
inline |
|
protected |
|
static |
The block size.
|
protected |