Public Member Functions | |
CompareDownstream (const Point< dim > &dir) | |
bool | operator() (const Iterator &c1, const Iterator &c2) const |
Private Attributes | |
const Point< dim > | dir |
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.
DoFRenumbering::CompareDownstream< Iterator, dim >::CompareDownstream | ( | const Point< dim > & | dir | ) | [inline] |
Constructor.
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.
const Point<dim> DoFRenumbering::CompareDownstream< Iterator, dim >::dir [private] |
Flow direction.
Referenced by DoFRenumbering::CompareDownstream< Iterator, dim >::operator()().