QR_MUMPS
|
This module contains the definition of the qr_mumps C interface. More...
Data Types | |
type | _qrm_spmat_type_c |
This is the main qr_mumps data type which is meant to hold all the information related to a matrix. It is equivalent to the _qrm_spmat_mod::_qrm_spmat_type Fortran type. More... | |
type | inst |
Functions/Subroutines | |
subroutine | _qrm_spmat_init_c (qrm_spmat_c) |
C equivalent of the _qrm_spmat_mod::_qrm_spmat_init routine. More... | |
subroutine | _qrm_spmat_destroy_c (qrm_spmat_c) |
C equivalent of the _qrm_spmat_mod::_qrm_spmat_destroy routine. More... | |
subroutine | _qrm_analyse_c (qrm_spmat_c, transp) |
C equivalent of the ::_qrm_analyse routine. More... | |
subroutine | _qrm_factorize_c (qrm_spmat_c, transp) |
C equivalent of the ::_qrm_factorize routine. More... | |
subroutine | _qrm_get_r_c (qrm_spmat_c, r_c) |
C equivalent of the ::_qrm_factorize routine. More... | |
subroutine | _qrm_solve_c (qrm_spmat_c, transp, b, x, nrhs) |
C equivalent of the ::_qrm_solve routine. More... | |
subroutine | _qrm_apply_c (qrm_spmat_c, transp, b, nrhs) |
C equivalent of the ::_qrm_apply routine. More... | |
subroutine | _qrm_matmul_c (qrm_spmat_c, transp, alpha, x, beta, y, nrhs) |
C equivalent of the ::_qrm_matmul routine. More... | |
subroutine | _qrm_matnrm_c (qrm_spmat_c, ntype, nrm) |
C equivalent of the ::_qrm_matnrm routine. More... | |
subroutine | _qrm_vecnrm_c (x, n, nrhs, ntype, nrm) |
C equivalent of the ::_qrm_vecnrm routine. More... | |
subroutine | _qrm_least_squares_c (qrm_spmat_c, b, x, nrhs) |
C equivalent of the ::_qrm_least_squares routine. More... | |
subroutine | _qrm_min_norm_c (qrm_spmat_c, b, x, nrhs) |
C equivalent of the ::_qrm_min_norm routine. More... | |
subroutine | _qrm_residual_norm_c (qrm_spmat_c, b, x, nrhs, nrm) |
C equivalent of the ::_qrm_residual_norm routine. More... | |
subroutine | _qrm_residual_orth_c (qrm_spmat_c, r, nrhs, nrm) |
C equivalent of the ::_qrm_residual_orth routine. More... | |
subroutine | _qrm_pseti_c (qrm_spmat_c, string, val) |
C equivalent of the _qrm_spmat_mod::_qrm_pseti routine (only for global, integer type) More... | |
subroutine | _qrm_pgeti_c (qrm_spmat_c, string, val) |
C equivalent of the _qrm_spmat_mod::_qrm_pgeti routine (only for global, integer type) More... | |
subroutine | _qrm_pgetii_c (qrm_spmat_c, string, val) |
C equivalent of the _qrm_spmat_mod::_qrm_pgetii routine (only for global, integer type) More... | |
Variables | |
integer, parameter | max_inst =10 |
type(inst), dimension(max_inst), save | spmat_array |
integer, save | ninst =0 |
This module contains the definition of the qr_mumps C interface.
subroutine _qrm_c_interface::_qrm_analyse_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), value | transp | ||
) |
C equivalent of the ::_qrm_analyse routine.
Definition at line 136 of file qrm_c_interface.F90.
References _qrm_analyse().
subroutine _qrm_c_interface::_qrm_apply_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), value | transp, | ||
type(c_ptr), value | b, | ||
integer(c_int), value | nrhs | ||
) |
C equivalent of the ::_qrm_apply routine.
Definition at line 264 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_factorize_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), value | transp | ||
) |
C equivalent of the ::_qrm_factorize routine.
Definition at line 168 of file qrm_c_interface.F90.
References _qrm_factorize().
subroutine _qrm_c_interface::_qrm_get_r_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
type(_qrm_spmat_type_c) | r_c | ||
) |
C equivalent of the ::_qrm_factorize routine.
Definition at line 198 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_least_squares_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr), value | b, | ||
type(c_ptr), value | x, | ||
integer(c_int), value | nrhs | ||
) |
C equivalent of the ::_qrm_least_squares routine.
Definition at line 393 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_matmul_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), value | transp, | ||
value | alpha, | ||
type(c_ptr), value | x, | ||
value | beta, | ||
type(c_ptr), value | y, | ||
integer(c_int), value | nrhs | ||
) |
C equivalent of the ::_qrm_matmul routine.
Definition at line 305 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_matnrm_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), value | ntype, | ||
nrm | |||
) |
C equivalent of the ::_qrm_matnrm routine.
Definition at line 343 of file qrm_c_interface.F90.
References _qrm_matnrm().
subroutine _qrm_c_interface::_qrm_min_norm_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr), value | b, | ||
type(c_ptr), value | x, | ||
integer(c_int), value | nrhs | ||
) |
C equivalent of the ::_qrm_min_norm routine.
Definition at line 429 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_pgeti_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), dimension(40) | string, | ||
integer(c_int) | val | ||
) |
C equivalent of the _qrm_spmat_mod::_qrm_pgeti routine (only for global, integer type)
Definition at line 572 of file qrm_c_interface.F90.
References _qrm_spmat_mod::_qrm_pgeti().
subroutine _qrm_c_interface::_qrm_pgetii_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), dimension(40) | string, | ||
integer(c_long_long) | val | ||
) |
C equivalent of the _qrm_spmat_mod::_qrm_pgetii routine (only for global, integer type)
Definition at line 597 of file qrm_c_interface.F90.
References _qrm_spmat_mod::_qrm_pgetii().
subroutine _qrm_c_interface::_qrm_pseti_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), dimension(40) | string, | ||
integer(c_int), value | val | ||
) |
C equivalent of the _qrm_spmat_mod::_qrm_pseti routine (only for global, integer type)
Definition at line 546 of file qrm_c_interface.F90.
References _qrm_spmat_mod::_qrm_pseti().
subroutine _qrm_c_interface::_qrm_residual_norm_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr), value | b, | ||
type(c_ptr), value | x, | ||
integer(c_int), value | nrhs, | ||
type(c_ptr), value | nrm | ||
) |
C equivalent of the ::_qrm_residual_norm routine.
Definition at line 466 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_residual_orth_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr), value | r, | ||
integer(c_int), value | nrhs, | ||
type(c_ptr), value | nrm | ||
) |
C equivalent of the ::_qrm_residual_orth routine.
Definition at line 505 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_solve_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), value | transp, | ||
type(c_ptr), value | b, | ||
type(c_ptr), value | x, | ||
integer(c_int), value | nrhs | ||
) |
C equivalent of the ::_qrm_solve routine.
Definition at line 227 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_spmat_destroy_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c | ) |
C equivalent of the _qrm_spmat_mod::_qrm_spmat_destroy routine.
Definition at line 114 of file qrm_c_interface.F90.
References _qrm_spmat_mod::_qrm_spmat_destroy().
subroutine _qrm_c_interface::_qrm_spmat_init_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c | ) |
C equivalent of the _qrm_spmat_mod::_qrm_spmat_init routine.
Definition at line 89 of file qrm_c_interface.F90.
References _qrm_spmat_mod::_qrm_spmat_init().
subroutine _qrm_c_interface::_qrm_vecnrm_c | ( | type(c_ptr), value | x, |
integer(c_int), value | n, | ||
integer(c_int), value | nrhs, | ||
character(kind=c_char), value | ntype, | ||
type(c_ptr), value | nrm | ||
) |
C equivalent of the ::_qrm_vecnrm routine.
Definition at line 371 of file qrm_c_interface.F90.
integer, parameter _qrm_c_interface::max_inst =10 |
Definition at line 80 of file qrm_c_interface.F90.
integer, save _qrm_c_interface::ninst =0 |
Definition at line 82 of file qrm_c_interface.F90.
Definition at line 81 of file qrm_c_interface.F90.