Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
procedure(func), | public, | pointer, nopass | :: | f_ptr | => | null() | Pointer of a function |
character(len=20), | public | :: | fname | = | 'EXP' | Name of the function |
|
integer(kind=psb_ipk_), | public | :: | padedegree | = | 6_psb_ipk_ | Degree of Padé expansion |
|
integer(kind=psb_ipk_), | public | :: | phiorder | = | 1_psb_ipk_ | Order of the -function |
|
real(kind=psb_dpk_), | public | :: | scaling | = | 1.0_psb_dpk_ | of |
|
character(len=20), | public | :: | variant | = | 'EXPOKIT' | Implementatio variant |
This is the core of the function apply on a serial matrix to compute . It calls on the specific routines implementing the different functions. It is the function to modify if ones want to interface a new function that was not previously available or a new algorithm (variant) for an already existing function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function information |
||
real(kind=psb_dpk_), | intent(in) | :: | a(:,:) | Matrix |
||
real(kind=psb_dpk_), | intent(out) | :: | y(:) | Output vector |
||
real(kind=psb_dpk_), | intent(in) | :: | x(:) | Input vector |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Information on the output |
This is the core of the function apply on a serial matrix to compute when A is memorized in a sparse storage. In this case the routine converts it to a dense storage and then calls the array version of itself. That is the one implementing the different functions. It is the function to modify if ones want to interface a new function that was not previously available or a new algorithm (variant) for an already existing function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function information |
||
type(psb_dspmat_type), | intent(inout) | :: | a | Matrix |
||
real(kind=psb_dpk_), | intent(out) | :: | y(:) | Output vector |
||
real(kind=psb_dpk_), | intent(in) | :: | x(:) | Input vector |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Information on the output |
This is the core of the function apply on a serial matrix to compute . It calls on the specific routines implementing the different functions. It is the function to modify if ones want to interface a new function that was not previously available or a new algorithm (variant) for an already existing function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function information |
||
real(kind=psb_dpk_), | intent(in) | :: | a(:,:) | Matrix |
||
real(kind=psb_dpk_), | intent(out) | :: | y(:) | Output vector |
||
real(kind=psb_dpk_), | intent(in) | :: | x(:) | Input vector |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Information on the output |
This is the core of the function apply on a serial matrix to compute when A is memorized in a sparse storage. In this case the routine converts it to a dense storage and then calls the array version of itself. That is the one implementing the different functions. It is the function to modify if ones want to interface a new function that was not previously available or a new algorithm (variant) for an already existing function.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function information |
||
type(psb_dspmat_type), | intent(inout) | :: | a | Matrix |
||
real(kind=psb_dpk_), | intent(out) | :: | y(:) | Output vector |
||
real(kind=psb_dpk_), | intent(in) | :: | x(:) | Input vector |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Information on the output |
Set function for setting options defined by a string
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
character(len=*), | intent(in) | :: | val | Value of the string |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
Set function for setting options defined by a real
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
real(kind=psb_dpk_), | intent(in) | :: | val | Real Value of the option |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
Set function for setting options defined by an integer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
integer(kind=psb_ipk_), | intent(in) | :: | val | Integer Value of the option |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
To set the function pointer inside the type
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
procedure(func) | :: | val | Function to set |
|||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
To set the function pointer inside the type
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
procedure(func) | :: | val | Function to set |
|||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
Set function for setting options defined by an integer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
integer(kind=psb_ipk_), | intent(in) | :: | val | Integer Value of the option |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
Set function for setting options defined by a real
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
real(kind=psb_dpk_), | intent(in) | :: | val | Real Value of the option |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
Set function for setting options defined by a string
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
character(len=*), | intent(in) | :: | what | String of option to set |
||
character(len=*), | intent(in) | :: | val | Value of the string |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |