Reference documentation for deal.II version GIT relicensing-891-g13379fae33 2024-06-22 22:40:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
No Matches
Public Member Functions | Private Attributes | List of all members
DoFRenumbering::CompareDownstream< Iterator, dim > Struct Template Reference

#include <deal.II/dofs/dof_renumbering.h>

Public Member Functions

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

Private Attributes

const Tensor< 1, 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 363 of file dof_renumbering.h.

Constructor & Destructor Documentation

◆ CompareDownstream()

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


Definition at line 368 of file dof_renumbering.h.

Member Function Documentation

◆ operator()()

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

Return true if c1 less c2.

Definition at line 375 of file dof_renumbering.h.

Member Data Documentation

◆ dir

template<class Iterator , int dim>
const Tensor<1, dim> DoFRenumbering::CompareDownstream< Iterator, dim >::dir

Flow direction.

Definition at line 385 of file dof_renumbering.h.

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