cb-geo / mpm

CB-Geo High-Performance Material Point Method
https://www.cb-geo.com/research/mpm
Other
243 stars 83 forks source link

Generate random particles #614

Closed ezrayst closed 4 years ago

ezrayst commented 4 years ago

Describe the PR Generate random particles within an element as first step to solve Issue #609.

General design of the random generator:

Alternative design:

Things to do in this PR (this will notsolve issue #609 entirely)

Things to do in next PR (to complete issue #609)

Example of generation of 25 particles per cell: image

Example of generation of 4 particles per cell: image

kks32 commented 4 years ago

@ezrayst A discussion or a Request for comments is for discussion before a PR and would like for it to happen in an issue before we write code. PR shouldn't be the place where we have a general discussion of how to implement a new feature, especially when you have spent time coding it. I'm closing this issue, as this is not a possible way to solve the random point generation. We need more discussion so please open an RFC