PPL Logo

libs/ck-libs/parmetis/METISLib/memory.c File Reference

Go to the source code of this file.

Functions

void AllocateWorkSpace (CtrlType *ctrl, GraphType *graph, int nparts)
void FreeWorkSpace (CtrlType *ctrl, GraphType *graph)
int WspaceAvail (CtrlType *ctrl)
idxtypeidxwspacemalloc (CtrlType *ctrl, memsize_t n)
void idxwspacefree (CtrlType *ctrl, int n)
floattypefwspacemalloc (CtrlType *ctrl, memsize_t n)
void fwspacefree (CtrlType *ctrl, memsize_t n)
GraphTypeCreateGraph (void)
void InitGraph (GraphType *graph)
void FreeGraph (GraphType *graph)


Function Documentation

void AllocateWorkSpace ( CtrlType ctrl,
GraphType graph,
int  nparts 
)

void FreeWorkSpace ( CtrlType ctrl,
GraphType graph 
)

int WspaceAvail ( CtrlType ctrl  ) 

Definition at line 97 of file memory.c.

References workspacedef::ccore, workspacedef::maxcore, and controldef::wspace.

Referenced by PQueueInit().

idxtype* idxwspacemalloc ( CtrlType ctrl,
memsize_t  n 
)

void idxwspacefree ( CtrlType ctrl,
int  n 
)

floattype* fwspacemalloc ( CtrlType ctrl,
memsize_t  n 
)

void fwspacefree ( CtrlType ctrl,
memsize_t  n 
)

GraphType* CreateGraph ( void   ) 

void InitGraph ( GraphType graph  ) 

void FreeGraph ( GraphType graph  ) 


Generated on Sat May 26 08:08:07 2012 for Charm++ by  doxygen 1.5.5