PPL Logo

libs/ck-libs/parmetis/ParMETISLib/proto.h File Reference

Go to the source code of this file.

Functions

void Moc_Global_Partition (CtrlType *, GraphType *, WorkSpaceType *)
void Moc_GlobalMatch_Balance (CtrlType *, GraphType *, WorkSpaceType *)
void Moc_Global_CreateCoarseGraph (CtrlType *, GraphType *, WorkSpaceType *, int)
void Moc_InitPartition_RB (CtrlType *, GraphType *, WorkSpaceType *)
void Moc_KeepPart (GraphType *, WorkSpaceType *, idxtype *, int)
void Moc_ProjectPartition (CtrlType *, GraphType *, WorkSpaceType *)
void Moc_ComputePartitionParams (CtrlType *, GraphType *, WorkSpaceType *)
void Moc_KWayFM (CtrlType *, GraphType *, WorkSpaceType *, int)
void Moc_KWayBalance (CtrlType *, GraphType *, WorkSpaceType *, int)
void ParallelReMapGraph (CtrlType *, GraphType *, WorkSpaceType *)
void ParallelTotalVReMap (CtrlType *, idxtype *, idxtype *, WorkSpaceType *, int, int)
int SimilarTpwgts (floattype *, int, int, int)
GraphTypeMoc_MoveGraph (CtrlType *, GraphType *, WorkSpaceType *)
void CheckMGraph (CtrlType *, GraphType *)
void ProjectInfoBack (CtrlType *, GraphType *, idxtype *, idxtype *, WorkSpaceType *)
void FindVtxPerm (CtrlType *, GraphType *, idxtype *, WorkSpaceType *)
void PreAllocateMemory (CtrlType *, GraphType *, WorkSpaceType *)
void FreeWSpace (WorkSpaceType *)
void FreeCtrl (CtrlType *)
GraphTypeCreateGraph (void)
void InitGraph (GraphType *)
void FreeGraph (GraphType *)
void FreeInitialGraphAndRemap (GraphType *, int)
void Adaptive_Partition (CtrlType *, GraphType *, WorkSpaceType *)
void Mc_LocalMatch_HEM (CtrlType *, GraphType *, WorkSpaceType *)
void Mc_Local_CreateCoarseGraph (CtrlType *, GraphType *, WorkSpaceType *, int)
floattype WavefrontDiffusion (CtrlType *, GraphType *, idxtype *)
int BalanceMyLink (CtrlType *, GraphType *, idxtype *, int, int, floattype *, floattype, floattype *, floattype *, floattype)
void RedoMyLink (CtrlType *, GraphType *, idxtype *, int, int, floattype *, floattype *, floattype *)
void Balance_Partition (CtrlType *, GraphType *, WorkSpaceType *)
GraphTypeMoc_AssembleAdaptiveGraph (CtrlType *, GraphType *, WorkSpaceType *)
int Moc_Diffusion (CtrlType *, GraphType *, idxtype *, idxtype *, idxtype *, WorkSpaceType *, int)
GraphTypeExtractGraph (CtrlType *, GraphType *, idxtype *, idxtype *, idxtype *)
void SetUpConnectGraph (GraphType *, MatrixType *, idxtype *)
void Mc_ComputeMoveStatistics (CtrlType *, GraphType *, int *, int *, int *)
int Mc_ComputeSerialTotalV (GraphType *, idxtype *)
void ComputeLoad (GraphType *, int, floattype *, floattype *, int)
void ConjGrad2 (MatrixType *, floattype *, floattype *, floattype, floattype *)
void mvMult2 (MatrixType *, floattype *, floattype *)
void ComputeTransferVector (int, MatrixType *, floattype *, floattype *, int)
int ComputeSerialEdgeCut (GraphType *)
int ComputeSerialTotalV (GraphType *, idxtype *)
void Moc_KWayAdaptiveRefine (CtrlType *, GraphType *, WorkSpaceType *, int)
void Moc_DynamicSelectQueue (int, int, int, int, idxtype *, floattype *, int *, int *, int, floattype, floattype)
int Moc_HashVwgts (int, floattype *)
int Moc_HashVRank (int, int *)
void CSR_Match_SHEM (MatrixType *, idxtype *, idxtype *, idxtype *, int)
void Moc_SerialKWayAdaptRefine (GraphType *, int, idxtype *, floattype *, int)
void Moc_ComputeSerialPartitionParams (GraphType *, int, EdgeType *)
int AreAllHVwgtsBelow (int, floattype, floattype *, floattype, floattype *, floattype *)
void ComputeHKWayLoadImbalance (int, int, floattype *, floattype *)
void SerialRemap (GraphType *, int, idxtype *, idxtype *, idxtype *, floattype *)
int SSMIncKeyCmp (const void *, const void *)
void Moc_Serial_FM_2WayRefine (GraphType *, floattype *, int)
void Serial_SelectQueue (int, floattype *, floattype *, int *, int *, FPQueueType[MAXNCON][2])
int Serial_BetterBalance (int, floattype *, floattype *, floattype *)
floattype Serial_Compute2WayHLoadImbalance (int, floattype *, floattype *)
void Moc_Serial_Balance2Way (GraphType *, floattype *, floattype)
void Moc_Serial_Init2WayBalance (GraphType *, floattype *)
int Serial_SelectQueueOneWay (int, floattype *, floattype *, int, FPQueueType[MAXNCON][2])
void Moc_Serial_Compute2WayPartitionParams (GraphType *)
int Serial_AreAnyVwgtsBelow (int, floattype, floattype *, floattype, floattype *, floattype *)
void PartitionSmallGraph (CtrlType *, GraphType *, WorkSpaceType *)
void CheckInputs (int partType, int npes, int dbglvl, int *wgtflag, int *iwgtflag, int *numflag, int *inumflag, int *ncon, int *incon, int *nparts, int *inparts, floattype *tpwgts, floattype **itpwgts, floattype *ubvec, floattype *iubvec, floattype *ipc2redist, floattype *iipc2redist, int *options, int *ioptions, idxtype *part, MPI_Comm *comm)
GraphTypeAssembleEntireGraph (CtrlType *, idxtype *, idxtype *, idxtype *)
void ComputeNodePartitionParams0 (CtrlType *, GraphType *, WorkSpaceType *)
void ComputeNodePartitionParams (CtrlType *, GraphType *, WorkSpaceType *)
void KWayNodeRefine0 (CtrlType *, GraphType *, WorkSpaceType *, int, floattype)
void KWayNodeRefine (CtrlType *, GraphType *, WorkSpaceType *, int, floattype)
void KWayNodeRefine2 (CtrlType *, GraphType *, WorkSpaceType *, int, floattype)
void PrintNodeBalanceInfo (CtrlType *, int, idxtype *, idxtype *, idxtype *, int)
void InitMultisection (CtrlType *, GraphType *, WorkSpaceType *)
GraphTypeAssembleMultisectedGraph (CtrlType *, GraphType *, WorkSpaceType *)
void MultilevelOrder (CtrlType *, GraphType *, idxtype *, idxtype *, WorkSpaceType *)
void LabelSeparators (CtrlType *, GraphType *, idxtype *, idxtype *, idxtype *, idxtype *, WorkSpaceType *)
void CompactGraph (CtrlType *, GraphType *, idxtype *, WorkSpaceType *)
void LocalOrder (CtrlType *, GraphType *, idxtype *, int, WorkSpaceType *)
void LocalNDOrder (CtrlType *, GraphType *, idxtype *, int, WorkSpaceType *)
void Order_Partition (CtrlType *, GraphType *, WorkSpaceType *)
void Coordinate_Partition (CtrlType *, GraphType *, int, floattype *, int, WorkSpaceType *)
void PartSort (CtrlType *, GraphType *, KeyValueType *, WorkSpaceType *)
void FPQueueInit (FPQueueType *, int)
void FPQueueReset (FPQueueType *)
void FPQueueFree (FPQueueType *)
int FPQueueGetSize (FPQueueType *)
int FPQueueInsert (FPQueueType *, int, floattype)
int FPQueueDelete (FPQueueType *, int)
int FPQueueUpdate (FPQueueType *, int, floattype, floattype)
void FPQueueUpdateUp (FPQueueType *, int, floattype, floattype)
int FPQueueGetMax (FPQueueType *)
int FPQueueSeeMaxVtx (FPQueueType *)
floattype FPQueueSeeMaxGain (FPQueueType *)
floattype FPQueueGetKey (FPQueueType *)
int FPQueueGetQSize (FPQueueType *)
int CheckHeapFloat (FPQueueType *)
void Moc_ComputeSerialBalance (CtrlType *, GraphType *, idxtype *, floattype *)
void Moc_ComputeParallelBalance (CtrlType *, GraphType *, idxtype *, floattype *)
void Moc_PrintThrottleMatrix (CtrlType *, GraphType *, floattype *)
void Moc_ComputeRefineStats (CtrlType *, GraphType *, floattype *)
void PrintVector (CtrlType *, int, int, idxtype *, char *)
void PrintVector2 (CtrlType *, int, int, idxtype *, char *)
void PrintPairs (CtrlType *, int, KeyValueType *, char *)
void PrintGraph (CtrlType *, GraphType *)
void PrintGraph2 (CtrlType *, GraphType *)
void PrintSetUpInfo (CtrlType *ctrl, GraphType *graph)
void PrintTransferedGraphs (CtrlType *, int, idxtype *, idxtype *, idxtype *, idxtype *, idxtype *)
void WriteMetisGraph (int, idxtype *, idxtype *, idxtype *, idxtype *)
void CommInterfaceData (CtrlType *, GraphType *, idxtype *, idxtype *, idxtype *)
void CommChangedInterfaceData (CtrlType *, GraphType *, int, idxtype *, idxtype *, KeyValueType *, KeyValueType *, idxtype *)
int GlobalSEMax (CtrlType *, int)
double GlobalSEMaxDouble (CtrlType *, double)
int GlobalSEMin (CtrlType *, int)
int GlobalSESum (CtrlType *, int)
floattype GlobalSEMaxFloat (CtrlType *, floattype)
floattype GlobalSEMinFloat (CtrlType *, floattype)
floattype GlobalSESumFloat (CtrlType *, floattype)
void errexit (char *,...)
void myprintf (CtrlType *, char *f_str,...)
void rprintf (CtrlType *, char *f_str,...)
intimalloc (int, char *)
idxtypeidxmalloc (int, char *)
floattypefmalloc (int, char *)
intismalloc (int, int, char *)
idxtypeidxsmalloc (int, idxtype, char *)
void * GKmalloc (int, char *)
intiset (int n, int val, int *x)
idxtypeidxset (int n, idxtype val, idxtype *x)
int idxamax (int n, idxtype *x)
int idxamin (int n, idxtype *x)
int idxasum (int n, idxtype *x)
floattype snorm2 (int, floattype *)
floattype sdot (int n, floattype *, floattype *)
void saxpy (int, floattype, floattype *, floattype *)
void ikeyvalsort_org (int, KeyValueType *)
int IncKeyValueCmp (const void *, const void *)
void dkeyvalsort (int, KeyValueType *)
int DecKeyValueCmp (const void *, const void *)
int BSearch (int, idxtype *, int)
void RandomPermute (int, idxtype *, int)
void FastRandomPermute (int, idxtype *, int)
int ispow2 (int)
int log2Int (int)
void BucketSortKeysDec (int, int, idxtype *, idxtype *)
floattypesset (int n, floattype val, floattype *x)
int iamax (int, int *)
int idxamax_strd (int, idxtype *, int)
int idxamin_strd (int, idxtype *, int)
int samax_strd (int, floattype *, int)
int sfamax (int, floattype *)
int samin_strd (int, floattype *, int)
floattype idxavg (int, idxtype *)
floattype savg (int, floattype *)
int samax (int, floattype *)
int sfavg (int n, floattype *x)
int samax2 (int, floattype *)
int samin (int, floattype *)
int idxsum (int, idxtype *)
int idxsum_strd (int, idxtype *, int)
void idxadd (int, idxtype *, idxtype *)
floattype ssum (int, floattype *)
floattype ssum_strd (int, floattype *, int)
void sscale (int, floattype, floattype *)
void saneg (int, floattype *)
floattype BetterVBalance (int, floattype *, floattype *, floattype *)
int IsHBalanceBetterTT (int, floattype *, floattype *, floattype *, floattype *)
int IsHBalanceBetterFT (int, floattype *, floattype *, floattype *, floattype *)
int myvalkeycompare (const void *, const void *)
int imyvalkeycompare (const void *, const void *)
floattypefsmalloc (int, floattype, char *)
void saxpy2 (int, floattype, floattype *, int, floattype *, int)
void GetThreeMax (int, floattype *, int *, int *, int *)
void iidxsort (int, idxtype *)
void iintsort (int, int *)
void ikeysort (int, KeyValueType *)
void ikeyvalsort (int, KeyValueType *)
GraphTypeMoc_SetUpGraph (CtrlType *, int, idxtype *, idxtype *, idxtype *, idxtype *, idxtype *, int *)
void SetUpCtrl (CtrlType *ctrl, int, int, MPI_Comm)
void ChangeNumbering (idxtype *, idxtype *, idxtype *, idxtype *, int, int, int)
void ChangeNumberingMesh (idxtype *, idxtype *, idxtype *, idxtype *, idxtype *, int, int, int, int)
void ChangeNumberingMesh2 (idxtype *elmdist, idxtype *eptr, idxtype *eind, idxtype *xadj, idxtype *adjncy, idxtype *part, int npes, int mype, int from)
void GraphRandomPermute (GraphType *)
void ComputeMoveStatistics (CtrlType *, GraphType *, int *, int *, int *)
void InitTimers (CtrlType *)
void PrintTimingInfo (CtrlType *)
void PrintTimer (CtrlType *, timer, char *)
void SetUp (CtrlType *, GraphType *, WorkSpaceType *)
int Home_PE (int, int, idxtype *, int)
void METIS_WPartGraphKway2 (int *, idxtype *, idxtype *, idxtype *, idxtype *, int *, int *, int *, floattype *, int *, int *, idxtype *)
void METIS_mCPartGraphRecursive2 (int *, int *, idxtype *, idxtype *, idxtype *, idxtype *, int *, int *, int *, floattype *, int *, int *, idxtype *)
int MCMlevelRecursiveBisection2 (CtrlType *, GraphType *, int, floattype *, idxtype *, floattype, int)
void METIS_PartGraphKway (int *, idxtype *, idxtype *, idxtype *, idxtype *, int *, int *, int *, int *, int *, idxtype *)
void METIS_mCPartGraphKway (int *, int *, idxtype *, idxtype *, idxtype *, idxtype *, int *, int *, int *, floattype *, int *, int *, idxtype *)
void METIS_EdgeComputeSeparator (int *, idxtype *, idxtype *, idxtype *, idxtype *, int *, int *, idxtype *)
void METIS_NodeComputeSeparator (int *, idxtype *, idxtype *, idxtype *, idxtype *, int *, int *, idxtype *)
void METIS_NodeND (int *, idxtype *, idxtype *, int *, int *, idxtype *, idxtype *)
void METIS_NodeNDP (int, idxtype *, idxtype *, int, int *, idxtype *, idxtype *, idxtype *)
void ParallelReadGraph (GraphType *, char *, MPI_Comm)
void Moc_ParallelWriteGraph (CtrlType *, GraphType *, char *, int, int)
void ReadTestGraph (GraphType *, char *, MPI_Comm)
floattypeReadTestCoordinates (GraphType *, char *, int, MPI_Comm)
void ReadMetisGraph (char *, int *, idxtype **, idxtype **)
void Moc_SerialReadGraph (GraphType *, char *, int *, MPI_Comm)
void Moc_SerialReadMetisGraph (char *, int *, int *, int *, int *, idxtype **, idxtype **, idxtype **, idxtype **, int *)
void AdaptGraph (GraphType *, int, MPI_Comm)
void AdaptGraph2 (GraphType *, int, MPI_Comm)
void Mc_AdaptGraph (GraphType *, idxtype *, int, int, MPI_Comm)
void TestParMetis (char *, MPI_Comm)
void TestParMetis_V3 (char *, MPI_Comm)
int ComputeRealCut (idxtype *, idxtype *, char *, MPI_Comm)
int ComputeRealCut2 (idxtype *, idxtype *, idxtype *, idxtype *, char *, MPI_Comm)
void TestMoveGraph (GraphType *, GraphType *, idxtype *, MPI_Comm)
GraphTypeSetUpGraph (CtrlType *, idxtype *, idxtype *, idxtype *, idxtype *, idxtype *, int)
void mienIO (MeshType *, char *, int, int, MPI_Comm)
void ParallelReadMesh (MeshType *, char *, MPI_Comm)
void ChangeToFortranNumbering (idxtype *, idxtype *, idxtype *, int, int)


Function Documentation

void Moc_Global_Partition ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Moc_GlobalMatch_Balance ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Moc_Global_CreateCoarseGraph ( CtrlType ,
GraphType ,
WorkSpaceType ,
int   
)

void Moc_InitPartition_RB ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Moc_KeepPart ( GraphType ,
WorkSpaceType ,
idxtype ,
int   
)

void Moc_ProjectPartition ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Moc_ComputePartitionParams ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Moc_KWayFM ( CtrlType ,
GraphType ,
WorkSpaceType ,
int   
)

void Moc_KWayBalance ( CtrlType ,
GraphType ,
WorkSpaceType ,
int   
)

void ParallelReMapGraph ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void ParallelTotalVReMap ( CtrlType ,
idxtype ,
idxtype ,
WorkSpaceType ,
int  ,
int   
)

int SimilarTpwgts ( floattype ,
int  ,
int  ,
int   
)

Definition at line 168 of file remap.c.

Referenced by ParallelTotalVReMap(), and SerialRemap().

GraphType* Moc_MoveGraph ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void CheckMGraph ( CtrlType ,
GraphType  
)

void ProjectInfoBack ( CtrlType ,
GraphType ,
idxtype ,
idxtype ,
WorkSpaceType  
)

void FindVtxPerm ( CtrlType ,
GraphType ,
idxtype ,
WorkSpaceType  
)

void PreAllocateMemory ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void FreeWSpace ( WorkSpaceType  ) 

void FreeCtrl ( CtrlType  ) 

GraphType* CreateGraph ( void   ) 

void InitGraph ( GraphType  ) 

void FreeGraph ( GraphType  ) 

void FreeInitialGraphAndRemap ( GraphType ,
int   
)

void Adaptive_Partition ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Mc_LocalMatch_HEM ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Mc_Local_CreateCoarseGraph ( CtrlType ,
GraphType ,
WorkSpaceType ,
int   
)

floattype WavefrontDiffusion ( CtrlType ,
GraphType ,
idxtype  
)

int BalanceMyLink ( CtrlType ,
GraphType ,
idxtype ,
int  ,
int  ,
floattype ,
floattype  ,
floattype ,
floattype ,
floattype   
)

void RedoMyLink ( CtrlType ,
GraphType ,
idxtype ,
int  ,
int  ,
floattype ,
floattype ,
floattype  
)

void Balance_Partition ( CtrlType ,
GraphType ,
WorkSpaceType  
)

GraphType* Moc_AssembleAdaptiveGraph ( CtrlType ,
GraphType ,
WorkSpaceType  
)

int Moc_Diffusion ( CtrlType ,
GraphType ,
idxtype ,
idxtype ,
idxtype ,
WorkSpaceType ,
int   
)

GraphType* ExtractGraph ( CtrlType ,
GraphType ,
idxtype ,
idxtype ,
idxtype  
)

void SetUpConnectGraph ( GraphType ,
MatrixType ,
idxtype  
)

void Mc_ComputeMoveStatistics ( CtrlType ,
GraphType ,
int ,
int ,
int  
)

int Mc_ComputeSerialTotalV ( GraphType ,
idxtype  
)

void ComputeLoad ( GraphType ,
int  ,
floattype ,
floattype ,
int   
)

void ConjGrad2 ( MatrixType ,
floattype ,
floattype ,
floattype  ,
floattype  
)

void mvMult2 ( MatrixType ,
floattype ,
floattype  
)

Definition at line 258 of file diffutil.c.

References matrixdef::colind, matrixdef::nrows, matrixdef::rowptr, and matrixdef::values.

Referenced by ConjGrad2().

void ComputeTransferVector ( int  ,
MatrixType ,
floattype ,
floattype ,
int   
)

Definition at line 276 of file diffutil.c.

References matrixdef::colind, matrixdef::nrows, and matrixdef::rowptr.

Referenced by Moc_Diffusion(), and WavefrontDiffusion().

int ComputeSerialEdgeCut ( GraphType  ) 

int ComputeSerialTotalV ( GraphType ,
idxtype  
)

Definition at line 1239 of file serial.c.

References graphdef::nvtxs, graphdef::vsize, graphdef::vwgt, and graphdef::where.

void Moc_KWayAdaptiveRefine ( CtrlType ,
GraphType ,
WorkSpaceType ,
int   
)

void Moc_DynamicSelectQueue ( int  ,
int  ,
int  ,
int  ,
idxtype ,
floattype ,
int ,
int ,
int  ,
floattype  ,
floattype   
)

int Moc_HashVwgts ( int  ,
floattype  
)

Definition at line 293 of file selectq.c.

References KVType::key, myvalkeycompare(), qsort(), and KVType::val.

Referenced by BalanceMyLink().

int Moc_HashVRank ( int  ,
int  
)

Definition at line 325 of file selectq.c.

Referenced by Moc_DynamicSelectQueue().

void CSR_Match_SHEM ( MatrixType ,
idxtype ,
idxtype ,
idxtype ,
int   
)

void Moc_SerialKWayAdaptRefine ( GraphType ,
int  ,
idxtype ,
floattype ,
int   
)

void Moc_ComputeSerialPartitionParams ( GraphType ,
int  ,
EdgeType  
)

int AreAllHVwgtsBelow ( int  ,
floattype  ,
floattype ,
floattype  ,
floattype ,
floattype  
)

void ComputeHKWayLoadImbalance ( int  ,
int  ,
floattype ,
floattype  
)

void SerialRemap ( GraphType ,
int  ,
idxtype ,
idxtype ,
idxtype ,
floattype  
)

int SSMIncKeyCmp ( const void *  ,
const void *   
)

Definition at line 484 of file serial.c.

References KeyKeyValueType::key1, and KeyKeyValueType::key2.

Referenced by SerialRemap().

void Moc_Serial_FM_2WayRefine ( GraphType ,
floattype ,
int   
)

void Serial_SelectQueue ( int  ,
floattype ,
floattype ,
int ,
int ,
FPQueueType  [MAXNCON][2] 
)

int Serial_BetterBalance ( int  ,
floattype ,
floattype ,
floattype  
)

Definition at line 770 of file serial.c.

References snorm2().

Referenced by Moc_Serial_Balance2Way(), and Moc_Serial_FM_2WayRefine().

floattype Serial_Compute2WayHLoadImbalance ( int  ,
floattype ,
floattype  
)

Definition at line 786 of file serial.c.

References max().

Referenced by Moc_Serial_Balance2Way(), and Moc_Serial_FM_2WayRefine().

void Moc_Serial_Balance2Way ( GraphType ,
floattype ,
floattype   
)

void Moc_Serial_Init2WayBalance ( GraphType ,
floattype  
)

int Serial_SelectQueueOneWay ( int  ,
floattype ,
floattype ,
int  ,
FPQueueType  [MAXNCON][2] 
)

Definition at line 1132 of file serial.c.

References FPQueueGetQSize(), and max().

Referenced by Moc_Serial_Init2WayBalance().

void Moc_Serial_Compute2WayPartitionParams ( GraphType  ) 

int Serial_AreAnyVwgtsBelow ( int  ,
floattype  ,
floattype ,
floattype  ,
floattype ,
floattype  
)

Definition at line 1206 of file serial.c.

Referenced by Moc_Serial_Init2WayBalance().

void PartitionSmallGraph ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void CheckInputs ( int  partType,
int  npes,
int  dbglvl,
int wgtflag,
int iwgtflag,
int numflag,
int inumflag,
int ncon,
int incon,
int nparts,
int inparts,
floattype tpwgts,
floattype **  itpwgts,
floattype ubvec,
floattype iubvec,
floattype ipc2redist,
floattype iipc2redist,
int options,
int ioptions,
idxtype part,
MPI_Comm comm 
)

GraphType* AssembleEntireGraph ( CtrlType ,
idxtype ,
idxtype ,
idxtype  
)

void ComputeNodePartitionParams0 ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void ComputeNodePartitionParams ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void KWayNodeRefine0 ( CtrlType ,
GraphType ,
WorkSpaceType ,
int  ,
floattype   
)

void KWayNodeRefine ( CtrlType ,
GraphType ,
WorkSpaceType ,
int  ,
floattype   
)

void KWayNodeRefine2 ( CtrlType ,
GraphType ,
WorkSpaceType ,
int  ,
floattype   
)

void PrintNodeBalanceInfo ( CtrlType ,
int  ,
idxtype ,
idxtype ,
idxtype ,
int   
)

Definition at line 367 of file node_refine.c.

References controldef::comm, MPI_Barrier(), controldef::mype, and printf().

Referenced by KWayNodeRefine().

void InitMultisection ( CtrlType ,
GraphType ,
WorkSpaceType  
)

GraphType* AssembleMultisectedGraph ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void MultilevelOrder ( CtrlType ,
GraphType ,
idxtype ,
idxtype ,
WorkSpaceType  
)

void LabelSeparators ( CtrlType ,
GraphType ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
WorkSpaceType  
)

void CompactGraph ( CtrlType ,
GraphType ,
idxtype ,
WorkSpaceType  
)

void LocalOrder ( CtrlType ,
GraphType ,
idxtype ,
int  ,
WorkSpaceType  
)

void LocalNDOrder ( CtrlType ,
GraphType ,
idxtype ,
int  ,
WorkSpaceType  
)

void Order_Partition ( CtrlType ,
GraphType ,
WorkSpaceType  
)

void Coordinate_Partition ( CtrlType ,
GraphType ,
int  ,
floattype ,
int  ,
WorkSpaceType  
)

void PartSort ( CtrlType ,
GraphType ,
KeyValueType ,
WorkSpaceType  
)

void FPQueueInit ( FPQueueType ,
int   
)

void FPQueueReset ( FPQueueType  ) 

void FPQueueFree ( FPQueueType  ) 

int FPQueueGetSize ( FPQueueType  ) 

Definition at line 66 of file fpqueue.c.

References FPQueueType::nnodes.

int FPQueueInsert ( FPQueueType ,
int  ,
floattype   
)

int FPQueueDelete ( FPQueueType ,
int   
)

int FPQueueUpdate ( FPQueueType ,
int  ,
floattype  ,
floattype   
)

void FPQueueUpdateUp ( FPQueueType ,
int  ,
floattype  ,
floattype   
)

int FPQueueGetMax ( FPQueueType  ) 

int FPQueueSeeMaxVtx ( FPQueueType  ) 

Definition at line 352 of file fpqueue.c.

References FPQueueType::heap, FPQueueType::nnodes, and FKeyValueType::val.

floattype FPQueueSeeMaxGain ( FPQueueType  ) 

Definition at line 368 of file fpqueue.c.

References FPQueueType::heap, FKeyValueType::key, and FPQueueType::nnodes.

Referenced by Serial_SelectQueue().

floattype FPQueueGetKey ( FPQueueType  ) 

Definition at line 384 of file fpqueue.c.

References FPQueueType::heap, FKeyValueType::key, and FPQueueType::nnodes.

int FPQueueGetQSize ( FPQueueType  ) 

Definition at line 399 of file fpqueue.c.

References FPQueueType::nnodes.

Referenced by Serial_SelectQueue(), and Serial_SelectQueueOneWay().

int CheckHeapFloat ( FPQueueType  ) 

void Moc_ComputeSerialBalance ( CtrlType ,
GraphType ,
idxtype ,
floattype  
)

void Moc_ComputeParallelBalance ( CtrlType ,
GraphType ,
idxtype ,
floattype  
)

void Moc_PrintThrottleMatrix ( CtrlType ,
GraphType ,
floattype  
)

Definition at line 106 of file stat.c.

References controldef::comm, MPI_Barrier(), controldef::mype, controldef::npes, and printf().

void Moc_ComputeRefineStats ( CtrlType ,
GraphType ,
floattype  
)

void PrintVector ( CtrlType ,
int  ,
int  ,
idxtype ,
char *   
)

void PrintVector2 ( CtrlType ,
int  ,
int  ,
idxtype ,
char *   
)

void PrintPairs ( CtrlType ,
int  ,
KeyValueType ,
char *   
)

void PrintGraph ( CtrlType ,
GraphType  
)

void PrintGraph2 ( CtrlType ,
GraphType  
)

void PrintSetUpInfo ( CtrlType ctrl,
GraphType graph 
)

void PrintTransferedGraphs ( CtrlType ,
int  ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
idxtype  
)

void WriteMetisGraph ( int  ,
idxtype ,
idxtype ,
idxtype ,
idxtype  
)

Definition at line 232 of file debug.c.

void CommInterfaceData ( CtrlType ,
GraphType ,
idxtype ,
idxtype ,
idxtype  
)

void CommChangedInterfaceData ( CtrlType ,
GraphType ,
int  ,
idxtype ,
idxtype ,
KeyValueType ,
KeyValueType ,
idxtype  
)

int GlobalSEMax ( CtrlType ,
int   
)

double GlobalSEMaxDouble ( CtrlType ,
double   
)

Definition at line 140 of file comm.c.

References controldef::comm, max(), MPI_Allreduce(), MPI_DOUBLE, and MPI_MAX.

int GlobalSEMin ( CtrlType ,
int   
)

int GlobalSESum ( CtrlType ,
int   
)

floattype GlobalSEMaxFloat ( CtrlType ,
floattype   
)

Definition at line 179 of file comm.c.

References controldef::comm, max(), MPI_Allreduce(), MPI_DOUBLE, and MPI_MAX.

Referenced by Moc_Global_Partition().

floattype GlobalSEMinFloat ( CtrlType ,
floattype   
)

Definition at line 193 of file comm.c.

References controldef::comm, min(), MPI_Allreduce(), MPI_DOUBLE, and MPI_MIN.

Referenced by Moc_Global_Partition().

floattype GlobalSESumFloat ( CtrlType ,
floattype   
)

Definition at line 205 of file comm.c.

References controldef::comm, MPI_Allreduce(), MPI_DOUBLE, and MPI_SUM.

void errexit ( char *  ,
  ... 
)

Definition at line 20 of file util.c.

References abort().

void myprintf ( CtrlType ,
char *  f_str,
  ... 
)

void rprintf ( CtrlType ,
char *  f_str,
  ... 
)

int* imalloc ( int  ,
char *   
)

Definition at line 83 of file util.c.

References GKmalloc().

idxtype* idxmalloc ( int  ,
char *   
)

Definition at line 95 of file util.c.

References GKmalloc().

floattype* fmalloc ( int  ,
char *   
)

Definition at line 107 of file util.c.

References GKmalloc().

int* ismalloc ( int  ,
int  ,
char *   
)

Definition at line 119 of file util.c.

References GKmalloc(), and iset().

idxtype* idxsmalloc ( int  ,
idxtype  ,
char *   
)

Definition at line 132 of file util.c.

References GKmalloc(), and idxset().

void* GKmalloc ( int  ,
char *   
)

Definition at line 144 of file util.c.

References errexit(), malloc(), and ptr.

int* iset ( int  n,
int  val,
int x 
)

Definition at line 147 of file util.c.

idxtype* idxset ( int  n,
idxtype  val,
idxtype x 
)

Definition at line 161 of file util.c.

int idxamax ( int  n,
idxtype x 
)

Definition at line 204 of file util.c.

References max().

int idxamin ( int  n,
idxtype x 
)

Definition at line 275 of file util.c.

References min().

int idxasum ( int  n,
idxtype x 
)

floattype snorm2 ( int  ,
floattype  
)

Definition at line 408 of file util.c.

floattype sdot ( int  n,
floattype ,
floattype  
)

Definition at line 424 of file util.c.

void saxpy ( int  ,
floattype  ,
floattype ,
floattype  
)

Definition at line 315 of file util.c.

void ikeyvalsort_org ( int  ,
KeyValueType  
)

Definition at line 331 of file util.c.

References IncKeyValueCmp(), and qsort().

int IncKeyValueCmp ( const void *  ,
const void *   
)

Definition at line 340 of file util.c.

References KeyValueType::key, n1, n2, and KeyValueType::val.

Referenced by ikeyvalsort_org().

void dkeyvalsort ( int  ,
KeyValueType  
)

Definition at line 355 of file util.c.

References DecKeyValueCmp(), and qsort().

int DecKeyValueCmp ( const void *  ,
const void *   
)

Definition at line 364 of file util.c.

References KeyValueType::key, n1, and n2.

Referenced by dkeyvalsort().

int BSearch ( int  ,
idxtype ,
int   
)

Definition at line 381 of file util.c.

References c, and errexit().

Referenced by Moc_Global_CreateCoarseGraph().

void RandomPermute ( int  ,
idxtype ,
int   
)

Definition at line 455 of file util.c.

void FastRandomPermute ( int  ,
idxtype ,
int   
)

int ispow2 ( int   ) 

Definition at line 483 of file util.c.

int log2Int ( int   ) 

Definition at line 504 of file util.c.

void BucketSortKeysDec ( int  ,
int  ,
idxtype ,
idxtype  
)

floattype* sset ( int  n,
floattype  val,
floattype x 
)

Definition at line 175 of file util.c.

int iamax ( int  ,
int  
)

Definition at line 190 of file util.c.

References max().

int idxamax_strd ( int  ,
idxtype ,
int   
)

Definition at line 217 of file util.c.

References max().

int idxamin_strd ( int  ,
idxtype ,
int   
)

Definition at line 575 of file util.c.

References min().

int samax_strd ( int  ,
floattype ,
int   
)

Definition at line 512 of file util.c.

References max().

Referenced by Moc_Diffusion(), and Moc_Global_Partition().

int sfamax ( int  ,
floattype  
)

Definition at line 528 of file util.c.

References max().

int samin_strd ( int  ,
floattype ,
int   
)

Definition at line 544 of file util.c.

References min().

Referenced by Moc_Global_Partition().

floattype idxavg ( int  ,
idxtype  
)

Definition at line 590 of file util.c.

floattype savg ( int  ,
floattype  
)

int samax ( int  ,
floattype  
)

Definition at line 233 of file util.c.

References max().

int sfavg ( int  n,
floattype x 
)

Definition at line 634 of file util.c.

int samax2 ( int  ,
floattype  
)

Definition at line 246 of file util.c.

int samin ( int  ,
floattype  
)

Definition at line 289 of file util.c.

References min().

int idxsum ( int  ,
idxtype  
)

Definition at line 303 of file util.c.

int idxsum_strd ( int  ,
idxtype ,
int   
)

Definition at line 317 of file util.c.

void idxadd ( int  ,
idxtype ,
idxtype  
)

Definition at line 332 of file util.c.

floattype ssum ( int  ,
floattype  
)

Definition at line 368 of file util.c.

floattype ssum_strd ( int  ,
floattype ,
int   
)

Definition at line 382 of file util.c.

void sscale ( int  ,
floattype  ,
floattype  
)

Definition at line 396 of file util.c.

void saneg ( int  ,
floattype  
)

Definition at line 760 of file util.c.

floattype BetterVBalance ( int  ,
floattype ,
floattype ,
floattype  
)

Definition at line 774 of file util.c.

int IsHBalanceBetterTT ( int  ,
floattype ,
floattype ,
floattype ,
floattype  
)

Definition at line 851 of file util.c.

int IsHBalanceBetterFT ( int  ,
floattype ,
floattype ,
floattype ,
floattype  
)

Definition at line 806 of file util.c.

int myvalkeycompare ( const void *  ,
const void *   
)

Definition at line 889 of file util.c.

References KVType::val.

Referenced by CSR_Match_SHEM(), Moc_DynamicSelectQueue(), and Moc_HashVwgts().

int imyvalkeycompare ( const void *  ,
const void *   
)

Definition at line 908 of file util.c.

References KVType::val.

floattype* fsmalloc ( int  ,
floattype  ,
char *   
)

Definition at line 928 of file util.c.

References GKmalloc(), and sset().

Referenced by Balance_Partition(), Moc_InitPartition_RB(), and ParMETIS_V3_NodeND().

void saxpy2 ( int  ,
floattype  ,
floattype ,
int  ,
floattype ,
int   
)

void GetThreeMax ( int  ,
floattype ,
int ,
int ,
int  
)

Definition at line 952 of file util.c.

Referenced by WavefrontDiffusion().

void iidxsort ( int  ,
idxtype  
)

Definition at line 32 of file myqsort.c.

References c, max(), min(), and siqst().

Referenced by KWayNodeRefine(), Moc_KWayAdaptiveRefine(), Moc_KWayBalance(), and Moc_KWayFM().

void iintsort ( int  ,
int  
)

Definition at line 161 of file myqsort.c.

References c, iiqst(), max(), and min().

void ikeysort ( int  ,
KeyValueType  
)

void ikeyvalsort ( int  ,
KeyValueType  
)

Definition at line 427 of file myqsort.c.

References c, KeyValueType::key, keyvaliqst(), max(), min(), and KeyValueType::val.

Referenced by Moc_Global_CreateCoarseGraph(), and PartSort().

GraphType* Moc_SetUpGraph ( CtrlType ,
int  ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int  
)

void SetUpCtrl ( CtrlType ctrl,
int  ,
int  ,
MPI_Comm   
)

void ChangeNumbering ( idxtype ,
idxtype ,
idxtype ,
idxtype ,
int  ,
int  ,
int   
)

void ChangeNumberingMesh ( idxtype ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int  ,
int  ,
int  ,
int   
)

Definition at line 143 of file grsetup.c.

References meshdef::nelms.

void ChangeNumberingMesh2 ( idxtype elmdist,
idxtype eptr,
idxtype eind,
idxtype xadj,
idxtype adjncy,
idxtype part,
int  npes,
int  mype,
int  from 
)

Definition at line 182 of file grsetup.c.

References meshdef::nelms.

Referenced by ParMETIS_V3_Mesh2Dual().

void GraphRandomPermute ( GraphType  ) 

Definition at line 228 of file grsetup.c.

References graphdef::adjncy, graphdef::adjwgt, graphdef::nvtxs, and graphdef::xadj.

void ComputeMoveStatistics ( CtrlType ,
GraphType ,
int ,
int ,
int  
)

void InitTimers ( CtrlType  ) 

void PrintTimingInfo ( CtrlType  ) 

void PrintTimer ( CtrlType ,
timer  ,
char *   
)

void SetUp ( CtrlType ,
GraphType ,
WorkSpaceType  
)

int Home_PE ( int  ,
int  ,
idxtype ,
int   
)

void METIS_WPartGraphKway2 ( int ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int ,
int ,
int ,
floattype ,
int ,
int ,
idxtype  
)

void METIS_mCPartGraphRecursive2 ( int ,
int ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int ,
int ,
int ,
floattype ,
int ,
int ,
idxtype  
)

int MCMlevelRecursiveBisection2 ( CtrlType ,
GraphType ,
int  ,
floattype ,
idxtype ,
floattype  ,
int   
)

void METIS_mCPartGraphKway ( int ,
int ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int ,
int ,
int ,
floattype ,
int ,
int ,
idxtype  
)

void METIS_EdgeComputeSeparator ( int ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int ,
int ,
idxtype  
)

void METIS_NodeComputeSeparator ( int ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int ,
int ,
idxtype  
)

void METIS_NodeND ( int ,
idxtype ,
idxtype ,
int ,
int ,
idxtype ,
idxtype  
)

void METIS_NodeNDP ( int  ,
idxtype ,
idxtype ,
int  ,
int ,
idxtype ,
idxtype ,
idxtype  
)

void ParallelReadGraph ( GraphType ,
char *  ,
MPI_Comm   
)

void Moc_ParallelWriteGraph ( CtrlType ,
GraphType ,
char *  ,
int  ,
int   
)

void ReadTestGraph ( GraphType ,
char *  ,
MPI_Comm   
)

floattype* ReadTestCoordinates ( GraphType ,
char *  ,
int  ,
MPI_Comm   
)

void ReadMetisGraph ( char *  ,
int ,
idxtype **  ,
idxtype **   
)

void Moc_SerialReadGraph ( GraphType ,
char *  ,
int ,
MPI_Comm   
)

void Moc_SerialReadMetisGraph ( char *  ,
int ,
int ,
int ,
int ,
idxtype **  ,
idxtype **  ,
idxtype **  ,
idxtype **  ,
int  
)

void AdaptGraph ( GraphType ,
int  ,
MPI_Comm   
)

void AdaptGraph2 ( GraphType ,
int  ,
MPI_Comm   
)

void Mc_AdaptGraph ( GraphType ,
idxtype ,
int  ,
int  ,
MPI_Comm   
)

void TestParMetis ( char *  ,
MPI_Comm   
)

void TestParMetis_V3 ( char *  ,
MPI_Comm   
)

int ComputeRealCut ( idxtype ,
idxtype ,
char *  ,
MPI_Comm   
)

int ComputeRealCut2 ( idxtype ,
idxtype ,
idxtype ,
idxtype ,
char *  ,
MPI_Comm   
)

void TestMoveGraph ( GraphType ,
GraphType ,
idxtype ,
MPI_Comm   
)

GraphType* SetUpGraph ( CtrlType ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
idxtype ,
int   
)

void mienIO ( MeshType ,
char *  ,
int  ,
int  ,
MPI_Comm   
)

void ParallelReadMesh ( MeshType ,
char *  ,
MPI_Comm   
)

void ChangeToFortranNumbering ( idxtype ,
idxtype ,
idxtype ,
int  ,
int   
)


Generated on Tue May 22 07:44:30 2012 for Charm++ by  doxygen 1.5.5