PPL Logo

NList Class Reference
[ParFUM Unstructured Mesh Framework]

Collaboration diagram for NList:

Collaboration graph
[legend]

Public Member Functions

 NList (void)
void init (int _sn)
void add (int elt)
int found (int elt)
void sort (void)
int getnn (void)
int getelt (int n)
 ~NList ()
 NList (void)
void init (int _sn)
void add (int elt)
int found (int elt)
void sort (void)
int getnn (void)
int getelt (int n)
 ~NList ()

Static Private Member Functions

static int cmp (const void *v1, const void *v2)
static int cmp (const void *v1, const void *v2)

Private Attributes

int nn
int sn
intelts
intelts

Detailed Description

Definition at line 19 of file partition.C.


Constructor & Destructor Documentation

NList::NList ( void   )  [inline]

Definition at line 26 of file partition.C.

References elts, nn, and sn.

NList::~NList (  )  [inline]

Definition at line 33 of file partition.C.

References elts.

NList::NList ( void   )  [inline]

Definition at line 29 of file partition.C.

References elts, nn, and sn.

NList::~NList (  )  [inline]

Definition at line 36 of file partition.C.

References elts.


Member Function Documentation

void NList::init ( int  _sn  )  [inline]

Definition at line 27 of file partition.C.

References elts, nn, and sn.

Referenced by Graph::Graph(), and Nodes::Nodes().

Here is the caller graph for this function:

void NList::sort ( void   )  [inline]

Definition at line 30 of file partition.C.

References cmp(), elts, nn, and qsort().

Here is the call graph for this function:

int NList::getnn ( void   )  [inline]

Definition at line 31 of file partition.C.

References nn.

Referenced by Graph::elems(), and Nodes::nelems().

Here is the caller graph for this function:

int NList::getelt ( int  n  )  [inline]

Definition at line 32 of file partition.C.

References assert, elts, and nn.

Referenced by Nodes::getelt(), and Graph::toAdjList().

Here is the caller graph for this function:

static int NList::cmp ( const void *  v1,
const void *  v2 
) [static, private]

void NList::init ( int  _sn  )  [inline]

Definition at line 30 of file partition.C.

References elts, nn, and sn.

void NList::add ( int  elt  ) 

int NList::found ( int  elt  ) 

void NList::sort ( void   )  [inline]

Definition at line 33 of file partition.C.

References cmp(), elts, nn, and qsort().

Here is the call graph for this function:

int NList::getnn ( void   )  [inline]

Definition at line 34 of file partition.C.

References nn.

int NList::getelt ( int  n  )  [inline]

Definition at line 35 of file partition.C.

References assert, elts, and nn.


Field Documentation

int NList::nn [private]

Definition at line 21 of file partition.C.

Referenced by add(), found(), getelt(), getnn(), init(), NList(), and sort().

int NList::sn [private]

Definition at line 22 of file partition.C.

Referenced by add(), init(), and NList().

int* NList::elts [private]

Definition at line 23 of file partition.C.

Referenced by add(), found(), getelt(), init(), NList(), sort(), and ~NList().

int* NList::elts [private]

Definition at line 26 of file partition.C.


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

Generated on Mon Sep 21 08:28:02 2020 for Charm++ by  doxygen 1.5.5