Added post-Newtonian parameters to the config file

This commit is contained in:
Yohai Meiron 2020-03-21 22:52:13 -04:00
parent 9b900eff6e
commit d7332be188
4 changed files with 60 additions and 20 deletions

View file

@ -400,9 +400,9 @@ return - 0 if everything OK
// #ifdef ADD_PN_BH
double C_NB = 477.12;
int usedOrNot[7] = {1, 1, 1, 1, 0, 0, 0};
// double C_NB = 477.12;
//
// int usedOrNot[7] = {1, 1, 1, 1, 0, 0, 0};
// double a_pn1[7][3], adot_pn1[7][3],
// a_pn2[7][3], adot_pn2[7][3];
@ -1339,6 +1339,8 @@ int main(int argc, char *argv[])
FILE *out;
double C_NB;
int usedOrNot[7];
/* INIT the rand() !!! */
srand(19640916); /* it is just my birthday :-) */
@ -1364,6 +1366,8 @@ int main(int argc, char *argv[])
/* read the input parameters to the rootRank */
config = new Config("phigrape.conf");
C_NB = config->pn_c;
std::copy(config->pn_usage.begin(), config->pn_usage.end(), usedOrNot);
if (myRank == rootRank) {