Manu: saving work

This commit is contained in:
Emmanuel Fromager 2019-09-17 18:18:35 +02:00
parent 82cc67f680
commit 8a0b414989

View File

@ -405,8 +405,10 @@ Tr}\left[\left({\bmg}^{(K)}-{\bmg}^{(0)}\right){\bm h}\right]
Hxc}\left[n_{\bmg^{\bw}}\right]}{\delta
n({\br})}\left(n^{(K)}(\br)-n^{(0)}(\br)\right)
\nonumber\\
&&+\left. \dfrac{\partial \overline{E}^{{\bw}}_{\rm
Hxc}\left[n\right]}{\partial w_K}\right|_{n=n_{\bmg^{\bw}}},
&&
+\left. \dfrac{\partial \overline{E}^{{\bw}}_{\rm
Hxc}\left[n\right]}{\partial w_K}\right|_{n=n_{\bmg^{\bw}}}
,
\eeq
we finally obtain from Eqs.~(\ref{eq:var_princ_Gamma_ens}) and (\ref{eq:indiv_ener_from_ens}) the following in-principle-exact expressions for the
energy levels within the ensemble:
@ -564,19 +566,33 @@ c}\left[n_{\bmg^{\bw}}\right]
\Bigg\}
\eeq
For $K>0$
\beq
\dfrac{\partial E^{{\bw}}}{\partial w_K}&=&
&&\dfrac{\partial E^{{\bw}}}{\partial w_K}=
{\rm
Tr}\left[\left({\bmg}^{(K)}-{\bmg}^{(0)}\right){\bm h}\right]
+\frac{1}{2}\Tr(\bmg^{(K)} \, \bG \, \bmg^{(K)})
\nonumber\\
&&-\frac{1}{2}\Tr(\bmg^{(0)} \, \bG \, \bmg^{(0)})
+\sum_{L\geq0}w_L{\rm
Tr}\left[\dfrac{\partial\bmg^{(L)}}{\partial w_K}{\bm h}\right]
\nonumber\\
&&
+\int d\br\,\dfrac{\delta \overline{E}^{{\bw}}_{\rm
c}\left[n_{\bmg^{\bw}}\right]}{\delta
n({\br})}\left(n^{(K)}(\br)-n^{(0)}(\br)\right)
+\left. \dfrac{\partial \overline{E}^{{\bw}}_{\rm
c}\left[n\right]}{\partial w_K}\right|_{n=n_{\bmg^{\bw}}}
\nonumber\\
&&+\sum_{L\geq0}w_L{\rm
Tr}\left[\dfrac{\partial\bmg^{(L)}}{\partial w_K}{\bm h}\right]
%\nonumber\\
%&&
+\sum_{L\geq0}w_L
\Tr(\bmg^{(L)} \, \bG \, \dfrac{\partial\bmg^{(L)}}{\partial w_K})
\nonumber\\
&&
+\sum_{L\geq0}w_L\int d\br\,\dfrac{\delta \overline{E}^{{\bw}}_{\rm
c}\left[n_{\bmg^{\bw}}\right]}{\delta
n({\br})}n_{\frac{\partial \bmg^{(L)}}{\partial w_K}}(\br)
\eeq
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%