Skip to content

Commit

Permalink
Definition of f_occup in common and in precision struct cclassy
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongwan Liu committed Oct 14, 2019
1 parent 74d57d7 commit 619d84d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"python.pythonPath": "/Users/hongwan/anaconda/envs/python3/bin/python",
"python.dataScience.jupyterServerURI": "local"
}
3 changes: 3 additions & 0 deletions include/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,9 @@ struct precision

double recfast_H_frac; /**< governs time at which full equation of evolution for Tmat is used */
/* @cond INCLUDE_WITH_DOXYGEN */

double (*f_occup)(double E, double rs);

FileName hyrec_Alpha_inf_file;
FileName hyrec_Beta_inf_file;
FileName hyrec_R_2pto2s_inf_file;
Expand Down
1 change: 1 addition & 0 deletions python/cclassy.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cdef extern from "class.h":

cdef struct precision:
double recfast_fudge_H
double * f_occup
FileName hyrec_Alpha_inf_file
FileName hyrec_Beta_inf_file
FileName hyrec_R_2pto2s_inf_file
Expand Down

0 comments on commit 619d84d

Please sign in to comment.