|
Komplex
Development
|
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"
Functions | |
| void | AZK_destroy_precon (int *options, double *params, int *proc_config, AZ_MATRIX *Amat, AZ_PRECOND **Prec) |
| Destroy a Komplex preconditioner. More... | |
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.
| 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.
| 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. |
1.8.5