Public Member Functions | Private Attributes

DoFRenumbering::ComparePointwiseDownstream< dim > Struct Template Reference

List of all members.

Public Member Functions

 ComparePointwiseDownstream (const Point< dim > &dir)
bool operator() (const std::pair< Point< dim >, unsigned int > &c1, const std::pair< Point< dim >, unsigned int > &c2) const

Private Attributes

const Point< dim > dir

Detailed Description

template<int dim>
struct DoFRenumbering::ComparePointwiseDownstream< dim >

Point based comparator for downstream directions: it returns true if the second point is downstream of the first one with respect to the direction given to the constructor. If the points are the same with respect to the downstream direction, the point with the lower DoF number is considered smaller.

Definition at line 415 of file dof_renumbering.h.


Constructor & Destructor Documentation

template<int dim>
DoFRenumbering::ComparePointwiseDownstream< dim >::ComparePointwiseDownstream ( const Point< dim > &  dir) [inline]

Constructor.

Definition at line 420 of file dof_renumbering.h.


Member Function Documentation

template<int dim>
bool DoFRenumbering::ComparePointwiseDownstream< dim >::operator() ( const std::pair< Point< dim >, unsigned int > &  c1,
const std::pair< Point< dim >, unsigned int > &  c2 
) const [inline]

Return true if c1 less c2.

Definition at line 427 of file dof_renumbering.h.

References DoFRenumbering::ComparePointwiseDownstream< dim >::dir.


Member Data Documentation

template<int dim>
const Point<dim> DoFRenumbering::ComparePointwiseDownstream< dim >::dir [private]

Flow direction.

Definition at line 438 of file dof_renumbering.h.

Referenced by DoFRenumbering::ComparePointwiseDownstream< dim >::operator()().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Wed May 23 2012 06:08:30 by doxygen 1.7.3