DistributedVector::Iterator Class Reference

#include <DistributedVector.hpp>

Collaboration diagram for DistributedVector::Iterator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool operator!= (const Iterator &other)
Iteratoroperator++ ()

Public Attributes

unsigned Local
unsigned Global


Detailed Description

Iterator class allows one to iterate over the elements of the distributed vector on this process.

Definition at line 149 of file DistributedVector.hpp.


Member Function Documentation

bool DistributedVector::Iterator::operator!= ( const Iterator other  ) 

Compare two indices for inequality.

Parameters:
other 

Definition at line 143 of file DistributedVector.cpp.

References Global.

DistributedVector::Iterator & DistributedVector::Iterator::operator++ (  ) 

Increment the iterator to the next index.

Definition at line 148 of file DistributedVector.cpp.

References Global, and Local.


Member Data Documentation

Current index, local to this process.

Definition at line 152 of file DistributedVector.hpp.

Referenced by DistributedVector::Begin(), DistributedVector::End(), and operator++().

Current index, global to the whole PETSc vector.

Definition at line 153 of file DistributedVector.hpp.

Referenced by DistributedVector::Begin(), DistributedVector::End(), operator!=(), and operator++().


The documentation for this class was generated from the following files:

Generated on Wed Mar 18 12:52:29 2009 for Chaste by  doxygen 1.5.5