QR_MUMPS
Data Types | Functions/Subroutines | Variables
dqrm_c_interface Module Reference

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
 

Functions/Subroutines

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...
 

Variables

integer, parameter max_inst =10
 
type(inst), dimension(max_inst), save spmat_array
 
integer, save ninst =0
 

Detailed Description

This module contains the definition of the qr_mumps C interface.

Function/Subroutine Documentation

subroutine dqrm_c_interface::dqrm_analyse_c ( type(dqrm_spmat_type_c qrm_spmat_c,
character(kind=c_char), value  transp 
)

C equivalent of the ::dqrm_analyse routine.

Definition at line 136 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), value  transp,
type(c_ptr), value  b,
integer(c_int), value  nrhs 
)

C equivalent of the ::dqrm_apply routine.

Definition at line 264 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), value  transp 
)

C equivalent of the ::dqrm_factorize routine.

Definition at line 168 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 198 of file dqrm_c_interface.F90.

subroutine dqrm_c_interface::dqrm_least_squares_c ( type(dqrm_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 ::dqrm_least_squares routine.

Definition at line 393 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), value  transp,
real(c_double), value  alpha,
type(c_ptr), value  x,
real(c_double), value  beta,
type(c_ptr), value  y,
integer(c_int), value  nrhs 
)

C equivalent of the ::dqrm_matmul routine.

Definition at line 305 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), value  ntype,
real(c_double)  nrm 
)

C equivalent of the ::dqrm_matnrm routine.

Definition at line 343 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), value  b,
type(c_ptr), value  x,
integer(c_int), value  nrhs 
)

C equivalent of the ::dqrm_min_norm routine.

Definition at line 429 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 572 of file dqrm_c_interface.F90.

References dqrm_spmat_mod::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 597 of file dqrm_c_interface.F90.

References dqrm_spmat_mod::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), value  val 
)

C equivalent of the dqrm_spmat_mod::dqrm_pseti routine (only for global, integer type)

Definition at line 546 of file dqrm_c_interface.F90.

References dqrm_spmat_mod::dqrm_pseti().

subroutine dqrm_c_interface::dqrm_residual_norm_c ( type(dqrm_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 ::dqrm_residual_norm routine.

Definition at line 466 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), value  r,
integer(c_int), value  nrhs,
type(c_ptr), value  nrm 
)

C equivalent of the ::dqrm_residual_orth routine.

Definition at line 505 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), value  transp,
type(c_ptr), value  b,
type(c_ptr), value  x,
integer(c_int), value  nrhs 
)

C equivalent of the ::dqrm_solve routine.

Definition at line 227 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 114 of file dqrm_c_interface.F90.

References dqrm_spmat_mod::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 89 of file dqrm_c_interface.F90.

References dqrm_spmat_mod::dqrm_spmat_init().

subroutine dqrm_c_interface::dqrm_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 ::dqrm_vecnrm routine.

Definition at line 371 of file dqrm_c_interface.F90.

Variable Documentation

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.

type(inst), dimension(max_inst), save dqrm_c_interface::spmat_array

Definition at line 81 of file dqrm_c_interface.F90.