PPL Logo

Graph Struct Reference
[ParFUM Unstructured Mesh FrameworkCharm++ Load Balancing Framework]

#include <graph.h>

Collaboration diagram for Graph:

Collaboration graph
[legend]

Public Member Functions

 Graph (int elems)
 ~Graph ()
void add (int elem1, int elem2)
int elems (int elem)
void toAdjList (int *&adjStart, int *&adjList)
 Graph (int elems)
 ~Graph ()
void add (int elem1, int elem2)
int elems (int elem)
void toAdjList (int *&adjStart, int *&adjList)

Data Fields

int V
int E
VertexRecordvertices
intedges
int currentVertex
int currentEdge

Private Attributes

int nelems
NListnbrs
NListnbrs

Detailed Description

Definition at line 55 of file partition.C.


Constructor & Destructor Documentation

Graph::~Graph (  )  [inline]

Definition at line 61 of file partition.C.

References nbrs.

Graph::Graph ( int  elems  ) 

Graph::~Graph (  )  [inline]

Definition at line 64 of file partition.C.

References nbrs.


Member Function Documentation

int Graph::elems ( int  elem  )  [inline]

Definition at line 63 of file partition.C.

References NList::getnn(), nbrs, and nelems.

Referenced by mesh2graph_face(), and toAdjList().

void Graph::add ( int  elem1,
int  elem2 
)

int Graph::elems ( int  elem  )  [inline]

Definition at line 66 of file partition.C.

References NList::getnn(), nbrs, and nelems.

void Graph::toAdjList ( int *&  adjStart,
int *&  adjList 
)


Field Documentation

int Graph::nelems [private]

Definition at line 57 of file partition.C.

Referenced by add(), elems(), FEM_Mesh_partition(), Graph(), and toAdjList().

NList* Graph::nbrs [private]

Definition at line 58 of file partition.C.

Referenced by add(), elems(), Graph(), toAdjList(), and ~Graph().

NList* Graph::nbrs [private]

Definition at line 61 of file partition.C.

Definition at line 18 of file graph.h.

Referenced by g_initGraph(), g_printGraph(), and generateRandomGraph().

Definition at line 21 of file graph.h.

Referenced by g_addEdge(), g_finishVertex(), g_initGraph(), and g_nextVertex().

Definition at line 22 of file graph.h.

Referenced by g_addEdge(), g_finishVertex(), g_initGraph(), and g_nextVertex().


The documentation for this struct was generated from the following files:

Generated on Fri May 25 08:03:29 2012 for Charm++ by  doxygen 1.5.5