next up previous contents
Next: Subroutine hierarchy_build Up: User Interface Previous: Subroutine set   Contents


Subroutine build

call p%build(a,desc_a,info)

This routine builds the one-level preconditioner p according to the requirements made by the user through the routines init and set (see Sections 6.4 and 6.5 for multi-level preconditioners).

Arguments

a type(psb_xspmat_type), intent(in).
  The sparse matrix structure containing the local part of the matrix to be preconditioned. Note that x must be chosen according to the real/complex, single/double precision version of MLD2P4 under use. See the PSBLAS User's Guide for details [17].
desc_a type(psb_desc_type), intent(in).
  The communication descriptor of a. See the PSBLAS User's Guide for details [17].
info integer, intent(out).
  Error code. If no error, 0 is returned. See Section 8 for details.

For compatibility with the previous versions of MLD2P4, this routine can be also invoked as follows:

call mld_precbld(p,what,val,info)

In this case, the routine can be used to build multi-level preconditioners too.


next up previous contents
Next: Subroutine hierarchy_build Up: User Interface Previous: Subroutine set   Contents