This module contains the definition of the qr_mumps C interface. More...
Data Types | |
type | dqrm_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 dqrm_spmat_mod::dqrm_spmat_type Fortran type. More... | |
type | inst |
Public Member Functions | |
subroutine | dqrm_spmat_init_c (qrm_spmat_c) |
C equivalent of the dqrm_spmat_mod::dqrm_spmat_init routine. More... | |
subroutine | dqrm_spmat_destroy_c (qrm_spmat_c) |
C equivalent of the dqrm_spmat_mod::dqrm_spmat_destroy routine. More... | |
subroutine | dqrm_analyse_c (qrm_spmat_c, transp) |
C equivalent of the ::dqrm_analyse routine. More... | |
subroutine | dqrm_factorize_c (qrm_spmat_c, transp) |
C equivalent of the ::dqrm_factorize routine. More... | |
subroutine | dqrm_get_r_c (qrm_spmat_c, r_c) |
C equivalent of the ::dqrm_factorize routine. More... | |
subroutine | dqrm_solve_c (qrm_spmat_c, transp, b, x, nrhs) |
C equivalent of the ::dqrm_solve routine. More... | |
subroutine | dqrm_apply_c (qrm_spmat_c, transp, b, nrhs) |
C equivalent of the ::dqrm_apply routine. More... | |
subroutine | dqrm_matmul_c (qrm_spmat_c, transp, alpha, x, beta, y, nrhs) |
C equivalent of the ::dqrm_matmul routine. More... | |
subroutine | dqrm_matnrm_c (qrm_spmat_c, ntype, nrm) |
C equivalent of the ::dqrm_matnrm routine. More... | |
subroutine | dqrm_vecnrm_c (x, n, nrhs, ntype, nrm) |
C equivalent of the ::dqrm_vecnrm routine. More... | |
subroutine | dqrm_least_squares_c (qrm_spmat_c, b, x, nrhs) |
C equivalent of the ::dqrm_least_squares routine. More... | |
subroutine | dqrm_min_norm_c (qrm_spmat_c, b, x, nrhs) |
C equivalent of the ::dqrm_min_norm routine. More... | |
subroutine | dqrm_residual_norm_c (qrm_spmat_c, b, x, nrhs, nrm) |
C equivalent of the ::dqrm_residual_norm routine. More... | |
subroutine | dqrm_residual_orth_c (qrm_spmat_c, r, nrhs, nrm) |
C equivalent of the ::dqrm_residual_orth routine. More... | |
subroutine | dqrm_pseti_c (qrm_spmat_c, string, val) |
C equivalent of the dqrm_spmat_mod::dqrm_pseti routine (only for global, integer type) More... | |
subroutine | dqrm_pgeti_c (qrm_spmat_c, string, val) |
C equivalent of the dqrm_spmat_mod::dqrm_pgeti routine (only for global, integer type) More... | |
subroutine | dqrm_pgetii_c (qrm_spmat_c, string, val) |
C equivalent of the dqrm_spmat_mod::dqrm_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 dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_analyse_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char) | transp | ||
) |
C equivalent of the ::dqrm_analyse routine.
Definition at line 135 of file dqrm_c_interface.F90.
References dqrm_analyse().
subroutine dqrm_c_interface::dqrm_apply_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char) | transp, | ||
type(c_ptr) | b, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::dqrm_apply routine.
Definition at line 263 of file dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_factorize_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char) | transp | ||
) |
C equivalent of the ::dqrm_factorize routine.
Definition at line 167 of file dqrm_c_interface.F90.
References dqrm_factorize().
subroutine dqrm_c_interface::dqrm_get_r_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
type(dqrm_spmat_type_c) | r_c | ||
) |
C equivalent of the ::dqrm_factorize routine.
Definition at line 197 of file dqrm_c_interface.F90.
References dqrm_spmat_mod::qrm_get_r::dqrm_get_r().
subroutine dqrm_c_interface::dqrm_least_squares_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr) | b, | ||
type(c_ptr) | x, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::dqrm_least_squares routine.
Definition at line 392 of file dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_matmul_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char) | transp, | ||
real(c_double) | alpha, | ||
type(c_ptr) | x, | ||
real(c_double) | beta, | ||
type(c_ptr) | y, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::dqrm_matmul routine.
Definition at line 304 of file dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_matnrm_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char) | ntype, | ||
real(c_double) | nrm | ||
) |
C equivalent of the ::dqrm_matnrm routine.
Definition at line 342 of file dqrm_c_interface.F90.
References dqrm_matnrm().
subroutine dqrm_c_interface::dqrm_min_norm_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr) | b, | ||
type(c_ptr) | x, | ||
integer(c_int) | nrhs | ||
) |
C equivalent of the ::dqrm_min_norm routine.
Definition at line 428 of file dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_pgeti_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), dimension(40) | string, | ||
integer(c_int) | val | ||
) |
C equivalent of the dqrm_spmat_mod::dqrm_pgeti routine (only for global, integer type)
Definition at line 571 of file dqrm_c_interface.F90.
References dqrm_spmat_mod::qrm_get::dqrm_pgeti().
subroutine dqrm_c_interface::dqrm_pgetii_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), dimension(40) | string, | ||
integer(c_long_long) | val | ||
) |
C equivalent of the dqrm_spmat_mod::dqrm_pgetii routine (only for global, integer type)
Definition at line 596 of file dqrm_c_interface.F90.
References dqrm_spmat_mod::qrm_get::dqrm_pgetii().
subroutine dqrm_c_interface::dqrm_pseti_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
character(kind=c_char), dimension(40) | string, | ||
integer(c_int) | val | ||
) |
C equivalent of the dqrm_spmat_mod::dqrm_pseti routine (only for global, integer type)
Definition at line 545 of file dqrm_c_interface.F90.
References dqrm_spmat_mod::qrm_set::dqrm_pseti().
subroutine dqrm_c_interface::dqrm_residual_norm_c | ( | type(dqrm_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 ::dqrm_residual_norm routine.
Definition at line 465 of file dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_residual_orth_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c, |
type(c_ptr) | r, | ||
integer(c_int) | nrhs, | ||
type(c_ptr) | nrm | ||
) |
C equivalent of the ::dqrm_residual_orth routine.
Definition at line 504 of file dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_solve_c | ( | type(dqrm_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 ::dqrm_solve routine.
Definition at line 226 of file dqrm_c_interface.F90.
subroutine dqrm_c_interface::dqrm_spmat_destroy_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c | ) |
C equivalent of the dqrm_spmat_mod::dqrm_spmat_destroy routine.
Definition at line 113 of file dqrm_c_interface.F90.
References dqrm_spmat_mod::qrm_spmat_destroy::dqrm_spmat_destroy().
subroutine dqrm_c_interface::dqrm_spmat_init_c | ( | type(dqrm_spmat_type_c) | qrm_spmat_c | ) |
C equivalent of the dqrm_spmat_mod::dqrm_spmat_init routine.
Definition at line 88 of file dqrm_c_interface.F90.
References dqrm_spmat_mod::qrm_spmat_init::dqrm_spmat_init().
subroutine dqrm_c_interface::dqrm_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 ::dqrm_vecnrm routine.
Definition at line 370 of file dqrm_c_interface.F90.
integer, parameter dqrm_c_interface::max_inst =10 |
Definition at line 80 of file dqrm_c_interface.F90.
integer, save dqrm_c_interface::ninst =0 |
Definition at line 82 of file dqrm_c_interface.F90.
Definition at line 81 of file dqrm_c_interface.F90.