51 #include "az_ifpack.h"
53 void AZ_ifpack_prec_destroy(
int *options,
double *params,
int *proc_config,
54 AZ_MATRIX *Amat, AZ_PRECOND *Prec)
59 Prec_pass_data = (
AZ_IFPACK *) Prec->Pmat->aux_ptr;
61 precon = Prec_pass_data->precon;
62 bmat = Prec_pass_data->bmat;
63 options[AZ_precond] = Prec_pass_data->user_precon;
70 ifp_freepreconditioner(precon);
75 AZ_free((
void *) Prec_pass_data);