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 53 of file MeshComponents.h.

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

References m_id, and m_locId.

◆ ~CompToElmt()

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

Definition at line 59 of file MeshComponents.h.

60 {
61 m_id = -1;
62 m_locId = -1;
63 }

References m_id, and m_locId.

Member Function Documentation

◆ GetId()

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

Definition at line 65 of file MeshComponents.h.

66 {
67 return m_id;
68 }

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 76 of file MeshComponents.h.

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

◆ m_locId

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

Definition at line 77 of file MeshComponents.h.

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