Use Cook's membrane example - only works with equally distributed points. Figure 2.9 - the material discretization is different than what Ben has because the volume for each particle is different in Ben's paper.
Keon first discretizes a rectangle. Then he picks in line 112 only the points that lie in the Cook's membrane. (to make all the material points equally distributed in the domain. )
maybe use ex0 because that has no fluids;
Make sure to match the number of particles I have in generate_sheets2d.cpp and the input2d ( M+1 here for ndivx);
Section 2.4.2 - Ben's thesis
Use Cook's membrane example - only works with equally distributed points. Figure 2.9 - the material discretization is different than what Ben has because the volume for each particle is different in Ben's paper. Keon first discretizes a rectangle. Then he picks in line 112 only the points that lie in the Cook's membrane. (to make all the material points equally distributed in the domain. )