Skip to content

Commit

Permalink
Made a more reasonable BAM_EPSILON
Browse files Browse the repository at this point in the history
  • Loading branch information
kcroker committed Feb 8, 2016
1 parent 78d9c05 commit c60f7e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions allvars.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ typedef long long peanokey; /*!< defines the variable type used for Peano-H
#define ELECTRONCHARGE 4.8032e-10
#define HUBBLE 3.2407789e-18 /* in h/sec */

/* KC 8/9/14 BAM Halo dimensionless epsilon. G looked like it was set to one internally
as far as the acceleration computation in forcetree.c went. Not sure about c...
*/
#define BAM_EPSILON 1.31e-2

/* Some conversion factors */

#define SEC_PER_MEGAYEAR 3.155e13
Expand Down
5 changes: 5 additions & 0 deletions ngravs.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
#ifndef YUKAWA_IMASS
#define YUKAWA_IMASS 60.0
#endif

#ifndef BAM_EPSILON
#define BAM_EPSILON 1.31e-6
#endif

//
// 1/YUKAWA_IMASS sets the suppression *length* scale wrt 1/2 box length
//
Expand Down

0 comments on commit c60f7e1

Please sign in to comment.