Flow123d
JS_before_hm-1820-g636551b33
|
#include <region.hh>
Public Member Functions | |
RegionIdx () | |
Default region is undefined/invalid. More... | |
bool | is_boundary () const |
Returns true if it is a Boundary region and false if it is a Bulk region. More... | |
bool | is_valid () const |
Returns false if the region has undefined/invalid value. More... | |
unsigned int | idx () const |
Returns a global index of the region. More... | |
unsigned int | boundary_idx () const |
Returns index of the region in the boundary set. More... | |
unsigned int | bulk_idx () const |
Returns index of the region in the bulk set. More... | |
bool | operator== (const RegionIdx &other) const |
Equality comparison operators for regions. More... | |
bool | operator!= (const RegionIdx &other) const |
Equality comparison operators for regions. More... | |
Protected Member Functions | |
RegionIdx (unsigned int index) | |
Protected Attributes | |
unsigned int | idx_ |
Static Protected Attributes | |
static const unsigned int | undefined =0xffffffff |
index for undefined region More... | |
Friends | |
class | Region |
Base class that contains information about region: 1) contains integer value that specifies region 2) detects if region is valid 3) detects if the region is the bulk or boundary 4) detects boundary index of boundary region or bulk index of bulk region
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
staticprotected |