ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
estmem.c File Reference
#include "metis.h"
Include dependency graph for estmem.c:

Go to the source code of this file.

Functions

void METIS_EstimateMemory (int *nvtxs, idxtype *xadj, idxtype *adjncy, int *numflag, int *optype, int *nbytes)
 
void EstimateCFraction (int nvtxs, idxtype *xadj, idxtype *adjncy, float *vfraction, float *efraction)
 
int ComputeCoarseGraphSize (int nvtxs, idxtype *xadj, idxtype *adjncy, int cnvtxs, idxtype *cmap, idxtype *match, idxtype *perm)
 

Function Documentation

◆ ComputeCoarseGraphSize()

int ComputeCoarseGraphSize ( int  nvtxs,
idxtype xadj,
idxtype adjncy,
int  cnvtxs,
idxtype cmap,
idxtype match,
idxtype perm 
)

Definition at line 111 of file estmem.c.

References GKfree, idxsmalloc, and LTERM.

Referenced by EstimateCFraction().

◆ EstimateCFraction()

void EstimateCFraction ( int  nvtxs,
idxtype xadj,
idxtype adjncy,
float *  vfraction,
float *  efraction 
)

Definition at line 66 of file estmem.c.

References ComputeCoarseGraphSize(), GKfree, idxmalloc, idxsmalloc, LTERM, RandomPermute, and UNMATCHED.

Referenced by METIS_EstimateMemory().

◆ METIS_EstimateMemory()

void METIS_EstimateMemory ( int *  nvtxs,
idxtype xadj,
idxtype adjncy,
int *  numflag,
int *  optype,
int *  nbytes 
)