
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) |
| 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) |
Definition at line 21 of file memory.c.
References workspacedef::auxcore, workspacedef::ccore, workspacedef::core, workspacedef::edegrees, GKmalloc(), idxmalloc(), workspacedef::maxcore, graphdef::ncon, graphdef::nedges, graphdef::nvtxs, controldef::optype, workspacedef::pmat, workspacedef::vedegrees, and controldef::wspace.
Referenced by METIS_EdgeComputeSeparator(), METIS_EdgeND(), METIS_mCHPartGraphRecursive(), METIS_mCHPartGraphRecursiveInternal(), METIS_mCPartGraphKway(), METIS_mCPartGraphRecursive(), METIS_mCPartGraphRecursive2(), METIS_mCPartGraphRecursiveInternal(), METIS_NodeComputeSeparator(), METIS_NodeND(), METIS_NodeNDP(), METIS_NodeWND(), METIS_WPartGraphKway(), METIS_WPartGraphKway2(), METIS_WPartGraphRecursive(), and METIS_WPartGraphVKway().
Definition at line 89 of file memory.c.
References workspacedef::core, workspacedef::edegrees, GKfree(), workspacedef::pmat, workspacedef::vedegrees, and controldef::wspace.
Referenced by METIS_EdgeComputeSeparator(), METIS_EdgeND(), METIS_mCHPartGraphRecursive(), METIS_mCHPartGraphRecursiveInternal(), METIS_mCPartGraphKway(), METIS_mCPartGraphRecursive(), METIS_mCPartGraphRecursive2(), METIS_mCPartGraphRecursiveInternal(), METIS_NodeComputeSeparator(), METIS_NodeND(), METIS_NodeNDP(), METIS_NodeWND(), METIS_WPartGraphKway(), METIS_WPartGraphKway2(), METIS_WPartGraphRecursive(), and METIS_WPartGraphVKway().
Definition at line 97 of file memory.c.
References workspacedef::ccore, workspacedef::maxcore, and controldef::wspace.
Referenced by PQueueInit().
Definition at line 106 of file memory.c.
References workspacedef::ccore, workspacedef::core, workspacedef::maxcore, and controldef::wspace.
Referenced by Bnd2WayBalance(), ComputeKWayVolGains(), ConstructMinCoverSeparator(), ConstructMinCoverSeparator0(), ConstructSeparator(), CreateCoarseGraph(), CreateCoarseGraph_NVW(), CreateCoarseGraphNoMask(), EliminateComponents(), EliminateSubDomainEdges(), EliminateVolComponents(), EliminateVolSubDomainEdges(), FM_2WayEdgeRefine(), FM_2WayNodeBalance(), FM_2WayNodeRefine(), FM_2WayNodeRefine2(), FM_2WayNodeRefine_OneSided(), FM_2WayNodeRefineEqWgt(), General2WayBalance(), Greedy_KWayEdgeBalance(), Greedy_KWayEdgeBalanceMConn(), Greedy_KWayEdgeRefine(), Greedy_KWayVolBalance(), Greedy_KWayVolBalanceMConn(), Match_HEM(), Match_RM(), Match_RM_NVW(), Match_SHEM(), MCGreedy_KWayEdgeBalanceHorizontal(), MCMatch_HEM(), MCMatch_RM(), MCMatch_SBHEM(), MCMatch_SHEBM(), MCMatch_SHEM(), MCRandom_KWayEdgeRefineHorizontal(), MocFM_2WayEdgeRefine(), MocFM_2WayEdgeRefine2(), MocGeneral2WayBalance(), MocGeneral2WayBalance2(), MocInit2WayBalance(), MocInit2WayBalance2(), MocProjectKWayPartition(), PQueueInit(), ProjectKWayPartition(), ProjectVolKWayPartition(), Random_KWayEdgeRefine(), Random_KWayEdgeRefineMConn(), Random_KWayVolRefine(), Random_KWayVolRefineMConn(), SplitGraphOrder(), SplitGraphOrderCC(), and SplitGraphPart().
Definition at line 118 of file memory.c.
References workspacedef::ccore, and controldef::wspace.
Referenced by Bnd2WayBalance(), ComputeKWayVolGains(), ConstructMinCoverSeparator(), ConstructMinCoverSeparator0(), ConstructSeparator(), CreateCoarseGraph(), CreateCoarseGraph_NVW(), CreateCoarseGraphNoMask(), EliminateComponents(), EliminateSubDomainEdges(), EliminateVolComponents(), EliminateVolSubDomainEdges(), FM_2WayEdgeRefine(), FM_2WayNodeBalance(), FM_2WayNodeRefine(), FM_2WayNodeRefine2(), FM_2WayNodeRefine_OneSided(), FM_2WayNodeRefineEqWgt(), General2WayBalance(), Greedy_KWayEdgeBalance(), Greedy_KWayEdgeBalanceMConn(), Greedy_KWayEdgeRefine(), Greedy_KWayVolBalance(), Greedy_KWayVolBalanceMConn(), Match_HEM(), Match_RM(), Match_RM_NVW(), Match_SHEM(), MCGreedy_KWayEdgeBalanceHorizontal(), MCMatch_HEM(), MCMatch_RM(), MCMatch_SBHEM(), MCMatch_SHEBM(), MCMatch_SHEM(), MCRandom_KWayEdgeRefineHorizontal(), MocFM_2WayEdgeRefine(), MocFM_2WayEdgeRefine2(), MocGeneral2WayBalance(), MocGeneral2WayBalance2(), MocInit2WayBalance(), MocInit2WayBalance2(), MocProjectKWayPartition(), PQueueFree(), ProjectKWayPartition(), ProjectVolKWayPartition(), Random_KWayEdgeRefine(), Random_KWayEdgeRefineMConn(), Random_KWayVolRefine(), Random_KWayVolRefineMConn(), SplitGraphOrder(), SplitGraphOrderCC(), and SplitGraphPart().
Definition at line 130 of file memory.c.
References workspacedef::ccore, workspacedef::core, workspacedef::maxcore, and controldef::wspace.
Referenced by MCGreedy_KWayEdgeBalanceHorizontal(), MCRandom_KWayEdgeRefineHorizontal(), MocFM_2WayEdgeRefine2(), and MocGeneral2WayBalance2().
Definition at line 142 of file memory.c.
References workspacedef::ccore, and controldef::wspace.
Referenced by MCGreedy_KWayEdgeBalanceHorizontal(), MCRandom_KWayEdgeRefineHorizontal(), MocFM_2WayEdgeRefine2(), and MocGeneral2WayBalance2().
| GraphType* CreateGraph | ( | void | ) |
Definition at line 156 of file memory.c.
Referenced by AssembleEntireGraph(), AssembleMultisectedGraph(), ExtractGraph(), Mc_Local_CreateCoarseGraph(), Moc_AssembleAdaptiveGraph(), Moc_Global_CreateCoarseGraph(), Moc_MoveGraph(), Moc_SetUpGraph(), and SetUpCoarseGraph().
| void InitGraph | ( | GraphType * | graph | ) |
Definition at line 172 of file memory.c.
Referenced by CompressGraph(), CreateGraph(), PruneGraph(), SetUpGraph(), SetUpGraph2(), SetUpGraphKway(), SetUpSplitGraph(), and VolSetUpGraph().
| void FreeGraph | ( | GraphType * | graph | ) |
Definition at line 204 of file memory.c.
Referenced by InitMultisection(), Moc_InitPartition_RB(), Moc_ProjectPartition(), MocProject2WayPartition(), MocProjectKWayPartition(), MultilevelOrder(), ParMETIS_V3_NodeND(), ParMETIS_V3_PartGeomKway(), PartitionSmallGraph(), Project2WayNodePartition(), Project2WayPartition(), ProjectKWayPartition(), and ProjectVolKWayPartition().
1.5.5