class Accessor
{
public:
+ /**
+ * Declare type for container size.
+ */
+ typedef types::global_dof_index size_type;
+
/**
* Constructor. Since we use
* accessors only for read
* Declare type for container size.
*/
typedef types::global_dof_index size_type;
-
+
/**
* Constructor. Create an iterator
* into the matrix @p matrix for the
* class.
*/
typedef MatrixIterators::const_iterator const_iterator;
+
+ /**
+ * Declare type for container size.
+ */
+ typedef types::global_dof_index size_type;
/**
* Declare a typedef in analogy to all
inline
- size_type
+ const_iterator::Accessor::size_type
const_iterator::Accessor::row() const
{
Assert (a_row < matrix->m(), ExcBeyondEndOfMatrix());
inline
- size_type
+ const_iterator::Accessor::size_type
const_iterator::Accessor::column() const
{
Assert (a_row < matrix->m(), ExcBeyondEndOfMatrix());
inline
- size_type
+ const_iterator::Accessor::size_type
const_iterator::Accessor::index() const
{
Assert (a_row < matrix->m(), ExcBeyondEndOfMatrix());
class BlockSparseMatrix : public BlockMatrixBase<SparseMatrix>
{
public:
- /**
- * Declare type for container size.
- */
- typedef types::global_dof_index size_type;
-
/**
* Typedef the base class for simpler
* access to its own typedefs.
*/
class VectorReference
{
- private:
+ public:
+ /**
+ * Declare type for container size.
+ */
+ typedef types::global_dof_index size_type;
+
+ private:
/**
* Constructor. It is made private so
* as to only allow the actual vector
VectorReference (const VectorBase &vector,
const size_type index);
- public:
- /**
- * Declare type for container size.
- */
- typedef types::global_dof_index size_type;
+ public:
+
/**
* This looks like a copy operator,
* but does something different than