The basic user interface of MLD2P4 consists of six routines. The four routines
mld_precaply encapsulate all the functionalities
for the setup and the application of any one-level and multi-level
preconditioner implemented in the package.
mld_precfree deallocates the preconditioner data structure, while
mld_precdescr prints a description of the preconditioner setup by the user.
For each routine, the same user interface is overloaded with respect to the real/complex case and the single/double precision; arguments with appropriate data types must be passed to the routine, i.e.
spmat_typewith x =
sfor real single precision, x =
dfor real double precision, x =
cfor complex single precision, x =
zfor complex double precision;
prec_type, with x =
z, according to the sparse matrix data structure;
), with type =
complexand kind_parameter =
kind(1.d0), according to the sparse matrix and preconditioner data structure; note that the PSBLAS module
psb_base_modprovides the constants