mld_precset(p,what,val,info)
mld_precset(p,smoother,info)
mld_precset(p,solver,info)
This routine sets the parameters defining the preconditioner. More
precisely, the parameter identified by what is assigned the value
contained in val. The other two forms of this routine are
designed to allow extensions of the library by passing new smoothers
and solvers to be employed in the preconditioner.
Arguments
p |
type(mld_xprec_type), intent(inout). |
| The preconditioner data structure. Note that x must be chosen according to the real/complex, single/double precision version of MLD2P4 under use. | |
what |
integer, intent(in). |
| The number identifying the parameter to be set. A mnemonic constant has been associated to each of these numbers, as reported in Tables 2-5. | |
val |
integer or character(len=*) or
real(psb_spk_) or real(psb_dpk_),
intent(in). |
The value of the parameter to be set. The list of allowed
values and the corresponding data types is given in
Tables 2-5.
When the value is of type character(len=*),
it is also treated as case insensitive. |
|
smoother |
class(mld_x_base_smoother_type) |
| The user-defined new smoother to be employed in the preconditioner. | |
solver |
class(mld_x_base_solver_type) |
| The user-defined new solver to be employed in the preconditioner. | |
info |
integer, intent(out). |
| Error code. If no error, 0 is returned. See Section 7 for details. |
A variety of (one-level and multi-level) preconditioners can be obtained
by a suitable setting of the preconditioner parameters. These parameters
can be logically divided into four groups, i.e. parameters defining
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||