clusters"><a class="viewcode-back" href="../../../pymatgen.analysis.dimensionality.html#pymatgen.analysis.dimensionality.find_clusters">[docs]</a><span class="k">def</span> <span class="nf">find_clusters</span><span class="p">(</span><span class="n">struct</span><span class="p">,</span> <span class="n">connected_matrix</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Finds bonded clusters of atoms in the structure with periodic boundary</span>
<span class="