IFEM  90A354
Public Member Functions | Public Attributes | Friends | List of all members
TopItem Struct Reference

Struct for representing a topological item. More...

#include <TopologySet.h>

Public Member Functions

 TopItem (size_t p=0, short int i=0, short int d=0)
 Default constructor. More...
 

Public Attributes

size_t patch
 Patch index (one-based)
 
short int item
 Local item index within the patch (one-based)
 
short int idim
 Dimension on the local item [-3,3].
 

Friends

bool operator< (const TopItem &a, const TopItem &b)
 The less-than operator defining the ordering of topological items.
 
std::ostream & operator<< (std::ostream &os, const TopItem &top)
 Output stream operator.
 

Detailed Description

Struct for representing a topological item.

Constructor & Destructor Documentation

◆ TopItem()

TopItem::TopItem ( size_t  p = 0,
short int  i = 0,
short int  d = 0 
)
inline

Default constructor.

Parameters
[in]pPatch index
[in]iIndex of topology item
[in]dDimension of topology item

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