Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
XtrSuperlu.c File Reference

Interface to SuperLU direct solvers. More...

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

Go to the source code of this file.

Functions

int fasp_solver_superlu (dCSRmat *ptrA, dvector *b, dvector *u, const SHORT prtlvl)
 Solve Au=b by SuperLU. More...
 

Detailed Description

Interface to SuperLU direct solvers.

Reference for SuperLU: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/


Copyright (C) 2009–Present by the FASP team. All rights reserved.

Released under the terms of the GNU Lesser General Public License 3.0 or later.

Definition in file XtrSuperlu.c.

Function Documentation

◆ fasp_solver_superlu()

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

Solve Au=b by SuperLU.

Parameters
ptrAPointer to a dCSRmat matrix
bPointer to the dvector of right-hand side term
uPointer to the dvector of solution
prtlvlOutput level
Author
Xiaozhe Hu
Date
11/05/2009

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

Note
Factorization and solution are combined together!!! Not efficient!!!

Definition at line 47 of file XtrSuperlu.c.