PHYSICS 141/241

Winter 2013

Laboratory Session VI.




1. The Kuijken-Dubinski Galaxy Modeling Package

We will use the code of Konrad Kuijken and John Dubinski to generate disk-bulge-halo galaxies. The method is described in this paper .

The complete source package (mostly f77) is in the tar file galactics.tar.gz .

  • Getting the source and unpacking (no pgplot in tar file)

  • Create directory tree galaxy: gunzip -d -c galaxy.tar.gz | tar xvf -

  • use gfortran for compilation from /opt/local/bin/

    read the README file

  • Using the Makefile in /src directory you issue there:

  • make all

  • make install

  • change to MilkyWay/A directory and issue:

  • make galaxy


  •  First test of the BULGE

  • We will use the data file bulge.data to run the Aarseth code with it.

  • Visualization with DX

  •  First test of the HALO

  • We will use the data file halo.data to run the Aarseth code with it.

  • Visualization with DX

  •  First test of the DISK

  • We will use the data file disk.data to run the Aarseth code with it.

  • Visualization with DX

  •  First test of the complete GALAXY

  • We will use the data file galaxy.data to run the Aarseth code with it.

  • Visualization with DX

  • 2. Treecode User Guide (Fortran Language)

    POSTSCRIPT DOCUMENT

    .


    3. Treecode User Guide (C Language)

    PDF DOCUMENT

    .


    4. Treecode in F77 and C