Skip to content

Commit

Permalink
Add Hernquist NEMO support to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Sep 15, 2018
1 parent e9daba7 commit 6db7b1e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions doc/source/potential.rst
Original file line number Diff line number Diff line change
Expand Up @@ -791,14 +791,15 @@ LogarithmicHaloPotential, the radial force scales as :math:`R^{-1}`,
so the amplitude scales as :math:`V_0^2`.

Currently, only the ``MiyamotoNagaiPotential``, ``NFWPotential``,
``PowerSphericalPotentialwCutoff``, ``PlummerPotential``,
``MN3ExponentialDiskPotential``, and the ``LogarithmicHaloPotential``
have this NEMO support. Combinations of the first three are also
supported (e.g., ``MWPotential2014``); they can also be combined with
spherical ``LogarithmicHaloPotentials``. Because of the definition of
the logarithmic potential in NEMO, it cannot be flattened in ``z``, so
to use a flattened logarithmic potential, one has to flip ``y`` and
``z`` between ``galpy`` and NEMO (one can flatten in ``y``).
``PowerSphericalPotentialwCutoff``, ``HernquistPotential``,
``PlummerPotential``, ``MN3ExponentialDiskPotential``, and the
``LogarithmicHaloPotential`` have this NEMO support. Combinations of
all but the ``LogarithmicHaloPotential`` are allowed in general (e.g.,
``MWPotential2014``); they can also be combined with spherical
``LogarithmicHaloPotentials``. Because of the definition of the
logarithmic potential in NEMO, it cannot be flattened in ``z``, so to
use a flattened logarithmic potential, one has to flip ``y`` and ``z``
between ``galpy`` and NEMO (one can flatten in ``y``).

.. _addpot:

Expand Down Expand Up @@ -1127,4 +1128,4 @@ in general depend on the current velocity). Thus, the steps are:
gives a good template to follow.

2. That's it, as for now there is no support for implementing a C
version of dissipative forces.
version of dissipative forces.

0 comments on commit 6db7b1e

Please sign in to comment.