5.3 Method hierarchy_build

call p%hierarchy_build(a,desc_a,info)

This method builds the hierarchy of matrices and restriction/prolongation operators for the multilevel preconditioner p, according to the requirements made by the user through the methods init and set.

Arguments

a

a

>>>>>> development class="cmtt-12">type(psb_xspmat_type), intent(in).

>>>>>> development class="cmr-12">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 AMG4PSBLAS under use. See the PSBLAS User’s Guide for details [20].

desc_a

desc_a

>>>>>> development class="cmtt-12">type(psb_desc_type), intent(in).

>>>>>> development class="cmr-12">The communication descriptor of a. See the PSBLAS User’s Guide for details [20].

info

info

>>>>>> development class="cmtt-12">integer, intent(out).

>>>>>> development class="cmr-12">Error code. If no error, 0 is returned. See Section 7 for details.

amold

class(psb_x_base_sparse_mat), intent(in), optional.

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 [20].

vmold

class(psb_x_base_vect_type), intent(in), optional.

The desired dynamic type for internal vector components; this allows e.g. running on GPUs.

imold

class(psb_i_base_vect_type), intent(in), optional.

The desired dynamic type for internal integer vector components; this allows e.g. running on GPUs.

>>>>>> development class="td11">