Commit Graph

1621 Commits

Author SHA1 Message Date
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
Philippose Rajan
87e74276f3 * Use the new mesh level face colour functions instead of OCC function calls
* Removes dependency on OCC for mesh visualization even for meshes created from OCC Geometry
* Code cleanup to remove old commented out functions
2009-07-10 12:01:45 +00:00
Philippose Rajan
04cb56a8ff * Extended VOL format to include face colour data
* Modified Mesh Save and Load functions to handle new type "face_colours"
* Face colours handled as RGB triplets
2009-07-10 11:59:24 +00:00
Philippose Rajan
2b4e7aad8f * Face colours added to FaceDescriptor class to allow for geometry independent implementation of face colours
* Added functions to set and retrieve face colour data to FaceDescriptor class
2009-07-10 11:56:45 +00:00
Joachim Schoeberl
654914c3e1 multi point element transformation in nginterface_v2 2009-07-06 08:16:02 +00:00
Joachim Schoeberl
ef8edec3b8 bug fix from boundarylayer 2009-07-01 11:34:38 +00:00
Philippose Rajan
4cc2d7dc92 * Prismatic Boundary Layers (Highly experimental code !!!)
* Works for basic cases, but does not check for mesh validity yet
* Lot of work to be done... not ready for general use yet !!
2009-06-19 05:43:23 +00:00
Philippose Rajan
0461899071 * Improved colour based boundary condition assignment for OCC geometry
* Now allows the boundary condition numbers to be assigned via a profile file "netgen.ocf" 
* The old algorithm for automated selection is used if no profile file exists
2009-06-19 05:41:22 +00:00
Joachim Schoeberl
1fd07f3845 reduce warnings 2009-06-14 10:49:08 +00:00
Joachim Schoeberl
7a6e3f64c1 compilation error bug fix 2009-06-10 16:12:20 +00:00
Joachim Schoeberl
611a53801d vector/matrix access, small optimization in CalcTetBadness 2009-06-06 19:33:32 +00:00
Joachim Schoeberl
8fbe8c3e31 version 4.9.9 2009-05-09 17:52:42 +00:00
Joachim Schoeberl
51d4a12781 change in loading ngsolve 2009-05-09 10:22:16 +00:00
Joachim Schoeberl
306035adee RunParallel in nginterface 2009-05-09 09:48:16 +00:00
Joachim Schoeberl
b8d71dd7a5 occ-visual 2009-04-30 12:13:49 +00:00
Joachim Schoeberl
777f9c65f2 reduce warnings 2009-04-27 17:44:28 +00:00
Philippose Rajan
fb9b71b9cc * Added DLL_HEADER exports to template specializations (Used in NgSolve) 2009-04-19 22:10:55 +00:00
Joachim Schoeberl
2584903baa extrusion fixes, reduce warnings 2009-04-19 21:15:26 +00:00
Joachim Schoeberl
ff3eaf1119 MSVC adaption 2009-04-17 04:07:42 +00:00
Joachim Schoeberl
6222d32e34 extrusion 2009-04-14 19:20:09 +00:00
Joachim Schoeberl
42e72d3bb6 csg visualization bug/fix 2009-04-05 11:39:00 +00:00
Philippose Rajan
73451bace6 * Fixed - Unnecessary functions exported from OCC Topology Explorer code 2009-04-04 21:43:55 +00:00
Joachim Schoeberl
62c877a83d nginterface - dll 2009-04-04 13:43:02 +00:00
Philippose Rajan
a7f8772932 * Bug-fix: Fixed loss of OCC face colours after performing a geometry healing run 2009-04-03 20:11:18 +00:00
Philippose Rajan
cb777203cf * Code reformatted for improved readability 2009-04-03 20:09:46 +00:00
Joachim Schoeberl
39858c7756 nginterface_v2 2009-04-03 14:39:52 +00:00
Philippose Rajan
3e457df12d * Reformatted source code for readability 2009-03-31 21:08:17 +00:00
Joachim Schoeberl
f4d4084b1d don't repair bisect 2009-03-26 09:49:40 +00:00
Joachim Schoeberl
8d932819dd set STL geomtype 2009-03-25 08:51:23 +00:00
Joachim Schoeberl
977e39e1c0 bug fix 2009-03-20 05:59:47 +00:00
Philippose Rajan
3092d6cb9d * First version of automated colour based boundary conditions for OpenCascade geometry
* Modified the menustat.tcl file to add an entry in the "Special" menu for the colour based boundary properties functionality
* Added the relevant TCL wrapper functions in ngpkg.cpp to enable the above functionality
* Note: The core functionality is implemented in the file "occauxfunctions.cpp"
2009-03-15 12:25:09 +00:00
Philippose Rajan
9d0be8a262 * Updated /libsrc/occ/Makefile.am to reflect addition of the two new files occauxfunctions.hpp and occauxfunctions.cpp
* Updated the Visual C++ 2005 / 2008 project files to reflect the addition of the two new files
2009-03-15 12:19:26 +00:00
Philippose Rajan
e266a0115d * Added a separate source and header file for OpenCascade Auxiliary functions which cannot be directly categorised under either geometry or mesh operations. 2009-03-15 12:17:27 +00:00
Philippose Rajan
87404f51c9 * Improved error checking for mesh size file loading / reading
* Corrected uninitialized variables in mesh size file function
2009-03-10 20:39:16 +00:00
Philippose Rajan
ac8ac8aa14 * Bug-fix for mesh size file usage with OpenCascade geometry 2009-03-10 19:56:24 +00:00
Philippose Rajan
69b63a2c25 * Modified function LoadLocalMeshSize to print a message if the specified mesh file could not be loaded (due to non-existent file, no read access, etc....) 2009-03-09 23:01:07 +00:00
Philippose Rajan
28270266ca * Enable use of mesh size file with OpenCascade Geometry 2009-03-09 22:58:03 +00:00
Philippose Rajan
dd9cc6abac * Standard mesh colour changed to Green in OCC Geometry to maintain consistency across Netgen 2009-02-25 18:39:51 +00:00
Joachim Schoeberl
61f9699f10 standard mesh color green 2009-02-25 16:52:41 +00:00
Joachim Schoeberl
22e83bf294 added missing file 2009-02-25 16:06:34 +00:00
Philippose Rajan
78736845ca * Fixed the OCC XDE Interface for BREP and IGES Files
* Added stricter error checking for face colour extraction
* Improved consistency of OCC geometry and mesh colours across file formats
2009-02-23 23:10:00 +00:00
Joachim Schoeberl
e61fdd097f use TOGL_WINDOWINGSYSTEM 2009-02-04 23:29:53 +00:00
Joachim Schoeberl
976326590f use TOGL_WINDOWINGSYSTEM 2009-02-04 23:26:52 +00:00
Joachim Schoeberl
18ad8379c0 use TOGL_WINDOWINGSYSTEM 2009-02-04 23:25:09 +00:00
Joachim Schoeberl
22d86c1838 portable opengl in autotools (Mac aqua) 2009-02-04 23:09:28 +00:00
Joachim Schoeberl
0c3c3f32d1 occ build visualization mesh 2009-02-01 23:08:39 +00:00
Joachim Schoeberl
d468527ef4 indirect rendering openGL context (required for parallel visualization) 2009-02-01 13:21:11 +00:00
Joachim Schoeberl
4a9be1de47 occ and nglib fixes 2009-01-31 21:07:21 +00:00
Philippose Rajan
6fedcf841a * Added additional conditional coding to differentiate between Linux and Windows Compiles 2009-01-31 20:16:46 +00:00
Philippose Rajan
85867fb240 * Added OpenCascade XDE Support to enable importing of individual surface colours from STEP Geometry
* Extended the Clipping Planes functionality to the Geometry mode for OCC Geometry
* Added the option to specify the maximum mesh size for each individual face in an OCC Geometry
2009-01-30 22:17:20 +00:00
Philippose Rajan
34bfd4a349 * Added a new Compiler Switch (MSVC_EXPRESS) to enable Netgen to be compiled using the Express Editions of Microsoft Visual C++ 2009-01-30 22:12:17 +00:00
Joachim Schoeberl
64ae03d661 added missing comma 2009-01-29 20:33:13 +00:00
Philippose Rajan
af9d554ecb Adding Gmsh v2.xx Mesh Export Capability - Currently upto 2nd Order Triangles, Quadrangles and Tetrahedra 2009-01-29 20:28:30 +00:00
Joachim Schoeberl
00bc4a1220 remove generated files (Makefile.in) 2009-01-29 19:33:21 +00:00
Joachim Schoeberl
b087ac2f72 'memory usage' bug fix 2009-01-28 21:32:30 +00:00
Joachim Schoeberl
315fabab8d remove files 2009-01-25 22:04:04 +00:00
Joachim Schoeberl
05e73c4230 add opti files to linalg 2009-01-25 20:58:48 +00:00
Joachim Schoeberl
4f6f77f2f3 move parallel files 2009-01-25 19:37:14 +00:00
Joachim Schoeberl
1fc0ec21cd move parallel files 2009-01-25 19:35:18 +00:00
Joachim Schoeberl
d3deab7284 parallel 2009-01-25 19:24:07 +00:00
Joachim Schoeberl
93c63fc531 move opti into linalg 2009-01-25 19:11:56 +00:00
Joachim Schoeberl
9c15d17ced parallelinterface 2009-01-25 18:23:46 +00:00
Joachim Schoeberl
38a9ae19b4 parallel fixes 2009-01-25 15:04:33 +00:00
Joachim Schoeberl
44ba130d9c parallel 2009-01-25 14:33:05 +00:00
Joachim Schoeberl
5051b5b8f7 paralleparallell 2009-01-25 14:32:41 +00:00
Joachim Schoeberl
ea4b278685 parallel 2009-01-25 14:13:59 +00:00
Joachim Schoeberl
775c964100 remove test output 2009-01-25 13:28:49 +00:00
Joachim Schoeberl
e2118a76b9 parallal restructure 2009-01-25 13:06:46 +00:00
Joachim Schoeberl
3a5f9cb7d5 ARRAY -> Array 2009-01-25 12:35:44 +00:00
Joachim Schoeberl
91d5c9888d ARRAY -> Array 2009-01-25 12:35:25 +00:00
Joachim Schoeberl
3ce7cbc62f parallel restructure 2009-01-25 12:20:07 +00:00
Joachim Schoeberl
6054d08eec restructure parallel netgen 2009-01-25 12:14:08 +00:00
Joachim Schoeberl
158f5223ba parallel netgen 2009-01-25 02:54:27 +00:00
Joachim Schoeberl
5dc124a709 mesh rendering fixes 2009-01-24 23:28:47 +00:00
Joachim Schoeberl
cab7295e94 rename curvedelems_new -> curvedelems 2009-01-24 13:42:21 +00:00
Joachim Schoeberl
4414d38106 rename files curvedelems_new -> curvedelems
bugfix with lock(mesh.mutex) in vsmesh
2009-01-24 13:35:44 +00:00
Joachim Schoeberl
abb11321c0 include togl_1_7.h into netgen sources 2009-01-20 09:08:01 +00:00
Joachim Schoeberl
161dc4cfd9 netgen - ngsolve integration 2009-01-18 17:36:38 +00:00
Joachim Schoeberl
0bae83e1f6 build Netgen - library 2009-01-18 14:47:12 +00:00
Joachim Schoeberl
f99f8804b9 eliminate warning 2009-01-18 00:54:07 +00:00
Joachim Schoeberl
b588bb3c71 eliminate warning 2009-01-18 00:53:00 +00:00
Joachim Schoeberl
f99009b57b fix for SUN - compiler 2009-01-18 00:51:27 +00:00
Joachim Schoeberl
79af2880b3 fix for SUN compiler 2009-01-18 00:41:22 +00:00
Joachim Schoeberl
d9e642fef5 add <algorithm> for min/max 2009-01-18 00:25:35 +00:00
Joachim Schoeberl
d462a1e95a fixes for ngsolve interface 2009-01-17 19:37:57 +00:00
Joachim Schoeberl
da99a51047 tcl - autoconf 2009-01-16 20:09:52 +00:00
Joachim Schoeberl
e5e550772a Tcl/TK setup 2009-01-15 23:03:40 +00:00
Joachim Schoeberl
10de082624 added tcl macros 2009-01-15 20:41:14 +00:00
Joachim Schoeberl
57446b6a76 autotools 2009-01-15 17:37:07 +00:00
Joachim Schoeberl
357cea9ba0 dist headers 2009-01-14 21:01:19 +00:00
Joachim Schoeberl
c09bfad487 header dist 2009-01-14 20:32:48 +00:00
Joachim Schoeberl
d6a7659c49 header distribution 2009-01-14 18:50:28 +00:00
Joachim Schoeberl
3d10410665 opencascade support 2009-01-13 21:14:02 +00:00
Joachim Schoeberl
f4a8c49f6c autotools configure 2009-01-13 18:32:10 +00:00
Joachim Schoeberl
310cb00b13 autotools 2009-01-12 23:40:13 +00:00