azk_destroy_precon.c File Reference

Destruction routine for deleting 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_destroy_precon.c:

Functions

void AZK_destroy_precon (int *options, double *params, int *proc_config, AZ_MATRIX *Amat, AZ_PRECOND **Prec)
 Destroy a Komplex preconditioner.

Detailed Description

Destruction routine for deleting 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_destroy_precon ( int *  options,
double *  params,
int *  proc_config,
AZ_MATRIX *  Amat,
AZ_PRECOND **  Prec 
)

Destroy a Komplex preconditioner.

Destroys a komplex preconditioner created by the AZK_create_preconditioner function. Deletes any memory allocated by creation routine.

Parameters:
options (In) Determines specific solution 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.
Amat (In) Komplex version of matrix stored as an AZ_MATRIX structure.
Prec (Out) Deleted komplex version of preconditioner stored as an AZ_PRECOND structure.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Generated on Wed Apr 13 09:58:52 2011 for Komplex by  doxygen 1.6.3