Hypervirial model (source code)

= Hypervirial model

The hypervirial family has relative potential
$$
\Psi(r)=\frac{GM}{(r^p+a^p)^{1/p}},
\qquad 0<p\leq2,
$$
and density
$$
\rho(r)=\frac{(p+1)Ma^p}{4\pi}
\frac{r^{p-2}}{(r^p+a^p)^{2+1/p}}.
$$
Its name comes from satisfying the scalar virial relation pointwise.