|
SU2
|
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 13901 2013-03-24 16:17:03Z karypis $
| int CheckParams | ( | ctrl_t * | ctrl | ) |
This function checks the validity of user-supplied parameters
| void PrintCtrl | ( | ctrl_t * | ctrl | ) |
This function prints the various control fields
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)
1.8.12