-
Notifications
You must be signed in to change notification settings - Fork 251
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
Add interface to AMUSE #10
Conversation
- remove functions previously used for testing - comment out function with conflicting name - add AMUSE ifndef to prevent I/O when using AMUSE - Add helper function to calculate dt (adapted from step)
# Conflicts: # src/main/initial.F90
- no units should be added, as all values will already be in code units - can now delete particles - detect high densities unless it's the first step in an evolve loop [skip ci]
*: AMUSE defaults will override this. [skip ci]
Regular particles (gas, dm, ...) will receive a positive ID, while ptmass particles (sinks) will receive a negative ID. This ID is not used in Phantom, but only by AMUSE (or anything else that would use these subroutines) [skip ci]
[skip ci]
[skip ci]
[skip ci]
[skip ci]
I will try to run the full nightly build on this, so then we should be able to merge automatically |
Ok. I will try to merge upstream changes back in soon.
|
Set some different defaults and make sure defaults are set after initialising so they aren't overwritten
todo: make this changeable from AMUSE
# Conflicts: # src/main/eos.F90 # src/utils/libphantom-evolve.F90
update from main
# Conflicts: # src/main/initial.F90
# Conflicts: # .github/workflows/benchmarks.yml # .github/workflows/build.yml # .github/workflows/mpi.yml # .github/workflows/release.yml # .github/workflows/test.yml # build/Makefile
# Conflicts: # src/utils/libphantom-evolve.F90
# Conflicts: # src/main/initial.F90 # src/utils/libphantom-evolve.F90
@danieljprice another project and Covid got me "a bit" delayed merging upstream changes back into this branch (:, but I've done so now. I would still like to see if we can merge this back into the main branch in some form. |
Changes to libphantom for the AMUSE interface (work in progress)