spasol Class Reference

#include <spasol.h>

List of all members.

Public Member Functions

void backsubst (double *a, long *ci, long *adr, long ndof, double *x, double *y)
void numfact (double *a, long *ci, long *adr, long ndof)
 spasol ()
void symbfact (double *a, long *ci, long *adr, long ndof)
 ~spasol ()

Public Attributes

double ddum
int error
int idum
int iparm [64]
 spasol control parameters
int maxfct
int mnum
int msglvl
int mtype
int nCols
 number of columns
int nNonZeros
 number of nonzeros
int nrhs
 number of right hand sides
int nRows
 number of rows
int num_procs
int phase
void * pt [64]

Detailed Description

Definition at line 31 of file spasol.h.


Constructor & Destructor Documentation

spasol (  ) 

Definition at line 10 of file spasol.cpp.

References iparm, mtype, nCols, nNonZeros, nrhs, nRows, num_procs, pardisoinit_(), and pt.

~spasol (  ) 

Definition at line 45 of file spasol.cpp.


Member Function Documentation

void backsubst ( double *  a,
long *  ci,
long *  adr,
long  ndof,
double *  x,
double *  y 
)

function computes back substitution

Definition at line 134 of file spasol.cpp.

References error, idum, iparm, maxfct, mnum, msglvl, mtype, nrhs, PARDISO, phase, and pt.

void numfact ( double *  a,
long *  ci,
long *  adr,
long  ndof 
)

function computes numerical factorization

Definition at line 114 of file spasol.cpp.

References ddum, error, idum, iparm, maxfct, mnum, msglvl, mtype, nrhs, PARDISO, phase, and pt.

void symbfact ( double *  a,
long *  ci,
long *  adr,
long  ndof 
)

function computes symbolic factorization

Definition at line 53 of file spasol.cpp.

References ddum, error, idum, iparm, maxfct, mnum, msglvl, mtype, nCols, nNonZeros, nrhs, nRows, PARDISO, phase, and pt.


Member Data Documentation

double ddum

Definition at line 75 of file spasol.h.

Referenced by numfact(), and symbfact().

int error

Definition at line 73 of file spasol.h.

Referenced by backsubst(), numfact(), and symbfact().

int idum

Definition at line 76 of file spasol.h.

Referenced by backsubst(), numfact(), and symbfact().

int iparm[64]

spasol control parameters

Definition at line 72 of file spasol.h.

Referenced by backsubst(), numfact(), spasol(), and symbfact().

int maxfct

Definition at line 73 of file spasol.h.

Referenced by backsubst(), numfact(), and symbfact().

int mnum

Definition at line 73 of file spasol.h.

Referenced by backsubst(), numfact(), and symbfact().

int msglvl

Definition at line 73 of file spasol.h.

Referenced by backsubst(), numfact(), and symbfact().

int mtype

type of solved matrix mtype=11 - real unsymmetric matrix

Definition at line 64 of file spasol.h.

Referenced by backsubst(), numfact(), spasol(), and symbfact().

int nCols

number of columns

Definition at line 49 of file spasol.h.

Referenced by spasol(), and symbfact().

int nNonZeros

number of nonzeros

Definition at line 51 of file spasol.h.

Referenced by spasol(), and symbfact().

int nrhs

number of right hand sides

Definition at line 53 of file spasol.h.

Referenced by backsubst(), numfact(), spasol(), and symbfact().

int nRows

number of rows

Definition at line 47 of file spasol.h.

Referenced by spasol(), and symbfact().

int num_procs

Definition at line 55 of file spasol.h.

Referenced by spasol().

int phase

Definition at line 73 of file spasol.h.

Referenced by backsubst(), numfact(), and symbfact().

void* pt[64]

internal solver memory pointer pt 32-bit: int pt[64]; 64-bit: long int pt[64] or void *pt[64] should be OK on both architectures

Definition at line 69 of file spasol.h.

Referenced by backsubst(), numfact(), spasol(), and symbfact().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2