attcs / Octree

Octree/Quadtree/N-dimensional linear tree
MIT License
111 stars 13 forks source link

use of octree with surface meshes #31

Closed otaolafranc closed 1 month ago

otaolafranc commented 1 month ago

Hello, I found by chance this repo, and would like to compare the quality of the resulting meshes to snappyHexMesh results, which takes as input a surface mesh (for the geometry) and a background mesh, in the examples in the unit test, I didn't saw anything similar, is this a possible workflow of this code? thanks in advance

attcs commented 1 month ago

Hi, My implementation is solely focusing on space partitioning.

There are at least two major issues:

Overall, with a lot of hacks and tricks, you may able to reproduce Figure 4.11, but my opinion is that not worth the hussle. You can easily find many free mesh generator libraries.