Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 111 of file SubStructuredGraph.h.

Constructor & Destructor Documentation

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

Definition at line 115 of file SubStructuredGraph.h.

116  :
117  m_nVerts(nVerts),
118  m_idOffset(idOffset)
119  {
120  }
Nektar::MultiRegions::SubGraph::~SubGraph ( void  )
inline

Definition at line 122 of file SubStructuredGraph.h.

123  {
124  }

Member Function Documentation

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

Definition at line 136 of file SubStructuredGraph.h.

References m_idOffset.

137  {
138  return m_idOffset;
139  }
int Nektar::MultiRegions::SubGraph::GetNverts ( void  ) const
inline

Definition at line 126 of file SubStructuredGraph.h.

References m_nVerts.

127  {
128  return m_nVerts;
129  }
void Nektar::MultiRegions::SubGraph::SetIdOffset ( const int  i)
inline

Definition at line 141 of file SubStructuredGraph.h.

References m_idOffset.

142  {
143  m_idOffset = i;
144  }
void Nektar::MultiRegions::SubGraph::SetNverts ( const int  i)
inline

Definition at line 131 of file SubStructuredGraph.h.

References m_nVerts.

132  {
133  m_nVerts = i;
134  }

Member Data Documentation

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

Definition at line 148 of file SubStructuredGraph.h.

Referenced by GetIdOffset(), and SetIdOffset().

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

Definition at line 147 of file SubStructuredGraph.h.

Referenced by GetNverts(), and SetNverts().