Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/model/multisphere' into tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
llaniewski committed May 8, 2024
2 parents 98b2465 + 79bc319 commit fcaf7e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/SolidGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class SolidGrid {
public:
BALLS* balls;
inline SolidGrid() {
depth = 0;
depth = 4;
}
void Build();
void InitFinder(finder_t&);
Expand Down
1 change: 0 additions & 1 deletion src/SolidGrid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ void SolidGrid<BALLS>::Build () {
}
size_t grid_size = 1;
for (int k=0; k<3; k++) grid_size = grid_size * (maxs[k]-mins[k]+1);
depth = 4;
while (TryDepth(grid_size)) {
depth = depth*2;
output("Too many particles per bin in SolidGrid. Increasing bin size to %d\n", depth);
Expand Down

0 comments on commit fcaf7e3

Please sign in to comment.