-
Notifications
You must be signed in to change notification settings - Fork 51
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
Use falcON as a library - for vectors #103
Comments
It's going to depend what you need to do, do you just need the potentials and want to do other things in your own code? How many particles are we talking about?
sadly gyrfalcON cannot pipe the info into snapprint |
I do believe some people have been able to use falcON as a library, your main() will be in C++. |
Thank you for your answer |
Just a million is still "small enough", you could quite possibly use the ascii route to avoid having to build your potential getter. tabtos took me 0.4sec to convert 1M partiles to snapshot format for gyrfalcON |
OK, I will try that. Thank you for the help ! |
Your note is a great way to catalog this idea. If I know a better example, I'll let you know. I know of one or two projects that use falcOn via python i believe. |
You can use also falcON from python program (python 3.9 max so far ) : see https://pypi.org/project/python-unsiotools/ |
Hi all
I plan to use NEMO and falcON as a library, especially for estimating gravitational potentials with Dehnen algorithm. But my particles are not in NEMO snapshot format: they are rather stored in a N-vector of 6-vectors. Is there a way to use falcON tools directly on this array or should I have to convert it to a NEMO snapshot file then call falcON tools on it (which would be extremely exhausting:-))
Thanks
The text was updated successfully, but these errors were encountered: