GalacticDynamics-Oxford / Agama

Action-based galaxy modeling framework
Other
76 stars 38 forks source link

Gadget-4 plugin #33

Closed syrte closed 7 months ago

syrte commented 2 years ago

Hi Eugene, I am considering using Gadget4 in the future at some point for its scalability. Gadget4 allows one to add external potential by editing grav_external.cc. It would be great to incorporate Agama into Gadget4 as the external potential (e.g., specified by an .ini file) in a similar way to the Agama NEMO plugin. Do you have any general suggestions for the implementation? I haven't dived into it at the moment and might get back with more specific questions in the future. Just wondering if you happen to have any plans for making a plugin for Gadget4 or be interested in making an example for incorporating agama into Gadget4.

syrte commented 7 months ago

Update: Agama can work with Gadget4 and Arepo now according to the changelog: https://github.com/GalacticDynamics-Oxford/Agama/blob/2ea8408ca155ae32b31a0ebcec747d549fbba800/NEWS#L10

For those who are interested, you can check the latest version of Agama Reference and example_nbody_simulation.py for details.

Thank you very much, Eugene!