Version: 5.1.6

INTERP_KERNEL.ElementBBoxOrder Class Reference

Class defining an order for MeshElements based on their bounding boxes. More...

#include <MeshElement.hxx>

Public Member Functions

 ElementBBoxOrder (BoundingBox::BoxCoord coord)
 ElementBBoxOrder /////////////.
template<class ConnType >
bool operator() (MeshElement< ConnType > *elem1, MeshElement< ConnType > *elem2)

Private Attributes

BoundingBox::BoxCoord _coord
 BoundingBox coordinate (XMIN, XMAX, etc) on which to base the ordering.

Detailed Description

Class defining an order for MeshElements based on their bounding boxes.

The order defined between two elements is that between a given coordinate of their bounding boxes. For instance, if the order is based on YMIN, an element whose boxes has a smaller YMIN is sorted before one with a larger YMIN.


Constructor & Destructor Documentation

INTERP_KERNEL.ElementBBoxOrder::ElementBBoxOrder ( BoundingBox::BoxCoord  coord  ) 

ElementBBoxOrder /////////////.

Constructor

Parameters:
coord BoundingBox coordinate (XMIN, XMAX, etc) on which to base the ordering

Member Function Documentation

template<class ConnType >
bool INTERP_KERNEL.ElementBBoxOrder.operator() ( MeshElement< ConnType > *  elem1,
MeshElement< ConnType > *  elem2 
)

Field Documentation

BoundingBox coordinate (XMIN, XMAX, etc) on which to base the ordering.