![]() |
Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
#include <FaceSets.h>
Public Member Functions | |
FacesAdjRegions (int f, smoab::EntityHandle r0, smoab::EntityHandle r1) | |
FacesAdjRegions (int f) | |
bool | operator< (const FacesAdjRegions &other) const |
smoab::EntityHandle | otherId (smoab::EntityHandle other) const |
Public Attributes | |
int | FaceId |
smoab::EntityHandle | Region0 |
smoab::EntityHandle | Region1 |
Definition at line 33 of file FaceSets.h.
smoab::FacesAdjRegions::FacesAdjRegions | ( | int | f, |
smoab::EntityHandle | r0, | ||
smoab::EntityHandle | r1 | ||
) | [inline] |
Definition at line 35 of file FaceSets.h.
References Region0, and Region1.
: FaceId( f ), Region0( r0 ), Region1( r1 )
{
if( r0 > r1 )
{
std::swap( this->Region0, this->Region1 );
}
}
smoab::FacesAdjRegions::FacesAdjRegions | ( | int | f | ) | [inline] |
Definition at line 43 of file FaceSets.h.
: FaceId( f ), Region0( -3 ), Region1( -2 ) {}
bool smoab::FacesAdjRegions::operator< | ( | const FacesAdjRegions & | other | ) | const [inline] |
Definition at line 45 of file FaceSets.h.
References FaceId.
{
return ( this->FaceId < other.FaceId );
}
smoab::EntityHandle smoab::FacesAdjRegions::otherId | ( | smoab::EntityHandle | other | ) | const [inline] |
Definition at line 50 of file FaceSets.h.
References Region0, and Region1.
{
if( other == Region0 )
{
return Region1;
}
return Region0;
}
Definition at line 59 of file FaceSets.h.
Referenced by operator<().
Definition at line 60 of file FaceSets.h.
Referenced by smoab::FaceAdjRegionValues(), FacesAdjRegions(), and otherId().
Definition at line 61 of file FaceSets.h.
Referenced by smoab::FaceAdjRegionValues(), FacesAdjRegions(), and otherId().