Commit Graph

344 Commits

Author SHA1 Message Date
Joachim Schoeberl
f0f57bfa52 read unv file update 2011-07-20 15:08:39 +00:00
Joachim Schoeberl
40eae2fbae load 2d meshes in parallel 2011-07-16 23:13:26 +00:00
Joachim Schoeberl
496d33ff17 parallel polish 2011-07-15 16:26:32 +00:00
Joachim Schoeberl
cad298149d parallel / non parallel 2011-07-15 08:04:25 +00:00
Joachim Schoeberl
342983ee75 parallel topology simplification 2011-07-14 21:36:19 +00:00
Joachim Schoeberl
c369b13d23 cmd fix 2011-07-13 18:38:02 +00:00
Joachim Schoeberl
3aeb3d79b9 improved parallel mesh loading 2011-07-13 18:32:11 +00:00
Joachim Schoeberl
70292000c3 interface 2011-07-13 18:27:17 +00:00
Joachim Schoeberl
28f59f7bcf parallel communication tags 2011-07-06 21:08:58 +00:00
Joachim Schoeberl
2d15141187 parallel mesh 2011-07-04 12:29:18 +00:00
Joachim Schoeberl
672cea23ef parallel mesh 2011-07-04 12:29:02 +00:00
Joachim Schoeberl
a19fe515b0 parallel bug fix 2011-06-30 13:53:35 +00:00
Joachim Schoeberl
a64aa8226e parallelization 2011-06-30 12:49:38 +00:00
Joachim Schoeberl
3d909c8195 eliminate some warnings 2011-06-26 07:42:55 +00:00
Joachim Schoeberl
660f31d7cd parallelization 2011-06-26 07:35:08 +00:00
Joachim Schoeberl
580f4b9f52 parallel ngs 2011-06-16 17:55:08 +00:00
Joachim Schoeberl
8c13fb1fdb -DPARALLEL in interface 2011-05-13 11:43:25 +00:00
Joachim Schoeberl
7b8fb0dfd3 remove warnings 2011-05-13 11:42:15 +00:00
Joachim Schoeberl
4b249a738f fix warnings, parallel 2011-05-13 11:41:53 +00:00
Joachim Schoeberl
53f1264340 loop variables 2011-05-13 11:40:32 +00:00
Joachim Schoeberl
32579afb00 mesh partitioning drawing 2011-05-13 11:36:50 +00:00
Joachim Schoeberl
f7566eb067 test 2011-05-12 18:14:55 +00:00
Joachim Schoeberl
cc81dab63e rational spline weights to obtain circles 2011-04-28 19:41:22 +00:00
Joachim Schoeberl
63022fe1b9 bux fix: geometry load circle 2011-04-28 18:36:03 +00:00
Joachim Schoeberl
667adb5ae0 torus implicit function 2011-04-28 18:35:17 +00:00
Joachim Schoeberl
b59a76c10e crosspoint calculation 2011-04-28 18:34:56 +00:00
Joachim Schoeberl
03f0f97c23 octree box visualization 2011-04-28 18:33:43 +00:00
Joachim Schoeberl
b9ab927f23 torus 2011-04-28 18:33:19 +00:00
Joachim Schoeberl
b1bd297775 don't invert 2011-04-19 16:04:07 +00:00
Joachim Schoeberl
1ab9a509e5 move itnerface 2011-03-09 15:47:04 +00:00
Joachim Schoeberl
c21e89de37 moved file 2011-03-09 15:45:43 +00:00
Joachim Schoeberl
f069933fc3 nglib / nginterface interfaces 2011-03-07 16:38:43 +00:00
Joachim Schoeberl
ad3b2f5300 geom2d as dll 2011-03-03 22:03:01 +00:00
Joachim Schoeberl
3d2f7d7457 dll_headers for geometry dll (only 2D yet) 2011-03-03 21:42:20 +00:00
Joachim Schoeberl
16f5742c37 integer parameter 2011-03-03 21:35:06 +00:00
Joachim Schoeberl
1f70905cc8 no OPENGL define anymore 2011-03-02 21:43:47 +00:00
Joachim Schoeberl
d6e04f72ae fix for visual 2011-03-02 21:42:32 +00:00
Joachim Schoeberl
ab0077c609 meshing headers 2011-03-02 20:50:39 +00:00
Joachim Schoeberl
807d091d9e header files 2011-02-28 14:17:25 +00:00
Joachim Schoeberl
9a043aae26 geometry restructure 2011-02-28 13:50:21 +00:00
Joachim Schoeberl
6e5e049905 geom2d fixes 2011-02-28 13:34:54 +00:00
Joachim Schoeberl
e16ddbc83b move splines 2011-02-28 13:19:34 +00:00
Joachim Schoeberl
901bd944a2 move splines 2011-02-28 13:13:18 +00:00
Joachim Schoeberl
5204be0657 spline files restructured 2011-02-28 12:59:27 +00:00
Joachim Schoeberl
55282bac84 geometry format modularization 2011-02-18 22:50:58 +00:00
Joachim Schoeberl
b0f637862b parallel 2011-02-18 19:58:17 +00:00
Joachim Schoeberl
2261c36684 parallel visualization 2011-02-15 16:22:05 +00:00
Joachim Schoeberl
894df4cb84 parallel merges 2011-02-14 13:01:51 +00:00
Joachim Schoeberl
846542c45c parallel programming 2011-02-14 12:27:18 +00:00
Philippose Rajan
789b56179e * Not worked on it for too long.... commit for continuing work in the future... Note: Does not effect any other parts of Netgen! 2011-02-13 16:56:44 +00:00
Joachim Schoeberl
49378768b4 reset surface element linked list when deleting surface elements 2011-01-31 18:22:44 +00:00
Joachim Schoeberl
0e5e2c7883 minor adaption 2011-01-20 19:58:57 +00:00
Joachim Schoeberl
ad1eac28c7 remove output 2011-01-15 05:10:52 +00:00
Joachim Schoeberl
59f84d3c59 surface mesh visualization 2011-01-14 20:50:12 +00:00
Joachim Schoeberl
1b4c7be876 occ as shared lib 2011-01-14 17:03:35 +00:00
Joachim Schoeberl
f3c60f0e04 geometry restructure, makefile fixes 2011-01-10 20:31:43 +00:00
Joachim Schoeberl
b95acb082c geometry restructuring 2011-01-10 20:18:01 +00:00
Christoph Lehrenfeld
f99db8c784 redo second order-refinement after uniform refinement 2010-10-17 10:44:39 +00:00
Joachim Schoeberl
834937c671 delaunay meshing 2010-09-23 14:07:12 +00:00
Philippose Rajan
a249e8a42e * Added a new overloaded function for the MakeSecondOrder function: void MakeSecondOrder (Mesh & mesh) const; 2010-09-14 21:21:04 +00:00
Christoph Lehrenfeld
168782c54f eltype-check-bug-fix due to armin 2010-09-02 13:45:05 +00:00
Philippose Rajan
4fbca00961 * Improved the Extended STL export code to hopefully speed it up substantially 2010-08-18 19:54:12 +00:00
Philippose Rajan
196caf7b67 * Initial version of an extended STL export format for splitting up mesh faces into separate "solid" entities based on the boundary condition number
* This extended format has been added in addition to the normal STL export format of Netgen
* The extended format can also be read by Netgen without any changes to the STL reader code
* ToDo: The code needs to be optimised and sped up.... current implementation is not sufficiently elegant!
2010-08-17 20:59:18 +00:00
Philippose Rajan
e356a50199 * New feature: View mesh surface elements of selected face colours
* Added a new menu entry under the "special" menu for allowing users to inspect the face colours existent in a mesh
2010-08-09 18:03:25 +00:00
Philippose Rajan
5bf0c8d5e4 * Also account for individual element visibility flag when generating the mesh wire-frame and filled elements lists for the OpenGL mesh visualisation. 2010-08-09 18:00:30 +00:00
Philippose Rajan
537f1ba164 * Added a flag into the surface element class to control the visibility of each element individually.
* Added functions to access the visibility flag.
* By default the visibility flag is set to "1" implying that the element is visible.
2010-08-09 17:58:24 +00:00
Joachim Schoeberl
fec79cb2e3 fix for curved element check 2010-07-30 07:51:58 +00:00
Joachim Schoeberl
ea627c60e6 bug fix in discretpoints - curve 2010-07-29 09:37:14 +00:00
Joachim Schoeberl
84b4817a3d curved elements access functions
2d meshing cleaning (a bit)
2010-07-20 20:04:16 +00:00
Joachim Schoeberl
75a6623419 2d meshing improvements 2010-07-19 12:00:52 +00:00
Philippose Rajan
1316c224d2 * Bug-fix for division by zero error in the OpenCascade "Dist" function
* Added further "division by zero" protection at various other locations
2010-06-23 18:56:42 +00:00
Philippose Rajan
9c9c630df0 * Bugfix (Thanks to screen-name "Vaina"): Mesh face highlighting was not updated when clicking on the "next" and "prev" buttons in the "Edit Boundary Conditions" dialog box. 2010-05-28 17:09:01 +00:00
Joachim Schoeberl
76c7f1abc0 version numbers 2010-05-20 21:07:19 +00:00
Joachim Schoeberl
768ef87cac suggestions by E.A. (salome) 2010-05-18 11:28:15 +00:00
Joachim Schoeberl
33322c741c interface 2010-05-17 09:00:30 +00:00
Joachim Schoeberl
cc66083309 change to size_t 2010-04-22 12:28:55 +00:00
Joachim Schoeberl
9c790cb1eb version 4.9.13-RC 2010-04-15 21:06:22 +00:00
Joachim Schoeberl
0fb00f2197 remove empty lines 2010-04-09 08:01:13 +00:00
Joachim Schoeberl
3c53f52f60 fix in revolution primitive (orientation of spline curve) 2010-04-06 15:00:19 +00:00
Joachim Schoeberl
06eb9902be version 4.9.13-dev 2010-04-04 06:26:26 +00:00
Joachim Schoeberl
9b6e013ca0 extrusion bug fix 2010-04-04 06:24:24 +00:00
Joachim Schoeberl
775b8401e5 p-smoothing for p-refinement 2010-03-25 18:06:50 +00:00
Joachim Schoeberl
6cdaec8ece meshing from surface mesh bug fix 2010-03-23 12:52:07 +00:00
Joachim Schoeberl
7862ac9a12 points on 2D boundary 2010-03-22 21:41:07 +00:00
Joachim Schoeberl
b5126a479b improvement for clippint plane visualization 2010-03-22 10:35:54 +00:00
Joachim Schoeberl
d8728ec8fc error message when CSG visualization fails 2010-03-18 16:00:34 +00:00
Joachim Schoeberl
fc095693d9 cone bug fix 2010-03-16 22:16:47 +00:00
Philippose Rajan
0bf7d1228e * Disabled creation of the debugging file "occmesh.rep" when meshing OpenCascade Geometry 2010-03-08 23:14:56 +00:00
Joachim Schoeberl
9f8f784370 meshinifile in userdir 2010-03-08 20:07:21 +00:00
Joachim Schoeberl
1b275bf988 fix crash on solution double click (no colormeshsize) 2010-03-04 13:15:52 +00:00
Joachim Schoeberl
e8db971e4d version 4.9.12 2010-03-01 20:23:55 +00:00
Philippose Rajan
083330c033 * Activated Element size weights in OpenCascade meshing
* Activated element error power other than "2" in meshing tools
2010-02-26 23:11:13 +00:00
Philippose Rajan
96273c8861 * Added size based mesh visualisation also for Volume Elements 2010-02-26 22:31:18 +00:00
Joachim Schoeberl
36e517fbb1 fixes for curved elements 2010-02-26 17:06:00 +00:00
Joachim Schoeberl
8902ef38d0 fixes with curved prisms 2010-02-22 19:28:00 +00:00
Philippose Rajan
19db925ed2 * Bugfix: Surface Mesh colouring based on mesh size was not working due to a local redefinition of the variables "minh" and "maxh".... corrected
* Bugfix: Displaying tets in the domain switched surface mesh colouring mode from GL_SMOOTH to GL_FLAT even when not showing the tets anymore.... corrected
* Changed from logarithmic scaling to linear scaling for mesh size based colouring
2010-02-15 22:41:02 +00:00
Joachim Schoeberl
17a0d73514 curved prisms fix 2010-02-08 12:39:40 +00:00
Joachim Schoeberl
557721fc46 bug fix in revolution 2010-01-14 16:56:13 +00:00
Philippose Rajan
e3117cf206 * Bugfix: The feature for OCC Geometry to specify the maximum meshsize for each face had a bug which clamped the
mesh size for faces which were not selected by the user to the global maximum mesh size when first invoked.
  ..... This bug has now been fixed
2010-01-14 14:02:59 +00:00
Joachim Schoeberl
37e537a67c template instantiation fix 2009-11-25 09:30:28 +00:00
Joachim Schoeberl
83e8b1ec53 mesh optimization improvements 2009-11-16 08:18:00 +00:00
Joachim Schoeberl
f4bfd278c3 remove duplicated header declaration 2009-11-01 10:51:22 +00:00
Philippose Rajan
ddae59ff57 * OpenFOAM 1.5+ Export:
- Function / Variable names made consistent with Netgen coding styles
  - More code documentation
  - Added a comment in the exported files to indicate mesh creation using Netgen

* VC++ Proj File: 
  - Enabled "Whole Program Optimization" for Visual C++ Compiler
  - Enabled "Link Time Code Generation" for Visual C++ Linker
2009-11-01 10:50:29 +00:00
Joachim Schoeberl
a6b7f58a65 quicksort for CSG - special point sorting 2009-11-01 10:49:20 +00:00
Joachim Schoeberl
a5aec7630c topology 2009-10-31 21:03:52 +00:00
Philippose Rajan
f0a97767bd * OpenFOAM 1.5+ Export: Even further optimisations, and more code documentation added 2009-10-31 19:53:43 +00:00
Philippose Rajan
9e64043989 * OpenFOAM 1.5+ Export: Further optimisation and efficiency improvements (over two times faster than the previously committed version!) 2009-10-30 22:25:36 +00:00
Philippose Rajan
ef79ddd30f * OpenFOAM 1.5+ Export function optimised for speed / efficiency
* Small usability improvements to "menustat.tcl" file
2009-10-29 23:51:32 +00:00
Joachim Schoeberl
f6823a4769 QuickSort 2009-10-28 00:26:33 +00:00
Joachim Schoeberl
20c2f2757e quicksort 2009-10-28 00:22:10 +00:00
Joachim Schoeberl
94a06d8cae quicksort for arrays 2009-10-28 00:04:19 +00:00
Philippose Rajan
e2f16032cc * OpenFOAM 1.5+ Export capability added
* Relevant changes to Makefile.am and MSVC project files
* Pressing the "Quit" toolbar button now pops up a dialog box
2009-10-27 23:11:15 +00:00
Philippose Rajan
b2e8610f90 * Changes to the Boundary Layer generation system
* More user feedback when saving and exporting mesh files to disk
2009-10-27 23:04:42 +00:00
Joachim Schoeberl
6f39164242 reduced memory requirement for the setup of topology faces 2009-10-27 18:14:45 +00:00
Joachim Schoeberl
aa805dfafe geometry info for elliptic-cylinder 2009-10-12 21:41:54 +00:00
Joachim Schoeberl
1600d09c53 bug fix for surface-element lists 2009-10-08 15:36:46 +00:00
Joachim Schoeberl
dd50309393 bug fix for surface-element lists 2009-10-08 15:34:57 +00:00
Philippose Rajan
3abc034f09 * Smallest assigned boundary condition number corrected from "0" to "1" in order to maintain compatibility with NgSolve
* Improved code consistency between Automated assignment and Profile based assignment algorithms
* More informative messages
2009-10-04 15:19:14 +00:00
Philippose Rajan
0d1f18749d * Temporarily fixed bug: array "facedecoding" gets corrupted after converting a mesh to second order, subsequently causing a crash on using the function "GetSurfaceElementsOfFace"
-- Corrected by uncommenting a previous approach used to obtain the surface elements of a face, and commenting out the currently used code till further clarification
2009-10-04 15:15:57 +00:00
Philippose Rajan
df79bea6bd * Code cleanup and formatting
* Included error checking when opening OCC geometry files
* Attempt to retain face colours even after geometry healing
* Fixed a bug which did not clear face mesh size array when a new geometry was loaded
* More consistent code between STEP and IGES geometry load functions
2009-10-04 15:12:43 +00:00
Philippose Rajan
5701d9f094 * Updated version number for Windows to 4.9.12-dev 2009-10-04 15:07:07 +00:00
Joachim Schoeberl
c4c3773610 save export filetype 2009-09-22 07:12:00 +00:00
Joachim Schoeberl
9b88c07cb7 fix Makefile 2009-09-11 20:07:34 +00:00
Joachim Schoeberl
cfbaf15528 version 4.9.11 2009-09-11 17:31:40 +00:00
Joachim Schoeberl
e3104d36a6 version update 2009-09-08 20:37:33 +00:00
Joachim Schoeberl
7d961851fb prepare for togl2.0 2009-09-07 15:15:22 +00:00
Joachim Schoeberl
975d220350 namespaces, layers for 2D geometry 2009-09-07 11:50:13 +00:00
Joachim Schoeberl
c429a6cc6c 2d meshing 2009-09-07 10:23:23 +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
4fc9c40286 * Made the OCC subsystem independent of STLParameters (stlparam)
* Added a new class OCCParameters to handle OCC specific parameters
2009-08-30 12:36:11 +00:00
Joachim Schoeberl
f3fd0c6bbd fix double<complex> incompatibility 2009-08-29 09:29:09 +00:00
Joachim Schoeberl
41de0eaa1a remove moveable mem 2009-08-25 14:01:10 +00:00
Joachim Schoeberl
670509b52b baseclass NetgenGeometry 2009-08-25 14:00:20 +00:00
Joachim Schoeberl
aa2fda0ae2 legaltet 2009-08-25 08:44:03 +00:00
Joachim Schoeberl
8187d4f4e8 visual 2009-08-24 02:56:22 +00:00
Joachim Schoeberl
f14a04a837 basegeometry, disable moveablemem 2009-08-24 00:03:40 +00:00
Joachim Schoeberl
1420b8dc9e visualization fixes 2009-08-05 14:20:30 +00:00
Joachim Schoeberl
c685dd39bf remove some visual warning 2009-07-26 13:54:15 +00:00
Joachim Schoeberl
56ad80e09a 2d examples 2009-07-24 23:14:31 +00:00
Philippose Rajan
10a7476bb7 * Fixed OCC Visualisation
* OCC Visualisation was broken after changes to visualisation subsystem was made [SVN Rev: 174]
2009-07-24 09:32:42 +00:00
Joachim Schoeberl
18a0f73dc5 dll-export 2009-07-23 13:02:40 +00:00
Philippose Rajan
6e65bbe80a * Face Colours - Bugfix - Black (RGB: 0,0,0) is also a valid colour for a face!! 2009-07-22 22:59:20 +00:00
Joachim Schoeberl
63cacb0343 delete vector 2009-07-22 19:01:39 +00:00
Joachim Schoeberl
7c21eb94c7 windows fixes 2009-07-22 18:13:50 +00:00
Joachim Schoeberl
6d6b60fffe mesh smoothing 2009-07-22 16:05:58 +00:00
Joachim Schoeberl
f3043d2df9 improvement in visualization 2009-07-20 08:36:36 +00:00
Joachim Schoeberl
54341e5c53 Netgen/NGSolve interface - Version 2 2009-07-19 17:33:25 +00:00
Joachim Schoeberl
7ac50aacf6 new interface 2009-07-13 13:03:01 +00:00
Philippose Rajan
45e71b854e * Colour based boundary condition assignment now independent of OpenCascade function calls and can be used for all Netgen Geometry and mesh types
* Changed the names of the files and functions used to handle colour based boundary condition number assignment 
* Change made in order to make the functionality more generic and not dependent on OpenCascade functions / Geometry
2009-07-11 21:03:10 +00:00
Philippose Rajan
dd5ae2c395 * Added "Dist" and "Dist2" functions to the Vec3d class 2009-07-11 20:59:02 +00:00