call p%build(a,desc_a,info[,amold,vmold,imold])
This method builds the preconditioner p
according to the requirements made by the
user through the methods init
and set
(see Sections 5.3 and 5.4 for multilevel
preconditioners). It is mostly provided for backward compatibility; indeed, it is
internally implemented by invoking the two previous methods hierarchy_build
and
smoothers_build
, whose nomenclature would however be somewhat unnatural when
dealing with simple one-level preconditioners.
Arguments
|
|
| The sparse matrix structure containing the local part of the matrix
to be preconditioned. Note that x must be chosen according to the
|
|
|
| The communication descriptor of |
|
|
| Error code. If no error, 0 is returned. See Section 7 for details. |
|
|
| The desired dynamic type for internal matrix components; this allows e.g. running on GPUs; it needs not be the same on all processes. See the PSBLAS User’s Guide for details [21]. |
|
|
| The desired dynamic type for internal vector components; this allows e.g. running on GPUs. |
|
|
| The desired dynamic type for internal integer vector components; this allows e.g. running on GPUs. |
The method can be used to build multilevel preconditioners too.