Fixed PN force adjustment before PN parameters set
This commit is contained in:
parent
1fe119fdb2
commit
fcdafd94a6
1 changed files with 1 additions and 1 deletions
|
|
@ -449,11 +449,11 @@ int main(int argc, char *argv[])
|
||||||
black_hole_physics.set_softening(eps, config.live_smbh_custom_eps);
|
black_hole_physics.set_softening(eps, config.live_smbh_custom_eps);
|
||||||
black_hole_physics.adjust_softening(pot[0], pot[1], a[0], a[1], adot[0], adot[1]);
|
black_hole_physics.adjust_softening(pot[0], pot[1], a[0], a[1], adot[0], adot[1]);
|
||||||
}
|
}
|
||||||
if (config.binary_smbh_pn) black_hole_physics.adjust_post_newtonian(dt_min, a[0], a[1], adot[0], adot[1]);
|
|
||||||
}
|
}
|
||||||
if (config.binary_smbh_pn) {
|
if (config.binary_smbh_pn) {
|
||||||
black_hole_physics.set_post_newtonian(config.pn_c, config.pn_usage.data());
|
black_hole_physics.set_post_newtonian(config.pn_c, config.pn_usage.data());
|
||||||
if (config.pn_usage[6]) black_hole_physics.set_spins(config.smbh1_spin.data(), config.smbh2_spin.data());
|
if (config.pn_usage[6]) black_hole_physics.set_spins(config.smbh1_spin.data(), config.smbh2_spin.data());
|
||||||
|
black_hole_physics.adjust_post_newtonian(dt_min, a[0], a[1], adot[0], adot[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<double> pot_ext(N, 0.);
|
std::vector<double> pot_ext(N, 0.);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue