The VINE code
General description
VINE is a particle based astrophysical simulation code. It uses a tree structure to efficiently solve the gravitational N-body problem and Smoothed Particle Hydrodynamics (SPH) to simulate gas dynamical effects.
The code has been successfully used for a number  of studies on galaxy interactions, galactic dynamics, star formation and planet formation and given the implemented physics,  other applications are possible as well.
The code is publicly available and hopefully it will prove as useful and versatile to others as it has been for us.
Features of the Code
✷Binary (‘Press’) tree structure for calculation of gravitational forces by multipole expansion
✷SPH for gas dynamics
✷Individual particle time steps
✷Leapfrog integrator and 2nd order Runge-Kutta integrator implemented
✷Periodic boundary conditions using Ewald’s method
✷Point masses, to be used e.g. as sink particles in star formation
✷Optional use of GRAPE hardware.
✷Written in standard Fortran-95
✷Parallelized for shared memory architectures using OpenMP.
✷Very modular code structure, easy to include additional modules