Nektar++
Public Member Functions | Protected Attributes | List of all members
Nektar::MultiRegions::SubGraph Class Reference

#include <SubStructuredGraph.h>

Public Member Functions

 SubGraph (const int nVerts, const int idOffset=0)
 
 ~SubGraph (void)
 
int GetNverts (void) const
 
void SetNverts (const int i)
 
int GetIdOffset (void) const
 
void SetIdOffset (const int i)
 

Protected Attributes

int m_nVerts
 
int m_idOffset
 

Detailed Description

Definition at line 114 of file SubStructuredGraph.h.

Constructor & Destructor Documentation

◆ SubGraph()

Nektar::MultiRegions::SubGraph::SubGraph ( const int  nVerts,
const int  idOffset = 0 
)
inline

Definition at line 117 of file SubStructuredGraph.h.

◆ ~SubGraph()

Nektar::MultiRegions::SubGraph::~SubGraph ( void  )
inline

Definition at line 122 of file SubStructuredGraph.h.

123 {
124 }

Member Function Documentation

◆ GetIdOffset()

int Nektar::MultiRegions::SubGraph::GetIdOffset ( void  ) const
inline

Definition at line 136 of file SubStructuredGraph.h.

137 {
138 return m_idOffset;
139 }

References m_idOffset.

◆ GetNverts()

int Nektar::MultiRegions::SubGraph::GetNverts ( void  ) const
inline

Definition at line 126 of file SubStructuredGraph.h.

127 {
128 return m_nVerts;
129 }

References m_nVerts.

◆ SetIdOffset()

void Nektar::MultiRegions::SubGraph::SetIdOffset ( const int  i)
inline

Definition at line 141 of file SubStructuredGraph.h.

142 {
143 m_idOffset = i;
144 }

References m_idOffset.

◆ SetNverts()

void Nektar::MultiRegions::SubGraph::SetNverts ( const int  i)
inline

Definition at line 131 of file SubStructuredGraph.h.

132 {
133 m_nVerts = i;
134 }

References m_nVerts.

Member Data Documentation

◆ m_idOffset

int Nektar::MultiRegions::SubGraph::m_idOffset
protected

Definition at line 148 of file SubStructuredGraph.h.

Referenced by GetIdOffset(), and SetIdOffset().

◆ m_nVerts

int Nektar::MultiRegions::SubGraph::m_nVerts
protected

Definition at line 147 of file SubStructuredGraph.h.

Referenced by GetNverts(), and SetNverts().