mat_mult Subroutine

private subroutine mat_mult(sp1, sp2, res)

Performs the operation on boolean sparse matrices; product correspond to logical and while sum correspond to logical or.
This subroutine is the one actually used in the code; It performs matrix product exploiting the sparsity, and therefore with a scaling .

Arguments

Type IntentOptional Attributes Name
type(yale_sparse), intent(in) :: sp1

Input matrices (sparse boolean matrices in Yale format)

type(yale_sparse), intent(in) :: sp2

Input matrices (sparse boolean matrices in Yale format)

type(yale_sparse), intent(out) :: res

Output matrix (sparse boolean matrices in Yale format)


Calls

proc~~mat_mult~~CallsGraph proc~mat_mult mat_mult proc~reallocate_mat reallocate_mat proc~mat_mult->proc~reallocate_mat

Called by

proc~~mat_mult~~CalledByGraph proc~mat_mult mat_mult proc~build_conn_upto_n build_conn_upto_n proc~build_conn_upto_n->proc~mat_mult proc~check_conn_matrix check_conn_matrix proc~check_conn_matrix->proc~build_conn_upto_n proc~mmpol_init_from_xyz mmpol_init_from_xyz proc~mmpol_init_from_xyz->proc~build_conn_upto_n proc~mmpol_init_from_xyz->proc~check_conn_matrix proc~mmpol_prepare mmpol_prepare proc~mmpol_init_from_xyz->proc~mmpol_prepare proc~ommp_system_from_qm_helper ommp_system_from_qm_helper proc~ommp_system_from_qm_helper->proc~build_conn_upto_n proc~ommp_system_from_qm_helper->proc~check_conn_matrix proc~ommp_system_from_qm_helper->proc~mmpol_prepare proc~mmpol_prepare->proc~build_conn_upto_n proc~init_vdw_for_link_atom init_vdw_for_link_atom proc~init_vdw_for_link_atom->proc~check_conn_matrix proc~mmpol_init_from_mmp mmpol_init_from_mmp proc~mmpol_init_from_mmp->proc~mmpol_prepare proc~init_bonded_for_link_atom init_bonded_for_link_atom proc~init_bonded_for_link_atom->proc~check_conn_matrix proc~c_ommp_system_from_qm_helper C_ommp_system_from_qm_helper proc~c_ommp_system_from_qm_helper->proc~ommp_system_from_qm_helper proc~ommp_init_xyz ommp_init_xyz proc~ommp_init_xyz->proc~mmpol_init_from_xyz proc~ommp_create_link_atom ommp_create_link_atom proc~ommp_create_link_atom->proc~init_vdw_for_link_atom proc~ommp_create_link_atom->proc~init_bonded_for_link_atom proc~c_ommp_init_xyz C_ommp_init_xyz proc~c_ommp_init_xyz->proc~ommp_init_xyz proc~ommp_init_mmp ommp_init_mmp proc~ommp_init_mmp->proc~mmpol_init_from_mmp proc~c_ommp_create_link_atom C_ommp_create_link_atom proc~c_ommp_create_link_atom->proc~ommp_create_link_atom proc~c_ommp_init_mmp C_ommp_init_mmp proc~c_ommp_init_mmp->proc~ommp_init_mmp

Contents