Skip to content

Commit

Permalink
Update literature.py to optionally create tex/bib output (#908)
Browse files Browse the repository at this point in the history
* Update references in interfaces to use new syntax (start with ADS:(bibcode) or DOI:(doi code))
* Add common bibfile, AMUSE data dir
* When calling an AMUSE script with `--bibtex`, create new files `bib-{scriptname}.bib` and `bib-{scriptname}.tex` that contain all AMUSE references and a ready-to-include TeX snippet.
  • Loading branch information
rieder committed Mar 14, 2023
1 parent f4b5184 commit 5666436
Show file tree
Hide file tree
Showing 43 changed files with 1,626 additions and 194 deletions.
6 changes: 6 additions & 0 deletions src/amuse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
> pydoc amuse.ic
"""
import sys
import os
import numpy

_AMUSE_ROOT = os.path.abspath(os.path.dirname(__file__))

def numpy_fix():
try:
numpy.set_printoptions(legacy='1.13')
Expand Down Expand Up @@ -56,3 +59,6 @@ def __getattr__(self, attr):
TrackLiteratureReferences.default()
except:
pass

def get_data(path):
return os.path.join(_AMUSE_ROOT, 'data', path)
4 changes: 2 additions & 2 deletions src/amuse/community/aarsethzare/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ class AarsethZareInterface(CodeInterface, LiteratureReferencesMixIn):
Aarseth & Zare
The relevant references are:
.. [#] Aarseth, S. & Zare, K., 1974, Celestial Mechanics 10, 185 [1974CeMec..10..185A]
.. [#] Aarseth, S. & Zare, K., 1974, Celestial Mechanics 10, 516 [1974CeMec..10..516A]
.. [#] ADS:1974CeMec..10..185A (Aarseth, S. & Zare, K., 1974, Celestial Mechanics 10, 185)
.. [#] ADS:1974CeMec..10..516A (Aarseth, S. & Zare, K., 1974, Celestial Mechanics 10, 516)
"""
#include_headers = ['worker_code.h']

Expand Down
12 changes: 6 additions & 6 deletions src/amuse/community/athena/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ class AthenaInterface(CodeInterface, MagnetohydrodynamicsInterface, LiteratureRe
different Riemann solvers and spatial reconstruction methods.
The relevant references are:
.. [#] Gardiner & Stone 2005, JCP, 205, 509 (2D JCP Method) [2005JCoPh.205..509G]
.. [#] Gardiner & Stone 2007, JCP, 227, 4123 (3D JCP Method) [2008JCoPh.227.4123G]
.. [#] Stone et al. 2008, ApJS, 178, 137 (Method) [2008ApJS..178..137S]
.. [#] Stone & Gardiner 2009, NewA, 14, 139 (van Leer Integrator) [2009NewA...14..139S]
.. [#] Skinner & Ostriker 2010, ApJ, 188, 290 (Cylindrical Integrator) [2010ApJS..188..290S]
.. [#] Stone & Gardiner 2010, ApJS, 189, 142 (Shearing Box Method) [2010ApJS..189..142S]
.. [#] ADS:2005JCoPh.205..509G (Gardiner & Stone 2005, JCP, 205, 509 (2D JCP Method))
.. [#] ADS:2008JCoPh.227.4123G (Gardiner & Stone 2007, JCP, 227, 4123 (3D JCP Method))
.. [#] ADS:2008ApJS..178..137S (Stone et al. 2008, ApJS, 178, 137 (Method))
.. [#] ADS:2009NewA...14..139S (Stone & Gardiner 2009, NewA, 14, 139 (van Leer Integrator))
.. [#] ADS:2010ApJS..188..290S (Skinner & Ostriker 2010, ApJ, 188, 290 (Cylindrical Integrator))
.. [#] ADS:2010ApJS..189..142S (Stone & Gardiner 2010, ApJS, 189, 142 (Shearing Box Method))
"""

include_headers = ['worker_code.h', 'stopcond.h']
Expand Down
2 changes: 1 addition & 1 deletion src/amuse/community/bhtree/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class BHTreeInterface(
StoppingConditionInterface,
SinglePointGravityFieldInterface):
"""
.. [#] Barnes, J., Hut, P., A Hierarchical O(N log N) force-calculation algorithm, *Nature*, **4**, 324 (1986) [1986Natur.324..446B]
.. [#] ADS:1986Natur.324..446B (Barnes, J., Hut, P., *Nature*, **4**, 324 (1986))
"""
include_headers = ['interface.h', 'worker_code.h', 'stopcond.h']

Expand Down
4 changes: 1 addition & 3 deletions src/amuse/community/bonsai/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ class BonsaiInterface(CodeInterface,
SinglePointGravityFieldInterface):

"""
.. [#] Bedorf J., Gaburov E., Portegies Zwart S., "A sparse octree
.. [#] gravitational N-body code that runs entirely on the GPU processor",
.. [#] 2012, JCoPh, 231, 2825 [2012JCoPh.231.2825B]
.. [#] ADS:2012JCoPh.231.2825B (Bedorf J., Gaburov E., Portegies Zwart S., 2012, JCoPh, 231, 2825)
"""

include_headers = ['worker_code.h', 'stopcond.h']
Expand Down
10 changes: 2 additions & 8 deletions src/amuse/community/bonsai2/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,8 @@
class Bonsai2Interface(CodeInterface, LiteratureReferencesMixIn, GravitationalDynamicsInterface,
StoppingConditionInterface, CodeWithDataDirectories):
"""
.. [#] Bedorf J., Gaburov E., Fujii M. S., Nitadori K. Ishiyama T., Portegies Zwart S.,
...[#] "24.77 Pflops on a gravitational tree-code to simulate the Milky Way Galaxy
...[#] with 18600 GPUs", 2014, SC'14 proceedings, 54-65 [2014hpcn.conf...54B]
...[#] https://doi.org/10.1109/SC.2014.10
.. [#] Bedorf J., Gaburov E., Portegies Zwart S., "A sparse octree
.. [#] gravitational N-body code that runs entirely on the GPU processor",
.. [#] 2012, JCoPh, 231, 2825 [2012JCoPh.231.2825B]
.. [#] ADS:2014hpcn.conf...54B (Bedorf J., et al., 2014, SC'14 proceedings, 54-65, https://doi.org/10.1109/SC.2014.10)
.. [#] ADS:2012JCoPh.231.2825B (Bedorf J., Gaburov E., Portegies Zwart S., 2012, JCoPh, 231, 2825)
"""

include_headers = ['worker_code.h', 'stopcond.h']
Expand Down
2 changes: 1 addition & 1 deletion src/amuse/community/brutus/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class BrutusInterface(CodeInterface, GravitationalDynamicsInterface, LiteratureR
StoppingConditionInterface, CodeWithDataDirectories):
"""
Brutus (Brute force N-body code)
.. [#] Boekholt, Tjarda and Portegies Zwart, Simon, On the reliability of N-body simulations, Computational Astrophysics and Cosmology, Volume 2, article id.2, 21 pp. [2015ComAC...2....2B]
.. [#] ADS:2015ComAC...2....2B (Boekholt, Tjarda and Portegies Zwart, Simon, Computational Astrophysics and Cosmology, Volume 2, article id.2, 21 pp.)
"""
include_headers = ['worker_code.h', 'stopcond.h']
Expand Down
8 changes: 2 additions & 6 deletions src/amuse/community/bse/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ class BSEInterface(CodeInterface, common.CommonCodeInterface , LiteratureReferen
response of the secondary to accretion and the outcome of any merger events are in
place in BSE and the details can be found in the BSE paper:
.. [#] Hurley J.R., Tout C.A., & Pols O.R., 2002, MNRAS, 329, 897:
.. [#] ... Evolution of binary stars and the effect of tides on binary populations
.. [#] [2002MNRAS.329..897H]
.. [#] Hurley J.R., Pols O.R., Tout C.A., 2000, MNRAS, 315, 543:
.. [#] ... Comprehensive analytic formulae for stellar evolution as a function of mass and metallicity
.. [#] [2000MNRAS.315..543H]
.. [#] ADS:2002MNRAS.329..897H (Hurley J.R., Tout C.A., & Pols O.R., 2002, MNRAS, 329, 897)
.. [#] ADS:2000MNRAS.315..543H (Hurley J.R., Pols O.R., Tout C.A., 2000, MNRAS, 315, 543)
"""
def __init__(self, **options):
CodeInterface.__init__(self, name_of_the_worker="bse_worker", **options)
Expand Down
27 changes: 13 additions & 14 deletions src/amuse/community/capreole/interface.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
from amuse.community import *



from amuse.community.interface.hydro import HydrodynamicsInterface
from amuse.community.interface.common import CommonCode
from amuse.units.generic_unit_system import *


from amuse.units.generic_unit_system import *
class CapreoleInterface(
CodeInterface,
CodeInterface,
HydrodynamicsInterface,
StoppingConditionInterface,
LiteratureReferencesMixIn
):
):
"""
Capreole is a grid-based astrophysical hydrodynamics code developed by Garrelt Mellema.
It works in one, two dimensions, and three spatial dimensions and is programmed in
Fortran 90. It is parallelized with MPI. For the hydrodynamics it relies on the
Roe-Eulderink-Mellema (REM) solver, which is an approximate Riemann solver for arbitrary
metrics. It can solve different hydrodynamics problems. Capreole has run on single
processors, but also on massively parallel systems (e.g. 512 processors on a BlueGene/L).
Capreole is a grid-based astrophysical hydrodynamics code developed by
Garrelt Mellema. It works in one, two dimensions, and three spatial
dimensions and is programmed in Fortran 90. It is parallelized with MPI.
For the hydrodynamics it relies on the Roe-Eulderink-Mellema (REM) solver,
which is an approximate Riemann solver for arbitrary metrics. It can solve
different hydrodynamics problems. Capreole has run on single processors,
but also on massively parallel systems (e.g. 512 processors on a
BlueGene/L).
The reference for Capreole (original version):
.. [#] Mellema, Eulderink & Icke 1991, A&A 252, 718 [1991A&A...252..718M]
.. [#] ADS:1991A&A...252..718M (Mellema, Eulderink & Icke 1991, A&A 252, 718)
"""


Expand Down
4 changes: 1 addition & 3 deletions src/amuse/community/etics/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

class EticsInterface(CodeInterface, GravitationalDynamicsInterface, LiteratureReferencesMixIn):
"""
.. [#] Meiron, Y., Li, B., Holley-Bockelmann, K., & Spurzem, R. 2014, ApJ, 792, 98:
.. [#] ... "Expansion techniques for collisionless stellar dynamical simulations"
.. [#] [2014ApJ...792...98M]
.. [#] ADS:2014ApJ...792...98M (Meiron, Y., Li, B., Holley-Bockelmann, K., & Spurzem, R. 2014, ApJ, 792, 98)
"""

include_headers = ['worker_code.h']
Expand Down
40 changes: 24 additions & 16 deletions src/amuse/community/evtwin/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,30 @@ class EVtwinInterface(CodeInterface, LiteratureReferencesMixIn, StellarEvolution
The work-around for the helium flash is not yet implemented in the AMUSE
interface to evtwin. Currently only solar metallicity.
.. [#] ** Eggleton, P.P. 1971, MNRAS, 151, 351: "The evolution of low mass stars" [1971MNRAS.151..351E]
.. [#] ** Glebbeek, Pols & Hurley, 2008 A&A (for enhancements to the solver) [2008A&A...488.1007G]
.. [#] Eggleton, P.P. 1972, MNRAS, 156, 361: "Composition changes during stellar evolution" [1972MNRAS.156..361E]
.. [#] Eggleton, P.P. 1973, MNRAS, 163, 279: "A numerical treatment of double shell source stars" [1973MNRAS.163..279E]
.. [#] Eggleton, P.P., Faulkner, J., & Flannery, B.P. 1973, A&A, 23, 325:
.. [#] ... "An Approximate Equation of State for Stellar Material" [1973A&A....23..325E]
.. [#] Han, Z., Podsiadlowski, P., & Eggleton, P.P. 1994, MNRAS, 270, 121:
.. [#] ... "A Possible Criterion for Envelope Ejection in Asymptotic Giant Branch or First Giant Branch Stars" [1994MNRAS.270..121H]
.. [#] Pols, O.R., Tout, C.A., Eggleton, P.P., & Han, Z. 1995, MNRAS, 274, 964:
.. [#] ... "Approximate input physics for stellar modelling" [1995MNRAS.274..964P]
.. [#] Eggleton, P.P. 2001, Evolution of Binary and Multiple Star Systems, 229, 157: "The Braking of Wind" [2001ASPC..229..157E]
.. [#] Nelson, C.A., & Eggleton, P.P. 2001, ApJ, 552, 664:
.. [#] ... "A Complete Survey of Case A Binary Evolution with Comparison to Observed Algol-type Systems" [2001ApJ...552..664N]
.. [#] Eggleton, P.P., & Kiseleva-Eggleton, L. 2002, ApJ, 575, 461: "The Evolution of Cool Algols" [2002ApJ...575..461E]
.. [#] Stancliffe, Glebbeek, Izzard & Pols, 2007 A&A (for thermohaline mixing) [2007A&A...464L..57S]]
.. [#] Eldridge & Tout, 2004 MNRAS 348 (for the OPAL 1996 opacity tables) [2004MNRAS.348..201E]
.. [#] ADS:1971MNRAS.151..351E ** (Eggleton, P.P. 1971, MNRAS, 151, 351:
.. [#] ... "The evolution of low mass stars")
.. [#] ADS:2008A&A...488.1007G ** (Glebbeek, Pols & Hurley, 2008 A&A
.. [#] ... (for enhancements to the solver))
.. [#] ADS:1972MNRAS.156..361E (Eggleton, P.P. 1972, MNRAS, 156, 361:
.. [#] ... "Composition changes during stellar evolution")
.. [#] ADS:1973MNRAS.163..279E (Eggleton, P.P. 1973, MNRAS, 163, 279:
.. [#] ... "A numerical treatment of double shell source stars")
.. [#] ADS:1973A&A....23..325E (Eggleton, P.P., Faulkner, J., & Flannery, B.P. 1973, A&A, 23, 325:
.. [#] ... "An Approximate Equation of State for Stellar Material")
.. [#] ADS:1994MNRAS.270..121H (Han, Z., Podsiadlowski, P., & Eggleton, P.P. 1994, MNRAS, 270, 121:
.. [#] ... "A Possible Criterion for Envelope Ejection in Asymptotic Giant Branch or First Giant Branch Stars")
.. [#] ADS:1995MNRAS.274..964P (Pols, O.R., Tout, C.A., Eggleton, P.P., & Han, Z. 1995, MNRAS, 274, 964:
.. [#] ... "Approximate input physics for stellar modelling")
.. [#] ADS:2001ASPC..229..157E (Eggleton, P.P. 2001, Evolution of Binary and Multiple Star Systems, 229, 157:
.. [#] ... "The Braking of Wind")
.. [#] ADS:2001ApJ...552..664N (Nelson, C.A., & Eggleton, P.P. 2001, ApJ, 552, 664:
.. [#] ... "A Complete Survey of Case A Binary Evolution with Comparison to Observed Algol-type Systems")
.. [#] ADS:2002ApJ...575..461E (Eggleton, P.P., & Kiseleva-Eggleton, L. 2002, ApJ, 575, 461:
.. [#] ... "The Evolution of Cool Algols")
.. [#] ADS:2007A&A...464L..57S (Stancliffe, Glebbeek, Izzard & Pols, 2007 A&A
.. [#] ... (for thermohaline mixing))
.. [#] ADS:2004MNRAS.348..201E (Eldridge & Tout, 2004 MNRAS 348
.. [#] ... (for the OPAL 1996 opacity tables))
"""
use_modules = ['twinlib', 'import']

Expand Down
8 changes: 4 additions & 4 deletions src/amuse/community/fi/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class FiInterface(
future. (and I will think of a better name)
The relevant references are:
.. [#] ** Hernquist & Katz, 1989, ApJS 70, 419 [1989ApJS...70..419H]
.. [#] ** Pelupessy, van der Werf & Icke, 2004, A&A 422, 55 [2004A&A...422...55P]
.. [#] Pelupessy, PhD thesis 2005, Leiden Observatory [2005PhDT........17P]
.. [#] Gerritsen & Icke, 1997, A&A 325, 972 [1997A&A...325..972G]
.. [#] ADS:1989ApJS...70..419H ** (Hernquist & Katz, 1989, ApJS 70, 419)
.. [#] ADS:2004A&A...422...55P ** (Pelupessy, van der Werf & Icke, 2004, A&A 422, 55)
.. [#] ADS:2005PhDT........17P (Pelupessy, PhD thesis 2005, Leiden Observatory)
.. [#] ADS:1997A&A...325..972G (Gerritsen & Icke, 1997, A&A 325, 972)
"""
get_total_radius=None
get_total_mass=None
Expand Down
3 changes: 1 addition & 2 deletions src/amuse/community/fractalcluster/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ class FractalClusterInterface(CodeInterface, LiteratureReferencesMixIn):
subunits forcing the number of cells if force=.true.
reference:
.. [#] Simon Goodwin & Ant Whitworth (2004, A&A, 413, 929) [2004A&A...413..929G]
.. [#] ADS:2004A&A...413..929G (Simon Goodwin & Ant Whitworth (2004, A&A, 413, 929))
"""

def __init__(self, **options):
Expand Down
10 changes: 5 additions & 5 deletions src/amuse/community/gadget2/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ class Gadget2Interface(
dynamic range which is, in principle, unlimited.
The relevant references are:
.. [#] Springel V., 2005, MNRAS, 364, 1105 (GADGET-2) [2005MNRAS.364.1105S]
.. [#] Springel V., Yoshida N., White S. D. M., 2001, New Astronomy, 6, 51 (GADGET-1) [2001NewA....6...79S]
.. [#] Durier F., Dalla Vecchia C., 2012, MNRAS (Time integration scheme fix) [2012MNRAS.419..465D]
.. [#] ADS:2005MNRAS.364.1105S (Springel V., 2005, MNRAS, 364, 1105 (GADGET-2))
.. [#] ADS:2001NewA....6...79S (Springel V., Yoshida N., White S. D. M., 2001, New Astronomy, 6, 51 (GADGET-1))
.. [#] ADS:2012MNRAS.419..465D (Durier F., Dalla Vecchia C., 2012, MNRAS (Time integration scheme fix))
"""
include_headers = ['interface.h', 'worker_code.h', 'stopcond.h']

MODE_NORMAL = 'normal'
MODE_PERIODIC_BOUNDARIES = 'periodic'
MODE_PERIODIC_NOGRAVITY = 'periodic_nogravity'
MODE_PERIODIC_BOUNDARIES = 'periodic'
MODE_PERIODIC_NOGRAVITY = 'periodic_nogravity'
MODE_NOGRAVITY = 'nogravity'

def __init__(self, mode = MODE_NORMAL, **options):
Expand Down
2 changes: 1 addition & 1 deletion src/amuse/community/halogen/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class HalogenInterface(CodeInterface, CommonCodeInterface, LiteratureReferencesM
from the distribution function of the models.
Relevant references:
.. [#] Zemp M., Moore B., Stadel J., Carollo C.M. & Madau P. 2008, MNRAS, 386, 1543 [2008MNRAS.386.1543Z]
.. [#] ADS:2008MNRAS.386.1543Z (Zemp M., Moore B., Stadel J., Carollo C.M. & Madau P. 2008, MNRAS, 386, 1543)
"""

include_headers = ['worker_code.h']
Expand Down
2 changes: 1 addition & 1 deletion src/amuse/community/hermite/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class HermiteInterface(CodeInterface,
using the Hermite integration scheme.
.. [#] Hut, P., Makino, J. & McMillan, S., *Astrophysical Journal Letters* , **443**, L93-L96 (1995) [1995ApJ...443L..93H]
.. [#] ADS:1995ApJ...443L..93H (Hut, P., Makino, J. & McMillan, S., *Astrophysical Journal Letters* , **443**, L93-L96 (1995))
"""
include_headers = ['worker_code.h', 'stopcond.h']

Expand Down
3 changes: 2 additions & 1 deletion src/amuse/community/higpus/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class HiGPUsInterface(CodeInterface, GravitationalDynamicsInterface):
time steps such to be able to deal with stiff problems like highly collisional gravitational N-body
problems.
.. [#] R. Capuzzo-Dolcetta, M. Spera, D.Punzo, 'A fully parallel, high precision, N-body code running on hybrid computing platforms', *Journal of Computational Physics*, Volume 236, 1 March 2013, Pages 580-593 [2013JCoPh.236..580C].
.. [#] ADS:2013JCoPh.236..580C (R. Capuzzo-Dolcetta, M. Spera, D.Punzo, *Journal of Computational Physics*, Volume 236, 1 March 2013, Pages 580-593:
.. [#] ... 'A fully parallel, high precision, N-body code running on hybrid computing platforms')
"""


Expand Down
3 changes: 2 additions & 1 deletion src/amuse/community/hop/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

class HopInterface(CodeInterface, CommonCodeInterface, LiteratureReferencesMixIn):
'''
.. [#] Eisenstein, DJ, Hut, P, HOP: A new group-finding algorithm for N-body simulations, ApJ 498 (1998) [1998ApJ...498..137E]
.. [#] ADS:1998ApJ...498..137E (Eisenstein, DJ, Hut, P, ApJ 498 (1998):
.. [#] ... HOP: A new group-finding algorithm for N-body simulations)
'''
include_headers = ['worker_code.h']

Expand Down
4 changes: 2 additions & 2 deletions src/amuse/community/huayno/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class HuaynoInterface(CodeInterface,
AMUSE environment. It can make use of GPUs - for this an OpenCL
version can be compiled.
.. [#] Pelupessy, Federico I.; J\"anes, J\"urgen; Portegies Zwart, Simon, New Astronomy, Volume 17, Issue 8, p. 711-719 [2012NewA...17..711P]
.. [#] J\"anes, J\"urgen; Pelupessy, Federico I.; Portegies Zwart, Simon, A&A, Volume 570, October 2014 (for CC, OK methods) [2014A&A...570A..20J]
.. [#] ADS:2012NewA...17..711P (Pelupessy, Federico I.; J\"anes, J\"urgen; Portegies Zwart, Simon, New Astronomy, Volume 17, Issue 8, p. 711-719)
.. [#] ADS:2014A&A...570A..20J (J\"anes, J\"urgen; Pelupessy, Federico I.; Portegies Zwart, Simon, A&A, Volume 570, October 2014 (for CC, OK methods))
"""
include_headers = ['worker_code.h']

Expand Down
8 changes: 4 additions & 4 deletions src/amuse/community/kepler_orbiters/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ class KeplerInterface(CodeInterface,
See the example kepler_orbiters_planets_around_sun.py.
The relevant references are:
.. [#] Goncalves Ferrari, Boekholt, Portegies Zwart; 2014 MNRAS, 440, 719 \
(SAKURA, method 0 -- default) [2014MNRAS.440..719G]
.. [#] Pelupessy, Janes, Portegies Zwart; 2012, New Astronomy, 17, 711 \
(HUAYNO, method 1) [2012NewA...17..711P]
.. [#] ADS:2014MNRAS.440..719G (Goncalves Ferrari, Boekholt, Portegies Zwart; 2014 MNRAS, 440, 719
.. [#] ... (SAKURA, method 0 -- default)
.. [#] ADS:2012NewA...17..711P (Pelupessy, Janes, Portegies Zwart; 2012, New Astronomy, 17, 711
.. [#] ... (HUAYNO, method 1))
"""

include_headers = ['interface.h']
Expand Down
4 changes: 2 additions & 2 deletions src/amuse/community/mercury/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class MercuryInterface(CodeInterface, CommonCodeInterface, CodeWithDataDirectori
in Chambers (1999).
Relevant references:
.. [#] Chambers J. E., 1999, MNRAS, 304, 793 [1999MNRAS.304..793C]
.. [#] Wisdom J. & Holman M., 1991, AJ, 102, 1528 [1991AJ....102.1528W]
.. [#] ADS:1999MNRAS.304..793C (Chambers J. E., 1999, MNRAS, 304, 793)
.. [#] ADS:1991AJ....102.1528W (Wisdom J. & Holman M., 1991, AJ, 102, 1528)
"""

use_modules = ['StoppingConditions', 'AmuseInterface']
Expand Down

0 comments on commit 5666436

Please sign in to comment.