Update Gravitational Potential including indirect terms authored by Elena Lega's avatar Elena Lega
...@@ -8,7 +8,7 @@ The gravitational potential entering in the source terms of the Navier-Stokes eq ...@@ -8,7 +8,7 @@ The gravitational potential entering in the source terms of the Navier-Stokes eq
we use a cubic-potential of the form: we use a cubic-potential of the form:
$`\Phi _p = \left\lbrace \begin{array}{ll} $`\Phi _p = \left\lbrace \begin{array}{ll}
-{m_pG\over d} & d > r_{\rm sm}} \\ -{m_pG\over d} & d > r_{\rm sm} \\
-{m_pG\over d}f({d\over r_{\rm sm}}) & d\leq r_{\rm sm} -{m_pG\over d}f({d\over r_{\rm sm}}) & d\leq r_{\rm sm}
\end{array} \right.`$ \end{array} \right.`$
... ...
......