Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
smoab::FacesAdjRegions Struct Reference

#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

Detailed Description

Definition at line 33 of file FaceSets.h.


Constructor & Destructor Documentation

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 );
        }
    }

Definition at line 43 of file FaceSets.h.

: FaceId( f ), Region0( -3 ), Region1( -2 ) {}

Member Function Documentation

bool smoab::FacesAdjRegions::operator< ( const FacesAdjRegions other) const [inline]

Definition at line 45 of file FaceSets.h.

References FaceId.

    {
        return ( this->FaceId < other.FaceId );
    }

Definition at line 50 of file FaceSets.h.

References Region0, and Region1.

    {
        if( other == Region0 )
        {
            return Region1;
        }
        return Region0;
    }

Member Data Documentation

Definition at line 59 of file FaceSets.h.

Referenced by operator<().

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines