porespy icon indicating copy to clipboard operation
porespy copied to clipboard

`clearance` arg in pseudo packings not working as it should

Open jgostick opened this issue 2 years ago • 1 comments

I am trying to make a image of single points (r=1) with a clearance of 10, but the pseudo_gravity_packing won't let me. It complains that a negative particle size is not allowed or something like that. I guess the sanity check I put in there was not robust enough.

jgostick avatar Nov 16 '22 17:11 jgostick

There is actually a bug. The clearance is being removed from the particle radius after insertion, instead of being added to the background before insertion.

jgostick avatar Feb 09 '23 01:02 jgostick