Nektar++
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 50 of file MeshComponents.h.

Constructor & Destructor Documentation

◆ CompToElmt()

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

Definition at line 54 of file MeshComponents.h.

54  :
55  m_id(id),
56  m_locId(locid)
57  {
58  m_id = id;
59  m_locId = locid;
60  }

References m_id, and m_locId.

◆ ~CompToElmt()

Nektar::SpatialDomains::CompToElmt::~CompToElmt ( )
inline

Definition at line 62 of file MeshComponents.h.

63  {
64  m_id = -1;
65  m_locId = -1;
66  }

References m_id, and m_locId.

Member Function Documentation

◆ GetId()

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

Definition at line 68 of file MeshComponents.h.

69  {
70  return m_id;
71  }

References m_id.

Friends And Related Function Documentation

◆ operator!=

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

◆ operator==

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

Member Data Documentation

◆ m_id

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

Definition at line 77 of file MeshComponents.h.

Referenced by CompToElmt(), GetId(), and ~CompToElmt().

◆ m_locId

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

Definition at line 78 of file MeshComponents.h.

Referenced by CompToElmt(), and ~CompToElmt().