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.

55  :
56  m_id(id),
57  m_locId(locid)
58  {
59  m_id = id;
60  m_locId = locid;
61  }
Nektar::SpatialDomains::CompToElmt::~CompToElmt ( )
inline

Definition at line 63 of file MeshComponents.h.

References m_id, and m_locId.

Member Function Documentation

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

Definition at line 69 of file MeshComponents.h.

References m_id.

70  {
71  return m_id;
72  }

Friends And Related Function Documentation

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

Definition at line 234 of file PointGeom.cpp.

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

Definition at line 229 of file PointGeom.cpp.

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

Member Data Documentation

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

Definition at line 79 of file MeshComponents.h.

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