
Go to the source code of this file.
| int* imalloc | ( | size_t | n, | |
| char * | msg | |||
| ) |
Definition at line 43 of file util.c.
References GKmalloc().
Referenced by AssembleEntireGraph(), AssembleMultisectedGraph(), Balance_Partition(), InitMultisection(), KWayNodeRefine(), Moc_AssembleAdaptiveGraph(), Moc_Diffusion(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), Moc_KWayFM(), ParMETIS_SerialNodeND(), ParMETIS_V3_Mesh2Dual(), and PartitionSmallGraph().
| idxtype* idxmalloc | ( | size_t | n, | |
| char * | msg | |||
| ) |
Definition at line 55 of file util.c.
References GKmalloc().
Referenced by Allocate2WayNodePartitionMemory(), Allocate2WayPartitionMemory(), AllocateKWayPartitionMemory(), AllocateVolKWayPartitionMemory(), AllocateWorkSpace(), AssembleEntireGraph(), AssembleMultisectedGraph(), Balance_Partition(), BalanceMyLink(), CompactGraph(), CompressGraph(), ComputeNodePartitionParams(), ConstructMinCoverSeparator(), ConstructMinCoverSeparator0(), EstimateCFraction(), ExtractGraph(), FindVtxPerm(), GENDUALMETIS(), Greedy_KWayVolBalance(), Greedy_KWayVolBalanceMConn(), GrowBisection(), GrowBisectionNode(), HEXNODALMETIS(), InitMultisection(), IsConnected(), IsConnected2(), IsConnectedSubdomain(), KWayNodeRefine(), LabelSeparators(), Mc_Local_CreateCoarseGraph(), Mc_LocalMatch_HEM(), METIS_NodeND(), METIS_NodeNDP(), METIS_PartMeshDual(), METIS_PartMeshNodal(), MinCover(), MinCover_Decompose(), MlevelNestedDissectionCC(), MlevelNodeBisectionMultiple(), MMDOrder(), Moc_AssembleAdaptiveGraph(), Moc_ComputeRefineStats(), Moc_Diffusion(), Moc_Global_CreateCoarseGraph(), Moc_Global_Partition(), Moc_InitPartition_RB(), Moc_KeepPart(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), Moc_KWayFM(), Moc_MoveGraph(), Moc_ProjectPartition(), Moc_Serial_Balance2Way(), Moc_Serial_FM_2WayRefine(), Moc_Serial_Init2WayBalance(), MocAllocate2WayPartitionMemory(), MocAllocateKWayPartitionMemory(), MocGrowBisection(), MocGrowBisection2(), MocGrowBisectionNew2(), MocRandomBisection(), MultilevelOrder(), ParallelTotalVReMap(), ParMETIS_SerialNodeND(), ParMETIS_V3_AdaptiveRepart(), ParMETIS_V3_Mesh2Dual(), ParMETIS_V3_NodeND(), ParMETIS_V3_PartGeom(), ParMETIS_V3_RefineKway(), PartitionSmallGraph(), PartSort(), PQueueInit(), PreAllocateMemory(), ProjectInfoBack(), PruneGraph(), QUADNODALMETIS(), Random_KWayVolRefine(), Random_KWayVolRefineMConn(), RandomBisection(), RedoMyLink(), SetUp(), SetUpCoarseGraph(), SetUpGraph(), SetUpGraph2(), SetUpGraphKway(), SetUpSplitGraph(), TETNODALMETIS(), TRINODALMETIS(), VolSetUpGraph(), and WavefrontDiffusion().
| floattype* fmalloc | ( | size_t | n, | |
| char * | msg | |||
| ) |
Definition at line 67 of file util.c.
References GKmalloc().
Referenced by CheckInputs(), ExtractGraph(), Mc_Local_CreateCoarseGraph(), MCHMlevelRecursiveBisection(), METIS_mCHPartGraphRecursive(), METIS_mCHPartGraphRecursiveInternal(), METIS_mCPartGraphRecursive2(), METIS_PartGraphKway(), METIS_PartGraphKway2(), METIS_PartGraphRecursive(), METIS_PartGraphVKway(), METIS_WPartGraphRecursive(), Moc_AssembleAdaptiveGraph(), Moc_ComputeParallelBalance(), Moc_ComputePartitionBalance(), Moc_ComputePartitionParams(), Moc_Diffusion(), Moc_Global_CreateCoarseGraph(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), Moc_KWayFM(), Moc_SerialKWayAdaptRefine(), Moc_SetUpGraph(), MocAllocate2WayPartitionMemory(), ParMETIS_PartGeomKway(), ParMETIS_PartGeomRefine(), ParMETIS_PartKway(), ParMETIS_RefineKway(), ParMETIS_RepartGDiffusion(), ParMETIS_RepartLDiffusion(), ParMETIS_RepartMLRemap(), ParMETIS_RepartRemap(), ParMETIS_V3_NodeND(), ParMETIS_V3_PartGeomKway(), ParMETIS_V3_PartKway(), PartitionSmallGraph(), SetUpCoarseGraph(), SetUpGraph(), SetUpGraph2(), SetUpSplitGraph(), VolSetUpGraph(), and WavefrontDiffusion().
Definition at line 79 of file util.c.
References GKmalloc(), and iset().
Referenced by Moc_GlobalMatch_Balance().
Definition at line 92 of file util.c.
References GKmalloc(), and idxset().
Referenced by Adaptive_Partition(), BalanceMyLink(), BucketSortKeysInc(), CheckGraph(), CompressGraph(), ComputeCoarseGraphSize(), ComputeElementBalance(), ComputeMoveStatistics(), ComputeNodePartitionParams(), ComputePartitionBalance(), ComputePartitionInfo(), ComputePartitionInfoBipartite(), ComputeVolume(), EstimateCFraction(), FindComponents(), GENDUALMETIS(), Greedy_KWayVolBalance(), Greedy_KWayVolBalanceMConn(), HEXNODALMETIS(), InitMultisection(), IsConnected(), IsConnected2(), IsConnectedSubdomain(), KWayNodeRefine(), Mc_ComputeMoveStatistics(), Mc_LocalMatch_HEM(), METIS_PartMeshDual(), METIS_PartMeshNodal(), MinCover(), Moc_ComputeRefineStats(), Moc_ComputeSerialBalance(), Moc_Global_CreateCoarseGraph(), Moc_GlobalMatch_Balance(), Moc_InitPartition_RB(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), Moc_KWayFM(), Moc_SetUpGraph(), MultilevelOrder(), ParMETIS_V3_AdaptiveRepart(), ParMETIS_V3_Mesh2Dual(), ParMETIS_V3_PartGeomKway(), ParMETIS_V3_RefineKway(), PrintSubDomainGraph(), QUADNODALMETIS(), Random_KWayVolRefine(), Random_KWayVolRefineMConn(), RefineKWay(), SerialRemap(), SetUp(), SetUpMesh(), TETNODALMETIS(), TRINODALMETIS(), and VolSetUpGraph().
| void* GKmalloc | ( | size_t | nbytes, | |
| char * | msg | |||
| ) |
Definition at line 104 of file util.c.
References errexit(), malloc(), and ptr.
Referenced by AllocateWorkSpace(), BalanceMyLink(), CheckVolKWayPartitionParams(), CompressGraph(), ComputeNodePartitionParams(), Coordinate_Partition(), CreateGraph(), CreateMesh(), CSR_Match_SHEM(), EliminateSubDomainEdges(), EliminateVolComponents(), EliminateVolSubDomainEdges(), fmalloc(), fsmalloc(), idxmalloc(), idxsmalloc(), imalloc(), ismalloc(), MlevelNestedDissectionCC(), Moc_ComputePartitionParams(), Moc_Diffusion(), Moc_Global_CreateCoarseGraph(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), Moc_KWayFM(), Moc_Serial_Balance2Way(), Moc_Serial_FM_2WayRefine(), Moc_Serial_Init2WayBalance(), Moc_SerialKWayAdaptRefine(), ParallelTotalVReMap(), ParMETIS_V3_Mesh2Dual(), PartSort(), PreAllocateMemory(), SerialRemap(), SetUp(), and WavefrontDiffusion().
| void GKfree | ( | void ** | ptr1, | |
| ... | ||||
| ) |
Definition at line 122 of file util.c.
Referenced by AssembleMultisectedGraph(), Balance_Partition(), BalanceMyLink(), CheckGraph(), CompactGraph(), CompressGraph(), ComputeCoarseGraphSize(), ComputeMoveStatistics(), ComputePartitionInfo(), ComputePartitionInfoBipartite(), ConstructMinCoverSeparator(), ConstructMinCoverSeparator0(), ConstructSeparator(), CSR_Match_SHEM(), EliminateSubDomainEdges(), EliminateVolSubDomainEdges(), EstimateCFraction(), FreeGraph(), FreeInitialGraphAndRemap(), FreeWorkSpace(), FreeWSpace(), Greedy_KWayVolBalance(), Greedy_KWayVolBalanceMConn(), GrowBisection(), GrowBisectionNode(), InitMultisection(), IsConnected2(), IsConnectedSubdomain(), KWayNodeRefine(), Mc_ComputeMoveStatistics(), Mc_Local_CreateCoarseGraph(), Mc_LocalMatch_HEM(), MCHMlevelRecursiveBisection(), MCMlevelKWayPartitioning(), MCMlevelRecursiveBisection(), MCMlevelRecursiveBisection2(), METIS_EdgeComputeSeparator(), METIS_mCHPartGraphRecursive(), METIS_mCHPartGraphRecursiveInternal(), METIS_mCPartGraphRecursive2(), METIS_NodeComputeSeparator(), METIS_NodeND(), METIS_NodeNDP(), METIS_PartMeshDual(), METIS_PartMeshNodal(), MinCover(), MlevelKWayPartitioning(), MlevelNestedDissection(), MlevelNestedDissectionCC(), MlevelNestedDissectionP(), MlevelNodeBisectionMultiple(), MlevelRecursiveBisection(), MlevelVolKWayPartitioning(), Moc_AssembleAdaptiveGraph(), Moc_ComputeParallelBalance(), Moc_ComputeRefineStats(), Moc_ComputeSerialBalance(), Moc_Diffusion(), Moc_Global_CreateCoarseGraph(), Moc_Global_Partition(), Moc_GlobalMatch_Balance(), Moc_InitPartition_RB(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), Moc_KWayFM(), Moc_Serial_Balance2Way(), Moc_Serial_FM_2WayRefine(), Moc_Serial_Init2WayBalance(), Moc_SerialKWayAdaptRefine(), MocGrowBisection(), MocGrowBisection2(), MocGrowBisectionNew2(), MocRandomBisection(), MultilevelOrder(), ParallelTotalVReMap(), ParMETIS_SerialNodeND(), ParMETIS_V3_AdaptiveRepart(), ParMETIS_V3_Mesh2Dual(), ParMETIS_V3_PartGeom(), ParMETIS_V3_PartGeomKway(), ParMETIS_V3_PartKway(), ParMETIS_V3_PartMeshKway(), ParMETIS_V3_RefineKway(), PartitionSmallGraph(), PartSort(), PQueueFree(), Random_KWayVolRefine(), Random_KWayVolRefineMConn(), RandomBisection(), RedoMyLink(), RefineKWay(), RefineVolKWay(), SerialRemap(), and WavefrontDiffusion().
Definition at line 439 of file util.c.
Referenced by ConjGrad2(), CreateCoarseGraph(), CreateCoarseGraphNoMask(), MCGreedy_KWayEdgeBalanceHorizontal(), MCRandom_KWayEdgeRefineHorizontal(), MocCompute2WayPartitionParams(), MocComputeKWayPartitionParams(), MocFM_2WayEdgeRefine(), MocFM_2WayEdgeRefine2(), MocGeneral2WayBalance(), MocGeneral2WayBalance2(), MocInit2WayBalance(), and MocInit2WayBalance2().
| void InitRandom | ( | int | seed | ) |
Definition at line 493 of file util.c.
Referenced by METIS_EdgeComputeSeparator(), METIS_EdgeND(), METIS_EstimateMemory(), 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().
1.5.5