Skip to content
Snippets Groups Projects
Commit ed9c96d2 authored by William Roper's avatar William Roper
Browse files

debugging neighbour cells

parent 907d0933
Branches
No related tags found
1 merge request!1500Draft: Initial merge request for zoom branch
...@@ -433,10 +433,9 @@ void find_neighbouring_cells(struct space *s, const int verbose) { ...@@ -433,10 +433,9 @@ void find_neighbouring_cells(struct space *s, const int verbose) {
const int bkg_cell_offset = s->zoom_props->tl_cell_offset; const int bkg_cell_offset = s->zoom_props->tl_cell_offset;
message("Got here"); message("Got here");
message("theta_crit=%f", s->e->gravity_properties->theta_crit);
/* Get some info about the physics */ /* Get some info about the physics */
const double theta_crit_inv = 1. / s->e->gravity_properties->theta_crit; const double theta_crit_inv = 1. / 0.7;
/* Maximal distance from shifted CoM to any corner */ /* Maximal distance from shifted CoM to any corner */
const double distance = 2. * cells[bkg_cell_offset].width[0] * theta_crit_inv; const double distance = 2. * cells[bkg_cell_offset].width[0] * theta_crit_inv;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment