Got rid of remaining manual allocations, moved some variable declarations to where they are needed
This commit is contained in:
parent
aef0f26878
commit
d9ed8e5131
8 changed files with 67 additions and 90 deletions
|
|
@ -99,7 +99,7 @@ void Black_hole_physics::adjust_post_newtonian(
|
|||
jrk2 += jrk2_corr;
|
||||
}
|
||||
|
||||
void Black_hole_physics::write_bh_data(double time_cur, const std::vector<double> &m, const std::vector<double3> &x, const std::vector<double3> &v, const std::vector<double> &pot, double3 a[], double3 adot[], double dt[])
|
||||
void Black_hole_physics::write_bh_data(double time_cur, const std::vector<double> &m, const std::vector<double3> &x, const std::vector<double3> &v, const std::vector<double> &pot, const std::vector<double3> &a, const std::vector<double3> &adot, const std::vector<double> &dt)
|
||||
{
|
||||
// This function logs data on the black hole(s). It uses both external data
|
||||
// (the arguments to this function) and optionall internal data to this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue