Clump::updateProperties discretization not defined robustly
Bug #1474956 reported by
Bruno Chareyre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Confirmed
|
Wishlist
|
Bruno Chareyre |
Bug Description
Most likely the reason for performance drop reported in [1]
dx in the voxel decomposition is minRad/
The problem is when a sphere of radius 1 is member of a clump which aabb has the size 1000 (for instance).
Using the minimal discretization=1 gives a number of voxel = 1e9 in such case and it is no possible to go below this number.
I think discretization should refer to aabb size, not member size. I have this fixed locally, let me know if you agree with the fix.
Changed in yade: | |
importance: | Undecided → Medium |
assignee: | nobody → Bruno Chareyre (bruno-chareyre) |
status: | New → Confirmed |
Changed in yade: | |
importance: | Medium → Wishlist |
To post a comment you must log in.
Hi,
I agree, that in some special cases aabb should be used for discretization, but...
... it should be downward compatible (user can decide if he/she want the discretization this way or this way ... so a new bool is needed in Clump:: updatePropertie s: discretionAabb = false [default])
... it needs a lot of extra code modification (each function, that calls updateProperties directly or indirectly)
... it needs an update of clump section in the DEM background manual [1]
Regards,
Christian
[1] https:/ /yade-dem. org/doc/ formulation. html#clumps- rigid-aggregate s