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


<div class="viewcode-block" id="total_energy"><a class="viewcode-back" href="../../../iDEA.html#iDEA.methods.lda.total_energy">[docs]</a><span class="k">def</span> <span class="nf">total_energy</span><span class="p">(</span><span class="n">s</span><span class="p">:</span> <span class="n">iDEA</span><span class="o">.</span><span class="n">system</span><span class="o">.</span><span class="n">System</span><span class="p">,</span> <span class="n">stat