count_substr_occurence Function

public function count_substr_occurence(s, c)

Count the number of occurence of substring c in string s, and return the number of occurence, if c is not contained in s, zero is returned.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: s

String where to search the substring

character(len=*), intent(in) :: c

Substring to search

Return Value integer(kind=ip)


Called by

proc~~count_substr_occurence~~CalledByGraph proc~count_substr_occurence count_substr_occurence proc~read_atom_cards read_atom_cards proc~read_atom_cards->proc~count_substr_occurence proc~assign_tortors assign_tortors proc~assign_tortors->proc~read_atom_cards proc~assign_angtor assign_angtor proc~assign_angtor->proc~read_atom_cards proc~assign_angle assign_angle proc~assign_angle->proc~read_atom_cards proc~assign_bond assign_bond proc~assign_bond->proc~read_atom_cards proc~assign_urey assign_urey proc~assign_urey->proc~read_atom_cards proc~assign_vdw assign_vdw proc~assign_vdw->proc~read_atom_cards proc~assign_torsion assign_torsion proc~assign_torsion->proc~read_atom_cards proc~assign_strbnd assign_strbnd proc~assign_strbnd->proc~read_atom_cards proc~assign_opb assign_opb proc~assign_opb->proc~read_atom_cards proc~assign_pitors assign_pitors proc~assign_pitors->proc~read_atom_cards proc~assign_imptorsion assign_imptorsion proc~assign_imptorsion->proc~read_atom_cards proc~assign_strtor assign_strtor proc~assign_strtor->proc~read_atom_cards proc~mmpol_init_from_xyz mmpol_init_from_xyz proc~mmpol_init_from_xyz->proc~assign_tortors proc~mmpol_init_from_xyz->proc~assign_angtor proc~mmpol_init_from_xyz->proc~assign_angle proc~mmpol_init_from_xyz->proc~assign_bond proc~mmpol_init_from_xyz->proc~assign_urey proc~mmpol_init_from_xyz->proc~assign_vdw proc~mmpol_init_from_xyz->proc~assign_torsion proc~mmpol_init_from_xyz->proc~assign_strbnd proc~mmpol_init_from_xyz->proc~assign_opb proc~mmpol_init_from_xyz->proc~assign_pitors proc~mmpol_init_from_xyz->proc~assign_imptorsion proc~mmpol_init_from_xyz->proc~assign_strtor proc~ommp_system_from_qm_helper ommp_system_from_qm_helper proc~ommp_system_from_qm_helper->proc~assign_tortors proc~ommp_system_from_qm_helper->proc~assign_angtor proc~ommp_system_from_qm_helper->proc~assign_angle proc~ommp_system_from_qm_helper->proc~assign_bond proc~ommp_system_from_qm_helper->proc~assign_urey proc~ommp_system_from_qm_helper->proc~assign_vdw proc~ommp_system_from_qm_helper->proc~assign_torsion proc~ommp_system_from_qm_helper->proc~assign_strbnd proc~ommp_system_from_qm_helper->proc~assign_opb proc~ommp_system_from_qm_helper->proc~assign_pitors proc~ommp_system_from_qm_helper->proc~assign_imptorsion proc~ommp_system_from_qm_helper->proc~assign_strtor proc~init_bonded_for_link_atom init_bonded_for_link_atom proc~init_bonded_for_link_atom->proc~assign_angle proc~init_bonded_for_link_atom->proc~assign_bond proc~init_bonded_for_link_atom->proc~assign_torsion proc~qm_helper_init_vdw_prm qm_helper_init_vdw_prm proc~qm_helper_init_vdw_prm->proc~assign_vdw proc~ommp_init_xyz ommp_init_xyz proc~ommp_init_xyz->proc~mmpol_init_from_xyz 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~c_ommp_qm_helper_init_vdw_prm C_ommp_qm_helper_init_vdw_prm proc~c_ommp_qm_helper_init_vdw_prm->proc~qm_helper_init_vdw_prm proc~ommp_create_link_atom ommp_create_link_atom proc~ommp_create_link_atom->proc~init_bonded_for_link_atom proc~ommp_create_link_atom->proc~qm_helper_init_vdw_prm proc~c_ommp_init_xyz C_ommp_init_xyz proc~c_ommp_init_xyz->proc~ommp_init_xyz proc~c_ommp_create_link_atom C_ommp_create_link_atom proc~c_ommp_create_link_atom->proc~ommp_create_link_atom

Contents