yale_sparse Derived Type

type, public :: yale_sparse

Describe a square boolean sparse matrix n x n.
Indices of non-zero elements in the i-th row are contained in the array ci(ri(i):ri(i+1)).


Inherited by

type~~yale_sparse~~InheritedByGraph type~yale_sparse yale_sparse type~ommp_topology_type ommp_topology_type type~ommp_topology_type->type~yale_sparse conn type~ommp_neigh_list ommp_neigh_list type~ommp_neigh_list->type~yale_sparse c2p type~fmm_tree_type fmm_tree_type type~fmm_tree_type->type~yale_sparse level_list, particle_list, near_nl, far_nl type~ommp_electrostatics_type ommp_electrostatics_type type~ommp_electrostatics_type->type~yale_sparse polgrp_mmat, pg_conn, fmm_near_field_list, list_S_S, list_P_P, list_S_P_P, list_S_P_D, list_S_S_fmm_far, list_P_P_fmm_far, list_S_P_P_fmm_far, list_S_P_D_fmm_far type~ommp_electrostatics_type->type~ommp_topology_type top type~ommp_electrostatics_type->type~fmm_tree_type tree type~fmm_type fmm_type type~ommp_electrostatics_type->type~fmm_type fmm_static, fmm_ipd type~ommp_nonbonded_type ommp_nonbonded_type type~ommp_nonbonded_type->type~ommp_topology_type top type~ommp_nonbonded_type->type~ommp_neigh_list nl type~ommp_bonded_type ommp_bonded_type type~ommp_bonded_type->type~ommp_topology_type top type~ommp_qm_helper ommp_qm_helper type~ommp_qm_helper->type~ommp_topology_type qm_top type~ommp_qm_helper->type~ommp_nonbonded_type qm_vdw type~ommp_system ommp_system type~ommp_system->type~ommp_topology_type top type~ommp_system->type~ommp_electrostatics_type eel type~ommp_system->type~ommp_nonbonded_type vdw type~ommp_system->type~ommp_bonded_type bds type~ommp_link_atom_type ommp_link_atom_type type~ommp_system->type~ommp_link_atom_type la type~ommp_link_atom_type->type~ommp_topology_type mmtop, qmtop, qmmmtop type~ommp_link_atom_type->type~ommp_bonded_type bds type~fmm_type->type~fmm_tree_type tree

Contents

Source Code


Components

Type Visibility Attributes Name Initial
integer(kind=ip), public :: n

Dimension of the matrix

integer(kind=ip), public, allocatable :: ri(:)

Row index vector, always dimensioned n+1

integer(kind=ip), public, allocatable :: ci(:)

Column index vector, dimension number of non-zero elements


Source Code

    type yale_sparse
        !! Describe a square boolean sparse matrix n x n.  
        !! Indices of non-zero elements in the i-th row are contained in
        !! the array ci(ri(i):ri(i+1)).
        integer(ip) :: n 
        !! Dimension of the matrix
        integer(ip), allocatable :: ri(:) 
        !! Row index vector, always dimensioned n+1
        integer(ip), allocatable :: ci(:) 
        !! Column index vector, dimension number of non-zero elements
    end type yale_sparse