Option added to render and interpolation to impose a minimum smoothing length based on the grid size.
This addresses the problem of particles not contributing to any grid cell if their smoothing length is small enough. Guarantees particles will contribute to at least one grid cell.
The minimum smoothing length is chosen to be 0.5 * grid cell size (max between x/y if aspect ratio is not 1:1).
Option added to render and interpolation to impose a minimum smoothing length based on the grid size.
This addresses the problem of particles not contributing to any grid cell if their smoothing length is small enough. Guarantees particles will contribute to at least one grid cell.
The minimum smoothing length is chosen to be 0.5 * grid cell size (max between x/y if aspect ratio is not 1:1).