hp2FEM  0.1
Functions
src/metis-5.0/libmetis/options.c File Reference

This file contains various routines for dealing with options and ctrl_t. More...

#include "metislib.h"
Include dependency graph for options.c:

Functions

ctrl_tSetupCtrl (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)

Detailed Description

This file contains various routines for dealing with options and ctrl_t.

Date:
Started 5/12/2011
Author:
George
Copyright 1997-2011, Regents of the University of Minnesota
Version:
$Id: options.c 10492 2011-07-06 09:28:42Z karypis $ 

Function Documentation

int CheckParams ( ctrl_t ctrl)

This function checks the validity of user-supplied parameters

void FreeCtrl ( ctrl_t **  r_ctrl)

This function frees the memory associated with a ctrl_t

void PrintCtrl ( ctrl_t ctrl)

This function prints the various control fields

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

 All Classes Files Functions Variables Typedefs Friends Defines