dBPACK_wrapper.f90 File Reference

Modules

module  d_bpack_wrapper
 

Functions/Subroutines

subroutine d_bpack_wrapper::d_matvec_user_c (trans, M, N, num_vect, Vin, Vout, ker)
 ****** Fortran interface for the matvec function required by d_BPACK_construction_Matvec, inside which a c++ function pointer kerC_FuncHMatVec is called
******! It is assumed the kerC_FuncHMatVec interfaces with local input and output vectors, which assume an already ordered hierarchical matrix More...
 
subroutine d_bpack_wrapper::d_matvec_user_c_md (Ndim, trans, M, N, num_vect, Vin, Vout, ker)
 ****** Fortran interface for the matvec function required by d_BPACK_construction_Matvec, inside which a c++ function pointer kerC_FuncHMatVec is called
******! It is assumed the kerC_FuncHMatVec interfaces with local input and output vectors, which assume an already ordered hierarchical matrix More...
 
subroutine d_bpack_wrapper::d_bmatvec_user_c (ker, block_o, trans, M, N, num_vect, Vin, ldi, Vout, ldo, a, b, ptree, stats, operand1)
 ****** Fortran interface for the matvec function required by d_BF_randomized, inside which a c++ function pointer kerC_FuncBMatVec is called
******! It is assumed the kerC_FuncBMatVec does not need ldi and ldo!
******! It is assumed the kerC_FuncBMatVec interfaces with local input and output vectors, which assume already ordered rows/columns More...
 
subroutine d_bpack_wrapper::d_c_bpack_createptree (nmpi, groupmembers, MPIcomm, ptree_Cptr)
 **** C interface of process tree construction More...
 
subroutine d_bpack_wrapper::d_c_bpack_createstats (stats_Cptr)
 **** C interface of initializing statistics More...
 
subroutine d_bpack_wrapper::d_c_bpack_getstats (stats_Cptr, nam, val_d)
 **** C interface of getting one entry in stats More...
 
subroutine d_bpack_wrapper::d_c_bpack_printstats (stats_Cptr, ptree_Cptr)
 **** C interface of printing statistics More...
 
subroutine d_bpack_wrapper::d_c_bpack_createoption (option_Cptr)
 **** C interface of initializing option More...
 
subroutine d_bpack_wrapper::d_c_bpack_copyoption (option_Cptr, option_Cptr1)
 **** C interface of copy option More...
 
subroutine d_bpack_wrapper::d_c_bpack_printoption (option_Cptr, ptree_Cptr)
 **** C interface of printing option More...
 
subroutine d_bpack_wrapper::d_c_bpack_getoption (option_Cptr, nam, val_d)
 **** C interface of getting one entry in option, always returning double More...
 
subroutine d_bpack_wrapper::d_c_bpack_setoption (option_Cptr, nam, val_Cptr)
 **** C interface of set one entry in option More...
 
subroutine d_bpack_wrapper::d_c_bpack_construct_element_compute (bmat_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncZmn, C_FuncZmnBlock, C_QuantApp)
 **** C interface of matrix construction More...
 
subroutine d_bpack_wrapper::d_c_bpack_md_construct_element_compute (Ndim, bmat_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncZmn_MD, C_QuantApp)
 **** C interface of tensor construction More...
 
subroutine d_bpack_wrapper::d_c_bpack_construct_init (N, Ndim, Locations, nns, nlevel, tree, Permutation, N_loc, bmat_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncDistmn, C_FuncNearFar, C_QuantApp)
 **** C interface of matrix construction via entry evaluation More...
 
subroutine d_bpack_wrapper::d_c_bpack_md_construct_init (Ns, Nmax, Ndim, Locations, Permutation, N_loc, bmat_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncNearFar_MD, C_QuantApp)
 **** C interface of multi-dimensional BF construction via entry evaluation More...
 
subroutine d_bpack_wrapper::d_c_bpack_new2old (msh_Cptr, newidx_loc, oldidx)
 **** C interface of converting from new,local index to old, global index, the indexs start from 1 More...
 
subroutine d_bpack_wrapper::d_c_bpack_md_new2old (Ndim, msh_Cptr, newidx_loc, oldidx)
 **** C interface of converting from new,local index to old, global index, the indexs start from 1. Both newidx_loc and oldidx are Ndim dimensional. More...
 
subroutine d_bpack_wrapper::d_c_singleindextomultiindex (Ndim, dims, single_index_in, multi_index)
 **** C interface of Fortran subroutine d_SingleIndexToMultiIndex for converting single index to multi-index More...
 
subroutine d_bpack_wrapper::d_c_multiindextosingleindex (Ndim, dims, single_index_in, multi_index)
 **** C interface of Fortran subroutine d_MultiIndexToSingleIndex for converting multi-index to single index More...
 
subroutine d_bpack_wrapper::d_c_bf_new2old_row (mshr_Cptr, newidx_loc, oldidx)
 **** C interface of converting from new,local index to old, global index, the indexs start from 1 More...
 
subroutine d_bpack_wrapper::d_c_bf_new2old_col (mshc_Cptr, newidx_loc, oldidx)
 **** C interface of converting from new,local index to old, global index, the indexs start from 1 More...
 
subroutine d_bpack_wrapper::d_c_bpack_construct_init_gram (N, Ndim, Locations, nns, nlevel, tree, Permutation, N_loc, bmat_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncZmn, C_FuncZmnBlock, C_QuantApp)
 **** C interface of matrix construction via entry evaluation and using it for gram distance More...
 
subroutine d_bpack_wrapper::d_c_bpack_construct_matvec_compute (bmat_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncHMatVec, C_QuantApp)
 **** C interface of matrix construction via blackbox matvec More...
 
subroutine d_bpack_wrapper::d_c_bf_construct_init (M, N, M_loc, N_loc, nnsr, nnsc, mshr_Cptr, mshc_Cptr, bf_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncDistmn, C_FuncNearFar, C_QuantApp)
 **** C interface of BF construction via blackbox matvec or entry extraction More...
 
subroutine d_bpack_wrapper::d_c_bf_construct_matvec_compute (bf_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncBMatVec, C_QuantApp)
 **** C interface of BF construction via blackbox matvec More...
 
subroutine d_bpack_wrapper::d_c_bf_construct_element_compute (bf_Cptr, option_Cptr, stats_Cptr, msh_Cptr, ker_Cptr, ptree_Cptr, C_FuncZmn, C_FuncZmnBlock, C_QuantApp)
 **** C interface of BF construction via entry extraction More...
 
subroutine d_bpack_wrapper::d_c_bpack_factor (bmat_Cptr, option_Cptr, stats_Cptr, ptree_Cptr, msh_Cptr)
 **** C interface of BPACK factorization More...
 
subroutine d_bpack_wrapper::d_c_bpack_solve (x, b, Nloc, Nrhs, bmat_Cptr, option_Cptr, stats_Cptr, ptree_Cptr)
 **** C interface of BPACK solve More...
 
subroutine d_bpack_wrapper::d_c_bpack_md_solve (Ndim, x, b, Nloc, Nrhs, bmat_Cptr, option_Cptr, stats_Cptr, ptree_Cptr, msh_Cptr)
 **** C interface of H-tensor solve More...
 
subroutine d_bpack_wrapper::d_c_bpack_tfqmr_noprecon (x, b, Nloc, Nrhs, option_Cptr, stats_Cptr, ptree_Cptr, ker_Cptr, C_FuncHMatVec, C_QuantApp)
 **** C interface of a blackbox tfqmr without preconditioner, or assuming preconditioner is applied in the blackbox matvec More...
 
subroutine d_bpack_wrapper::d_c_bpack_md_tfqmr_noprecon (Ndim, x, b, Nloc, Nrhs, option_Cptr, stats_Cptr, ptree_Cptr, ker_Cptr, C_FuncHMatVec_MD, C_QuantApp)
 **** C interface of a blackbox tfqmr without preconditioner, or assuming preconditioner is applied in the blackbox matvec (tensor) More...
 
subroutine d_bpack_wrapper::d_c_bf_mult (trans, xin, xout, Ninloc, Noutloc, Ncol, bf_for_Cptr, option_Cptr, stats_Cptr, ptree_Cptr)
 **** C interface of butterfly-vector multiplication More...
 
subroutine d_bpack_wrapper::d_c_bf_extractelement (block_Cptr, option_Cptr, msh_Cptr, stats_Cptr, ptree_Cptr, Ninter, Nallrows, Nallcols, Nalldat_loc, allrows, allcols, alldat_loc, rowidx, colidx, pgidx, Npmap, pmaps)
 **** C interface of parallel extraction of a d_list of intersections from a block More...
 
subroutine d_bpack_wrapper::d_c_bpack_extractelement (bmat_Cptr, option_Cptr, msh_Cptr, stats_Cptr, ptree_Cptr, Ninter, Nallrows, Nallcols, Nalldat_loc, allrows, allcols, alldat_loc, rowidx, colidx, pgidx, Npmap, pmaps)
 **** C interface of parallel extraction of a d_list of intersections from a Bmat matrix More...
 
subroutine d_bpack_wrapper::d_c_bpack_mult (trans, xin, xout, Ninloc, Noutloc, Ncol, bmat_Cptr, option_Cptr, stats_Cptr, ptree_Cptr)
 **** C interface of BPACK-vector multiplication More...
 
subroutine d_bpack_wrapper::d_c_bpack_md_mult (Ndim, trans, xin, xout, Ninloc, Noutloc, Ncol, bmat_Cptr, option_Cptr, stats_Cptr, ptree_Cptr, msh_Cptr)
 **** C interface of d_BPACK_MD_Mult for BPACK_MD-vector multiply More...
 
subroutine d_bpack_wrapper::d_c_bpack_inv_mult (trans, xin, xout, Ninloc, Noutloc, Ncol, bmat_Cptr, option_Cptr, stats_Cptr, ptree_Cptr)
 **** C interface of BPACK(inverse)-vector multiplication More...
 
subroutine d_bpack_wrapper::d_c_bpack_deletestats (stats_Cptr)
 **** C interface of deleting statistics More...
 
subroutine d_bpack_wrapper::d_c_bpack_deleteproctree (ptree_Cptr)
 **** C interface of deleting process tree More...
 
subroutine d_bpack_wrapper::d_c_bpack_deletemesh (msh_Cptr)
 **** C interface of deleting d_mesh More...
 
subroutine d_bpack_wrapper::d_c_bpack_deletekernelquant (ker_Cptr)
 **** C interface of deleting d_kernelquant More...
 
subroutine d_bpack_wrapper::d_c_bpack_delete (bmat_Cptr)
 **** C interface of deleting HOBF More...
 
subroutine d_bpack_wrapper::d_c_bf_deletebf (bf_Cptr)
 **** C interface of deleting a BF More...
 
subroutine d_bpack_wrapper::d_c_bpack_deleteoption (option_Cptr)
 **** C interface of deleting d_Hoption More...
 
subroutine d_bpack_wrapper::d_c_bpack_getversionnumber (v_major, v_minor, v_bugfix)
 **** C interface of getting the version number of ButterflyPACK More...
 
subroutine d_bpack_wrapper::d_c_bpack_treeindex_merged2child (idx_merge, idx_child)
 **** C interface of converting the tree index to the index in one of its two child trees More...