Skip to content

Eggleton IMF in amuse ? #1133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
teuben opened this issue Apr 14, 2025 · 5 comments
Open

Eggleton IMF in amuse ? #1133

teuben opened this issue Apr 14, 2025 · 5 comments
Labels

Comments

@teuben
Copy link
Contributor

teuben commented Apr 14, 2025

One of my users in NEMO was noticing that in Aarseth's NBODY4 code a possibly minor typo slipped in, as explainted in their PR:

teuben/nemo#181

I don't have access to the quoted book, but in section 1.6 Eggletons IMF (is this used anywhere in AMUSE?) is
0.3 (u / (1-u))**0.5 instead of 0.3 u / (1-u)**0.5 used in Sverre's code.

Any opinions on this?

@stevemcmillan
Copy link
Contributor

stevemcmillan commented Apr 15, 2025 via email

@teuben
Copy link
Contributor Author

teuben commented Apr 15, 2025

For me it's still between Sverre and Peter.... so we need another reference where Peter published this perhaps?

Not knowing how many have used this IMF in nbody4, another option could be to allow both by extending Sverre's KZ(20), so it's "backwards" compatible.

@stevemcmillan
Copy link
Contributor

stevemcmillan commented Apr 15, 2025 via email

@teuben
Copy link
Contributor Author

teuben commented Apr 15, 2025

my version of nbody4 (which is from Sverre's website) counts to KZ(40).

I also just noted sverre was using ZM = 0.3D0*XX/(1.D0 - XX)**0.55, note the power 0.55, whereas 0.5 was claimed. I don't have the book and our library doesn't seem to have it.

@teuben
Copy link
Contributor Author

teuben commented May 9, 2025

so probing the community again, i still am unclear if I should Eggleton's book or Aarseth's code. Given I don't have access to E's book, I'm leaving this open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants