-
- Downloads
Merge branch 'error_messages' into 'master'
Sanitize smoothing lengths Here is a proposal to address problems such as #211. At the start, after having read in the particles, constructed the top-level cells and all their progenitors we do a quick pass to sanitize the whole thing. If a top-level cell has more than 100000 particles (say) but has an `h_max` that prevents tasks associated with this cell from being split we do the following: - Compute the geometric mean and standard deviation of the smoothing lengths in that cell. - Limit the smoothing lengths of all particles in this cell to mean+4sigma (say). Recall that the cells are always split so that the scheduler will be able to push down the tasks at a later point. This procedure is applied to the top-level cells only. Does that make sense to you ? See merge request !258
No related branches found
No related tags found
Showing
- examples/parameter_example.yml 1 addition, 0 deletionsexamples/parameter_example.yml
- src/cell.c 53 additions, 0 deletionssrc/cell.c
- src/cell.h 1 addition, 0 deletionssrc/cell.h
- src/engine.c 2 additions, 0 deletionssrc/engine.c
- src/scheduler.c 2 additions, 1 deletionsrc/scheduler.c
- src/space.c 43 additions, 8 deletionssrc/space.c
- src/space.h 5 additions, 1 deletionsrc/space.h
Loading
Please register or sign in to comment