Local virial relation of the hypervirial model (source code)

= Local virial relation of the hypervirial model

For the <hypervirial model>, $\langle v^2\rangle=\Psi/2=-\Phi/2$. The local kinetic- and potential-energy densities
$$
K=\frac12\rho\langle v^2\rangle,
\qquad
W=\frac12\rho\Phi
$$
therefore obey $2K+W=0$ at every radius, a stronger statement than the integrated <virial theorem>.