Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
minor
  • Loading branch information
mariogrs authored and mariogrs committed May 13, 2018
1 parent b16c6ad commit 4772a27
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Sultan Hassan
= Description =

This program generates a simulation of the cosmological 21cm signal during the epoch of reionization.
To run just do: "./simfast21.x base_dir" where "base_dir" is the base directory where you want your simulation to reside (note that the files can be quite big). This base directory must contain the parameters file simfast21.ini (see the copy that comes with the distribution for further details on how to use this file).
To run just do: "./simfast21 base_dir" where "base_dir" is the base directory where you want your simulation to reside (note that the files can be quite big). This base directory must contain the parameters file simfast21.ini (see the copy that comes with the distribution for further details on how to use this file).
The program will create the following directory structure:
base_dir/density - contains the matter density (delta) box for z=0 and nonlinear boxes for all redshifts
/Velocity - Velocity at z=0
Expand Down
48 changes: 48 additions & 0 deletions simfast21
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/bin/sh

echo
echo SimFast21
echo Generating the simulation in directory: $1
echo

DIR="${0%/*}"

echo ------------------------------------------ Density Field ------------------------------------------
${DIR}/get_densityfield.x $1
echo
echo ------------------------------------------ Halos ------------------------------------------
${DIR}/get_halos.x $1
echo
echo ------------------------------------------ velocity field ------------------------------------------
${DIR}/get_velocityfield.x $1
echo
echo ------------------------------------------ Nonlinear density field ------------------------------------------
${DIR}/get_nldensity.x $1
echo
echo ------------------------------------------ Adjusted halo box ------------------------------------------
${DIR}/adjust_halos.x $1
echo
echo ------------------------------------------ SFRD box if needed ------------------------------------------
${DIR}/get_SFR.x $1
echo
echo ------------------------------------------ Ionization fraction ------------------------------------------
${DIR}/get_HIIbubbles.x $1
echo
echo ------------------------------------------ Epsilon over n ------------------------------------------
${DIR}/epsilonXon.x $1
echo
echo ------------------------------------------ IGM xe ------------------------------------------
${DIR}/integratexe.x $1
echo
echo ------------------------------------------ Xrays Temperature ------------------------------------------
${DIR}/integrateTempX.x $1
echo
echo ------------------------------------------ xalpha ------------------------------------------
${DIR}/xalpha.x $1
echo
echo ------------------------------------------ xc ------------------------------------------
${DIR}/xc.x $1
echo
echo ------------------------------------------ 21cm brightness temperature ------------------------------------------
${DIR}/t21.x $1
echo
2 changes: 1 addition & 1 deletion simfast21.ini
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ bubble_Nbins = 50
### Lya + xrays ###
#Compute Lya alpha coupling and gas temperature fluctations
#this should be set to T for accurate brightness temperature maps
#Set it to F only for redshifts lower than 9 or for comparision reasons at
#Set it to F only for redshifts lower than 9 or for comparison reasons at
#higher redshifts
use_Lya_xrays = F
# If use_Lya_xrays = T, SFR will be calculated down to the redshift specified here. Below that, the code just assumes T_S >> T_CMB
Expand Down

0 comments on commit 4772a27

Please sign in to comment.