|
hp2FEM
0.1
|
This file contains various routines for dealing with options and ctrl_t. More...
#include "metislib.h"
Functions | |
| ctrl_t * | SetupCtrl (moptype_et optype, idx_t *options, idx_t ncon, idx_t nparts, real_t *tpwgts, real_t *ubvec) |
| void | SetupKWayBalMultipliers (ctrl_t *ctrl, graph_t *graph) |
| void | Setup2WayBalMultipliers (ctrl_t *ctrl, graph_t *graph, real_t *tpwgts) |
| void | PrintCtrl (ctrl_t *ctrl) |
| int | CheckParams (ctrl_t *ctrl) |
| void | FreeCtrl (ctrl_t **r_ctrl) |
This file contains various routines for dealing with options and ctrl_t.
$Id: options.c 10492 2011-07-06 09:28:42Z karypis $
| int CheckParams | ( | ctrl_t * | ctrl | ) |
This function checks the validity of user-supplied parameters
| void Setup2WayBalMultipliers | ( | ctrl_t * | ctrl, |
| graph_t * | graph, | ||
| real_t * | tpwgts | ||
| ) |
Computes the per-partition/constraint balance multipliers
| ctrl_t* SetupCtrl | ( | moptype_et | optype, |
| idx_t * | options, | ||
| idx_t | ncon, | ||
| idx_t | nparts, | ||
| real_t * | tpwgts, | ||
| real_t * | ubvec | ||
| ) |
This function creates and sets the run parameters (ctrl_t)
| void SetupKWayBalMultipliers | ( | ctrl_t * | ctrl, |
| graph_t * | graph | ||
| ) |
Computes the per-partition/constraint balance multipliers
1.7.6.1