31 Commits

Author SHA1 Message Date
Bryn Lloyd
a931afa7d0 Merge branch 'master' into feature/extend_nglib_api 2023-05-30 14:45:20 +02:00
Matthias Hochsteger
b694b4667a rework build system, separate gui and non-gui code
move fieldlines code to meshing dir

move visualization function pointers to meshing directory

DLL_HEADER -> NGGUI_API in visualization lib

move soldata.hpp to meshing

update occ, no freetype necessary anymore
2022-05-05 14:39:31 +02:00
Matthias Hochsteger
b2fea6dec1 Clean up multiple definitions of DLL_HEADER
- define DLL_HEADER only once in mydefs.hpp
- define/use NGLIB_API in nglib.h
- use NGCORE_API_EXPORT for explicit export of symbols
2021-02-18 14:53:38 +01:00
Christopher Lackner
ef501166e6 fix warning about multiple definition of dll_header 2019-12-06 11:51:12 +01:00
Bryn Lloyd
ba5b3a07dd expose Ng_SetTerminate for nglib 2019-05-29 16:35:39 +02:00
Bryn Lloyd
f242926f72 implement missing functions for 2d mesh optimization 2019-03-05 13:04:54 +01:00
Bryn Lloyd
0be72fb374 add missing ingredient to tag faces for preserving/reconstructing face ids (surfnr, bcnr, domin, domout) via FaceDescriptor 2019-03-04 14:46:11 +01:00
Bryn Lloyd
b19a17f2d7 implement meshing from 2D geometry
fix vtk writer for 2d meshes
extend vtk writer to write also domain index per cell
2019-03-01 22:21:55 +01:00
Bryn Lloyd
353795062c add function signatures (implementation missing) of API needed for 2D meshing
- > add temporary file, where these functions are implemented
2019-03-01 16:48:32 +01:00
Bryn Lloyd
85fcc6843e expose stl meshing options (algorithm for auto-detecting feature edges) 2019-03-01 16:40:28 +01:00
Bryn Lloyd
533e5dedac typo 2019-03-01 15:00:41 +01:00
Bryn Lloyd
292f8556a4 expose mesh optimization parameters, e.g. to allow only smoothing or swapping 2019-03-01 10:05:24 +01:00
Bryn Lloyd
227d297f78 add support for exporting mesh to user file format (at least some of the formats available internally) 2019-03-01 09:43:47 +01:00
Bryn Lloyd
63d1380bdb add Ng_OptimizeVolume
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
2019-02-27 20:32:57 +01:00
Philippose Rajan
c7ba1a6dc8 * Converted the minimum edge length used for subdividing geometry edges during the meshing phase into a user defined parameter accessible from the GUI 2014-01-25 21:17:16 +00:00
Philippose Rajan
b20dda8e4a * Nglib: Added the capability to merge a VOL mesh file into an already existing mesh in memory 2010-09-16 21:31:08 +00:00
Philippose Rajan
3e8f2ab440 * Added support for extracting 8 node Quad elements
* Modified the Ng_GetElement_2D function to return also the element type giving it the same base functionality as Ng_GetSurfaceElement, but with the capability of returning the region index too (called matnum)
2010-09-15 20:52:20 +00:00
Philippose Rajan
c412992519 * Added the capability of generating Quad dominated 2D Meshes in Nglib
* Added the capability of generating Second Order 2D / 3D Meshes in Nglib
* More Meshing Parameters now taken into account in Nglib
* Streamlined the process of transferring the locally defined meshing parameters to the internal meshing parameters structure using a single function called "Transfer_Parameters"
* Formatting changes to make the gaps between function definitions consistent
2010-09-14 21:24:15 +00:00
Joachim Schoeberl
768ef87cac suggestions by E.A. (salome) 2010-05-18 11:28:15 +00:00
Philippose Rajan
8f59f8bdf8 * Added function to explicitly delete OCC Geometry in nglib
* Removed unnecessary "BRepMesh_IncrementalMesh" call in nglib which was causing a Memory Leak
* Miscellaneous streamlining of the nglib OCC functions
2010-05-05 18:42:51 +00:00
Joachim Schoeberl
b01e0e25c0 refinement also for occ 2009-11-01 12:02:05 +00:00
Joachim Schoeberl
dfebc96d49 mesh refinement from nglib 2009-11-01 11:49:20 +00:00
Philippose Rajan
4a3a49f5fd * Nglib now supports surface and volume meshing of OCC geometry
* OCC code cleanup
* Added to Nglib source code documentation
2009-09-01 21:36:09 +00:00
Philippose Rajan
3551550857 * Corrected error in OCC part of nglib header - header now has no external dependencies 2009-08-30 12:37:40 +00:00
Joachim Schoeberl
33f40b8e9a small fixes 2009-08-29 09:36:14 +00:00
Philippose Rajan
0b26451049 * Initial Nglib OCC support trials
* Added a new compile target for Nglib (Release(OCC))
* Netgen and Nglib solution files updated to remove non-existent files and add new source files into project
2009-08-28 10:52:03 +00:00
Philippose Rajan
28c72a85b2 * More Doxygen documentation for nglib
* Rearranging functions into logical groups
2009-03-09 23:01:50 +00:00
Philippose Rajan
b9a74d3586 * Doxygen documentation added for nglib exported functions.
* Restructured the code for improved readability.
2009-02-16 22:27:43 +00:00
Philippose Rajan
1f258e5dab * Enable Windows DLL / lib creation for the nglib system.
* Implemented by adding a dllexport / dllimport header for all exported functions to indicate to windows which functions are to be made available via the library.
* System change driven via WIN32 define, making it transparent to Linux builds.
2009-02-15 20:22:04 +00:00
Joachim Schoeberl
91d5c9888d ARRAY -> Array 2009-01-25 12:35:25 +00:00
Joachim Schoeberl
0bae83e1f6 build Netgen - library 2009-01-18 14:47:12 +00:00