internal::GridReordering2d Namespace Reference


Classes

class  ConnectGlobals
class  MQuad
struct  MSide
class  GridReordering

Functions

bool is_consistent (const std::vector< CellData< 2 > > &cells)

Detailed Description

Implement the algorithm described in the documentation of the GridReordering<2> class.

Author:
Michael Anderson, 2003


Function Documentation

bool internal::GridReordering2d::is_consistent ( const std::vector< CellData< 2 > > &  cells  ) 

Check whether a given arrangement of cells is already consisten. If this is the case, then we skip the reordering pass.

This function works by looping over all cells, checking whether one of its faces already exists in a list of edges, and if it already exists in reverse order, then return false. If it is not already in the list, or in the correct direction, then go on with the next faces or cell.


deal.II documentation generated on Sat Aug 15 16:52:37 2009 by doxygen 1.5.9