Skip to content

HaloProfile is a c/c++ library package that computes the concentration - mass relation of dark matter halos

Notifications You must be signed in to change notification settings

bsuman79/HaloProfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaloProfile

HaloProfile is a c/c++ library package that computes the concentration - mass relation of dark matter halos, given the individual halo properties (typically the output generated by running halo finder)

HaloProfile is released under the MIT software liscense (see LISCENSE).

Prerequisites

Gnu Scientific Library (GSL) c/c++ compiler

Descriptions

The package contain 4 header files, 6 c files, 6 c++ files, 1 input parameter file- input.conc, one makefile-Makefile and one driver routine- driver_conc.cxx

Depending on the output of the halo finder, you need to modify concentration.cxx lines-59-71 to properly read in the halo files and conc.h (num_col= number of columns in sodproperties files)

Installation and running

  1. Download the package and place it anywhere you like
  2. Open the Makefile, edit CFLAGS and CLIB to make sure you have the correct path to GSL insalled in your machine.
  3. do make clean, then make, this creates the executable
  4. run : ./driver_conc.exe < input.conc.0

About

HaloProfile is a c/c++ library package that computes the concentration - mass relation of dark matter halos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published