-
Notifications
You must be signed in to change notification settings - Fork 132
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
WIP: extend nglib api #28
base: master
Are you sure you want to change the base?
Conversation
add Ng_AddLockedPoint extend API so user can set/get domain for element (optional -> does not break existing API) the commit also (optionally) allows to send log messages (cout, cerr, testout) to a Null stream buffer. this allows applications to make netgen quiet
…the formats available internally)
… meshing - > add temporary file, where these functions are implemented
fix vtk writer for 2d meshes extend vtk writer to write also domain index per cell
…e ids (surfnr, bcnr, domin, domout) via FaceDescriptor
The api is quite old and I think it would be better/easier to just build against the C++ code. Is there a reason why you do not want that? |
@ChrLackner Do you mean I should directly link against ngcore, and directly use all the classes from the different parts of netgen, or would you use the nginterfaces.h interface instead? I don't think it supports all I need from nglib.h either. I have for a long time been using the nglib interface with local modifications and wanted instead move those local changes to the main branch. |
Yes I would suggest linking against the c++ libraries. If you want you can write me at [email protected] and we can work out a stable interface that supports what you need, but we would like to not expand the nglib api. It provides a very small and stable api, but since we do not test, improve and maintain it (or at least as less as possible) we want to keep it small. If we expand it we would need to keep it up to date (which we do not really have the resources for) |
This is work in progress. I am still in the process of testing the api. The api changes are backwards compatible, i.e. new arguments are optional.
Please feel free to comment, or give suggestions.
new features:
todo: