Fast Auxiliary Space Preconditioning  1.8.4 Feb/15/2016
interface_mumps.c File Reference

Interface to MUMPS direct solvers. More...

#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Macros

#define ICNTL(I)   icntl[(I)-1]
 

Functions

int fasp_solver_mumps (dCSRmat *ptrA, dvector *b, dvector *u, const SHORT prtlvl)
 Solve Ax=b by MUMPS directly. More...
 
int fasp_solver_mumps_steps (dCSRmat *ptrA, dvector *b, dvector *u, Mumps_data *mumps)
 Solve Ax=b by MUMPS in three steps. More...
 

Detailed Description

Interface to MUMPS direct solvers.

Reference for MUMPS: http://mumps.enseeiht.fr/

Definition in file interface_mumps.c.

Macro Definition Documentation

#define ICNTL (   I)    icntl[(I)-1]

macro s.t. indices match documentation

Definition at line 17 of file interface_mumps.c.

Function Documentation

int fasp_solver_mumps ( dCSRmat ptrA,
dvector b,
dvector u,
const SHORT  prtlvl 
)

Solve Ax=b by MUMPS directly.

Parameters
ptrAPointer to a dCSRmat matrix
bPointer to the dvector of right-hand side term
uPointer to the dvector of solution
prtlvlOutput level
Author
Chunsheng Feng
Date
02/27/2013

Modified by Chensong Zhang on 02/27/2013 for new FASP function names.

Definition at line 39 of file interface_mumps.c.

int fasp_solver_mumps_steps ( dCSRmat ptrA,
dvector b,
dvector u,
Mumps_data mumps 
)

Solve Ax=b by MUMPS in three steps.

Parameters
ptrAPointer to a dCSRmat matrix
bPointer to the dvector of right-hand side term
uPointer to the dvector of solution
mumpsPointer to MUMPS data
Author
Chunsheng Feng
Date
02/27/2013

Modified by Chensong Zhang on 02/27/2013 for new FASP function names. Modified by Zheng Li on 10/10/2014 to adjust input parameters.

Definition at line 169 of file interface_mumps.c.