azk_create_precon.c File Reference

Creation routines for constructing a preconditioner for a Komplex matrix. More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "az_aztec.h"
#include "azk_komplex.h"

Include dependency graph for azk_create_precon.c:


Functions

void AZK_create_precon (int *options, double *params, int *proc_config, double *x, double *b, AZ_MATRIX *Amat, AZ_PRECOND **Prec)
 Create a Preconditioner for a Komplex matrix.

Detailed Description

Creation routines for constructing a preconditioner for a Komplex matrix.

KOMPLEX is an add-on module to AZTEC that allows users to solve complex-valued linear systems. As such, all Aztec preconditioners are available. To learn how to set preconditioner options, please see the Aztec 2.1 User Guide.


Function Documentation

void AZK_create_precon ( int *  options,
double *  params,
int *  proc_config,
double *  x,
double *  b,
AZ_MATRIX *  Amat,
AZ_PRECOND **  Prec 
)

Create a Preconditioner for a Komplex matrix.

Constructs a preconditioner for a Komplex matrix Amat. All preconditioning options available in Aztec are supported.

Parameters:
options (In) Determines specific preconditioner method and other parameters.
params (In) Drop tolerance and convergence tolerance info.
proc_config (In) Machine configuration. proc_config[AZ_node] is the node number. proc_config[AZ_N_procs] is the number of processors.
x (In/Out) Komplex version of initial guess and solution. May be modified depending on preconditioner options.
b (In/Out) Komplex version of RHS. May be modified depending on preconditioner options.
Amat (In) Komplex version of matrix stored as an AZ_MATRIX structure.
Prec (Out) Preconditioner for Amat stored as an AZ_PRECOND structure.


Generated on Wed May 12 21:41:14 2010 for Komplex by  doxygen 1.4.7