"Fossies" - the Fresh Open Source Software Archive

Member "laspack/precond.h" (27 Mar 1995, 1608 Bytes) of package /linux/privat/old/laspack.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /****************************************************************************/
    2 /*                                precond.h                                 */
    3 /****************************************************************************/
    4 /*                                                                          */
    5 /* PRECONDitioners for iterative solvers of systems of linear equations     */
    6 /*                                                                          */
    7 /* Copyright (C) 1992-1995 Tomas Skalicky. All rights reserved.             */
    8 /*                                                                          */
    9 /****************************************************************************/
   10 /*                                                                          */
   11 /*        ANY USE OF THIS CODE CONSTITUTES ACCEPTANCE OF THE TERMS          */
   12 /*              OF THE COPYRIGHT NOTICE (SEE FILE COPYRGHT.H)               */
   13 /*                                                                          */
   14 /****************************************************************************/
   15 
   16 #ifndef PRECOND_H
   17 #define PRECOND_H
   18 
   19 #include "laspack/lastypes.h"
   20 #include "laspack/vector.h"
   21 #include "laspack/qmatrix.h"
   22 #include "laspack/copyrght.h"
   23 
   24 typedef Vector *(*PrecondProcType)(QMatrix *, Vector *, Vector *, double);
   25 
   26 /* declaration of preconditioners */
   27 
   28 Vector *JacobiPrecond(QMatrix *A, Vector *y, Vector *c, double Omega);
   29 Vector *SSORPrecond(QMatrix *A, Vector *y, Vector *c, double Omega);
   30 Vector *ILUPrecond(QMatrix *A, Vector *y, Vector *c, double Omega);
   31 
   32 #endif /* PRECOND_H */