Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Private Attributes | List of all members
DoFRenumbering::CompareDownstream< Iterator, dim > Struct Template Reference

#include <dof_renumbering.h>

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.

Definition at line 404 of file dof_renumbering.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 409 of file dof_renumbering.h.

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.

Definition at line 416 of file dof_renumbering.h.

Member Data Documentation

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

Flow direction.

Definition at line 426 of file dof_renumbering.h.


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