/span>
    <span class="k">return</span> <span class="n">dim</span></div>


<div class="viewcode-block" id="find_connected_atoms"><a class="viewcode-back" href="../../../pymatgen.analysis.dimensionality.html#pymatgen.analysis.dimensionality.find_connected_atoms">[docs]</a><span class="k">def</span> <span class="nf">find_connected_atoms</span><span class="p">(</span><span class="n">struct</span><span class="p">,</span> <span class="n">tolerance</span><span class="o">=</span><span class="mf">0.45</span><span 