Closed ezrayst closed 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
Describe the PR Generate random particles within an element as first step to solve Issue #609.
General design of the random generator:
QuadrilateralRandomQuadratures
assign_quadrilateral
incell
to includegenerator_type
with default string value of "gauss"Alternative design:
geometry
but the design of the code would be rather messyThings 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:
Example of generation of 4 particles per cell: