p">)</span>
        <span class="k">return</span> <span class="bp">self</span> <span class="o">-</span> <span class="bp">self</span><span class="o">.</span><span class="n">mean_stress</span><span class="o">*</span><span class="n">np</span><span class="o">.</span><span class="n">eye</span><span class="p">(</span><span class="mi">3</span><span class="p">)</span>

<div class="viewcode-block" id="Stress.piola_kirchoff_1"><a class="viewcode-back" href="../../../../pymatgen.analysis.elasticity.stress.html#pymatge