hp2FEM
0.1
|
Driving routines for multilevel k-way refinement. More...
#include "metislib.h"
Functions | |
void | RefineKWay (ctrl_t *ctrl, graph_t *orggraph, graph_t *graph) |
void | AllocateKWayPartitionMemory (ctrl_t *ctrl, graph_t *graph) |
void | ComputeKWayPartitionParams (ctrl_t *ctrl, graph_t *graph) |
void | ProjectKWayPartition (ctrl_t *ctrl, graph_t *graph) |
void | ComputeKWayBoundary (ctrl_t *ctrl, graph_t *graph, idx_t bndtype) |
void | ComputeKWayVolGains (ctrl_t *ctrl, graph_t *graph) |
int | IsBalanced (ctrl_t *ctrl, graph_t *graph, real_t ffactor) |
Driving routines for multilevel k-way refinement.
void AllocateKWayPartitionMemory | ( | ctrl_t * | ctrl, |
graph_t * | graph | ||
) |
This function allocates memory for the k-way cut-based refinement
void ComputeKWayBoundary | ( | ctrl_t * | ctrl, |
graph_t * | graph, | ||
idx_t | bndtype | ||
) |
This function computes the boundary definition for balancing.
void ComputeKWayPartitionParams | ( | ctrl_t * | ctrl, |
graph_t * | graph | ||
) |
This function computes the initial id/ed for cut-based partitioning
void ComputeKWayVolGains | ( | ctrl_t * | ctrl, |
graph_t * | graph | ||
) |
This function computes the initial gains in the communication volume
int IsBalanced | ( | ctrl_t * | ctrl, |
graph_t * | graph, | ||
real_t | ffactor | ||
) |
This function checks if the partition weights are within the balance contraints
void ProjectKWayPartition | ( | ctrl_t * | ctrl, |
graph_t * | graph | ||
) |
This function projects a partition, and at the same time computes the parameters for refinement.
void RefineKWay | ( | ctrl_t * | ctrl, |
graph_t * | orggraph, | ||
graph_t * | graph | ||
) |
This function is the entry point of cut-based refinement