Third sweep of changes from Pasqua/Daniela about the

preconditioners. Updated documentation.
psblas3-type-indexed
Salvatore Filippone 18 years ago
parent a5c24162b1
commit e25d2e1d67

@ -34,6 +34,7 @@ module psb_base_mod
use psb_penv_mod use psb_penv_mod
use psb_descriptor_type use psb_descriptor_type
use psb_serial_mod use psb_serial_mod
use psb_comm_mod
use psb_psblas_mod use psb_psblas_mod
use psb_tools_mod use psb_tools_mod
end module psb_base_mod end module psb_base_mod

@ -66,10 +66,11 @@ $ptype$ string as follows\footnote{The string is case-insensitive}:
\item[DIAG] Diagonal scaling; each entry of the input vector is \item[DIAG] Diagonal scaling; each entry of the input vector is
multiplied by the reciprocal of the sum of the absolute values of multiplied by the reciprocal of the sum of the absolute values of
the coefficients in the corresponding row of matrix $A$; the coefficients in the corresponding row of matrix $A$;
\item[ILU, BJA] Precondition by the incomplete LU factorization of the \item[BJAC] Precondition by a factorization of the
block-diagonal of matrix $A$, where block boundaries are determined block-diagonal of matrix $A$, where block boundaries are determined
by the data allocation boundaries for each process; requires no by the data allocation boundaries for each process; requires no
communication. Only $ILU(0)$ is currently implemented. communication. Only the incomplete factorization $ILU(0)$ is
currently implemented.
%% \item[AS] Additive Schwarz preconditioner (see~\cite{PARA04}); in this %% \item[AS] Additive Schwarz preconditioner (see~\cite{PARA04}); in this
%% case the user may specify additional flags through the integer %% case the user may specify additional flags through the integer
%% vector \verb|ir| as follows: %% vector \verb|ir| as follows:

@ -128,9 +128,7 @@ An integer value; 0 means no error has been detected.
This subroutine examines the edges of the graph associated with the This subroutine examines the edges of the graph associated with the
discretization mesh (and isomorphic to the sparsity pattern of a discretization mesh (and isomorphic to the sparsity pattern of a
linear system coefficient matrix), storing them as necessary into the linear system coefficient matrix), storing them as necessary into the
communication descriptor. It automatically ignores edges that do not communication descriptor.
insist on the current process, i.e. edges for which neither the starting
nor the end vertex belong to the current process.
\begin{description} \begin{description}
\item[\bf On Entry] \item[\bf On Entry]
@ -170,7 +168,10 @@ An integer value; 0 means no error has been detected.
\section*{Notes} \section*{Notes}
\begin{enumerate} \begin{enumerate}
\item This routine may only be called if the descriptor is in the \item This routine may only be called if the descriptor is in the
build state build state;
\item This routine automatically ignores edges that do not
insist on the current process, i.e. edges for which neither the starting
nor the end vertex belong to the current process.
\end{enumerate} \end{enumerate}

File diff suppressed because one or more lines are too long

@ -204,12 +204,12 @@ program df_sample
select case(iprec) select case(iprec)
case(noprec_) case(noprec_)
call psb_precset(pre,'noprec',info) call psb_precset(pre,'noprec',info)
case(diagsc_) case(diag_)
call psb_precset(pre,'diagsc',info) call psb_precset(pre,'diag',info)
case(bja_) case(bjac_)
call psb_precset(pre,'ilu',info) call psb_precset(pre,'bjac',info)
case default case default
call psb_precset(pre,'ilu',info) call psb_precset(pre,'bjac',info)
end select end select
! building the preconditioner ! building the preconditioner

@ -204,12 +204,12 @@ program zf_sample
select case(iprec) select case(iprec)
case(noprec_) case(noprec_)
call psb_precset(pre,'noprec',info) call psb_precset(pre,'noprec',info)
case(diagsc_) case(diag_)
call psb_precset(pre,'diagsc',info) call psb_precset(pre,'diag',info)
case(bja_) case(bjac_)
call psb_precset(pre,'ilu',info) call psb_precset(pre,'bjac',info)
case default case default
call psb_precset(pre,'ilu',info) call psb_precset(pre,'bjac',info)
end select end select
! building the preconditioner ! building the preconditioner

@ -155,12 +155,12 @@ program pde90
select case(iprec) select case(iprec)
case(noprec_) case(noprec_)
call psb_precset(pre,'noprec',info) call psb_precset(pre,'noprec',info)
case(diagsc_) case(diag_)
call psb_precset(pre,'diagsc',info) call psb_precset(pre,'diag',info)
case(bja_) case(bjac_)
call psb_precset(pre,'ilu',info) call psb_precset(pre,'bjac',info)
case default case default
call psb_precset(pre,'ilu',info) call psb_precset(pre,'bjac',info)
end select end select
call psb_barrier(ictxt) call psb_barrier(ictxt)

Loading…
Cancel
Save