SCIInstitute / Cleaver1

:warning: OBSOLETE | A MultiMaterial Tetrahedral Meshing Library and Application
1 stars 1 forks source link

Expose parameters to the octree construction #6

Open jalevine opened 10 years ago

jalevine commented 10 years ago

Another useful feature would be to allow cleaver to build meshes based on a more flexible octree.

Some users have requested to me a uniform background grid instead of an octree. We can emulate this by refining the octree fully and it would be an easy option to add (although perhaps this could be done more efficiently).

It would also be nice to control the level of adaptivity, perhaps by offering the user a minimum depth for all branches of the octree. This is important because for certain FEM sims, the size of elements is important. If they become too larger, it can violate other assumptions in the simulation even if the elements are good quality in terms of angles.

Another related feature would be to set a minimum cell size as well, which if it was larger than 1 would indicate something like "downsampling" the material images. Of course, a user could just do that externally to cleaver too.