-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TetGen 1.6, artifacts etc. #21
Comments
That'd be great :) Let me know if you have any questions! |
Whats the best place to discuss them, in case ? I assume here ? |
Yeah why not ;) |
Hi, I don't expect problems with the other architectures. The jll is temporarily registered in https://github.com/j-fu/PackageNursery. Some questions:
|
I think you can just have a file in the subfolder in yggdrasil via a
I'd just go for Any memory management improvements would be great :) |
Ok thanks.
|
I think that would be valuable, although not highest priority. Would be nice, to at least convert in the julia wrapper to whatever is supported. For double/single, I'd kind of hope we can rely on:
And using Cdouble doesn't seem to help with anything: |
Ok, moved the C wrapper to DirectorySource. So the plan is now:
At this stage, TetGenBuilder could be archived
|
Hi, got the first steps with the "Triangulate-like" interface running; We would have to agree about the naming of the different TetGenIO variants: Now there is:
I very much would like to rename RawTetgenIO to TetGenIO. In any case I see this as an additional part |
Hi may be I was too brief and a bit robust in my communication, so let me explain: What I meant by the additions to the API is now implemented in RawTetGenIO (besides of the local refinement stuff). RawTetGenIO essentially wraps the arrays returned by TetGen into Julia arrays. The API In Triangulate.jl is similar and works with a struct called TriangulateIO, without copying of data. Furthermore, in TetGen_jll.jl, TetGen has been patched so that new() and delete() are mapped on malloc() and free(), thus the Julia arrays now can get the ownership of the memory. I would not touch the existing API which as far as I understand converts the data from CPPTetGenIO to different variants of Meshes, and I assume it will evolve along with GeometryBasics. Do you see the existing TetgenIO as part of the API ? If so I of course would revert the renaming. I see various reasons for having an array based API along with the API based on the mesh structure:
What I would like to avoid is a situation like in the case of Triangulate/Triangle where there are two packages. |
Why don't you add this as PR to discuss things there? |
All of this is done, only waiting for TetGen 1.6.1 finalization by upstream. Closing this. |
Great work, thank you :) |
Hi, there is a new TetGen version 1.6 available.
Also, I would like to enhance the API in order to get more information out (e.g. cell, facet region numbers).
My ultimate plan is to use TetGen in addition to Triangle in SimplexGridFactory.jl .
Also, transition to artifacts would be cool.
I would volunteer to work on this in the next couple of months if nobody else plans to do so.
How do you see this ?
The text was updated successfully, but these errors were encountered: