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 |
Public Member Functions | |
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... | |
Public Attributes | |
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.
Definition at line 38 of file qrm_c_interface.F90.
subroutine _qrm_c_interface::_qrm_analyse_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char) | transp | ||
) |
C equivalent of the ::_qrm_analyse routine.
Definition at line 135 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) | transp, | ||
type(c_ptr) | b, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::_qrm_apply routine.
Definition at line 263 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) | transp | ||
) |
C equivalent of the ::_qrm_factorize routine.
Definition at line 167 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 197 of file qrm_c_interface.F90.
References _qrm_spmat_mod::qrm_get_r::_qrm_get_r().
subroutine _qrm_c_interface::_qrm_least_squares_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr) | b, | ||
type(c_ptr) | x, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::_qrm_least_squares routine.
Definition at line 392 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) | transp, | ||
alpha, | |||
type(c_ptr) | x, | ||
beta, | |||
type(c_ptr) | y, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::_qrm_matmul routine.
Definition at line 304 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) | ntype, | ||
nrm | |||
) |
C equivalent of the ::_qrm_matnrm routine.
Definition at line 342 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) | b, | ||
type(c_ptr) | x, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::_qrm_min_norm routine.
Definition at line 428 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 571 of file qrm_c_interface.F90.
References _qrm_spmat_mod::qrm_get::_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 596 of file qrm_c_interface.F90.
References _qrm_spmat_mod::qrm_get::_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) | val | ||
) |
C equivalent of the _qrm_spmat_mod::_qrm_pseti routine (only for global, integer type)
Definition at line 545 of file qrm_c_interface.F90.
References _qrm_spmat_mod::qrm_set::_qrm_pseti().
subroutine _qrm_c_interface::_qrm_residual_norm_c | ( | type(_qrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr) | b, | ||
type(c_ptr) | x, | ||
integer(c_int) | nrhs, | ||
type(c_ptr) | nrm | ||
) |
C equivalent of the ::_qrm_residual_norm routine.
Definition at line 465 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) | r, | ||
integer(c_int) | nrhs, | ||
type(c_ptr) | nrm | ||
) |
C equivalent of the ::_qrm_residual_orth routine.
Definition at line 504 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) | transp, | ||
type(c_ptr) | b, | ||
type(c_ptr) | x, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::_qrm_solve routine.
Definition at line 226 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 113 of file qrm_c_interface.F90.
References _qrm_spmat_mod::qrm_spmat_destroy::_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 88 of file qrm_c_interface.F90.
References _qrm_spmat_mod::qrm_spmat_init::_qrm_spmat_init().
subroutine _qrm_c_interface::_qrm_vecnrm_c | ( | type(c_ptr) | x, |
integer(c_int) | n, | ||
integer(c_int) | nrhs, | ||
character(kind=c_char) | ntype, | ||
type(c_ptr) | nrm | ||
) |
C equivalent of the ::_qrm_vecnrm routine.
Definition at line 370 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.