DoFRenumbering::CompareDownstream< Iterator, dim > Struct Template Reference

List of all members.

Public Member Functions

 CompareDownstream (const Point< dim > &dir)
bool operator() (const Iterator &c1, const Iterator &c2) const

Private Attributes

const Point< dim > dir

Detailed Description

template<class Iterator, int dim>
struct DoFRenumbering::CompareDownstream< Iterator, dim >

Direction based comparator for cell iterators: it returns true if the center of the second cell is downstream of the center of the first one with respect to the direction given to the constructor.


Constructor & Destructor Documentation

template<class Iterator , int dim>
DoFRenumbering::CompareDownstream< Iterator, dim >::CompareDownstream ( const Point< dim > &  dir  )  [inline]

Constructor.


Member Function Documentation

template<class Iterator , int dim>
bool DoFRenumbering::CompareDownstream< Iterator, dim >::operator() ( const Iterator &  c1,
const Iterator &  c2 
) const [inline]

Return true if c1 less c2.

References DoFRenumbering::CompareDownstream< Iterator, dim >::dir.


Member Data Documentation

template<class Iterator , int dim>
const Point<dim> DoFRenumbering::CompareDownstream< Iterator, dim >::dir [private]

The documentation for this struct was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:58:18 2009 by doxygen 1.6.1