Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Friends | List of all members
Nektar::SpatialDomains::CompToElmt Class Reference

Structure holding graphvertexobject id and local element facet id. More...

#include <MeshComponents.h>

Public Member Functions

 CompToElmt (int id, int locid)
 ~CompToElmt ()
int GetId ()

Protected Attributes

int m_id
int m_locId

Friends

bool operator== (const CompToElmt &x, const CompToElmt &y)
bool operator!= (const CompToElmt &x, const CompToElmt &y)

Detailed Description

Structure holding graphvertexobject id and local element facet id.

Definition at line 51 of file MeshComponents.h.

Constructor & Destructor Documentation

Nektar::SpatialDomains::CompToElmt::CompToElmt ( int  id,
int  locid 
)
inline

Definition at line 55 of file MeshComponents.h.

References m_id, and m_locId.

:
m_id(id),
m_locId(locid)
{
m_id = id;
m_locId = locid;
}
Nektar::SpatialDomains::CompToElmt::~CompToElmt ( )
inline

Definition at line 63 of file MeshComponents.h.

References m_id, and m_locId.

{
m_id = -1;
m_locId = -1;
}

Member Function Documentation

int Nektar::SpatialDomains::CompToElmt::GetId ( )
inline

Definition at line 69 of file MeshComponents.h.

References m_id.

{
return m_id;
}

Friends And Related Function Documentation

bool operator!= ( const CompToElmt x,
const CompToElmt y 
)
friend

Definition at line 232 of file PointGeom.cpp.

{
return (x.m_id != y.m_id);
}
bool operator== ( const CompToElmt x,
const CompToElmt y 
)
friend

Definition at line 227 of file PointGeom.cpp.

{
return (x.m_id == y.m_id) || (x.m_locId == y.m_locId);
}

Member Data Documentation

int Nektar::SpatialDomains::CompToElmt::m_id
protected

Definition at line 78 of file MeshComponents.h.

Referenced by CompToElmt(), GetId(), Nektar::SpatialDomains::operator!=(), Nektar::SpatialDomains::operator==(), and ~CompToElmt().

int Nektar::SpatialDomains::CompToElmt::m_locId
protected

Definition at line 79 of file MeshComponents.h.

Referenced by CompToElmt(), Nektar::SpatialDomains::operator==(), and ~CompToElmt().