Commit Graph

4664 Commits

Author SHA1 Message Date
Joachim Schöberl
ff3c1a2c36 new closed hashtable with automatic increase 2017-11-13 11:58:13 +01:00
Joachim Schöberl
5dc501af26 optional use of tsc-counter 2017-11-13 11:58:13 +01:00
Matthias Hochsteger
03f73094e9 [windows] New repo for external dependencies
Separate fils for zlib, TCL/TK and OCC dependencies to fix the
superbuild with USE_GUI=OFF
Download dependencies from github.com/NGSolve/ngsolve_dependencies
2017-11-13 02:38:13 -08:00
Matthias Hochsteger
0b1d4e3658 Use gl headers on windows 2017-11-13 02:38:13 -08:00
Matthias Hochsteger
786acf0388 Merge remote-tracking branch 'luzpaz/misc-typos' 2017-11-13 11:36:31 +01:00
luzpaz
9d56646677 More typos 2017-11-10 13:10:34 -05:00
Joachim Schöberl
af57dd1b72 improve STL makeatlas: searchtree, templetize searchtree 2017-11-10 13:22:20 +01:00
Joachim Schöberl
d02bb9024e fix triangle generation rule (thx to TDM) 2017-11-07 11:36:54 +01:00
Joachim Schöberl
f1917aa2c4 Merge branch 'save_compressed_mesh' into 'master'
check filename extension when saving a mesh

See merge request !57
2017-11-06 17:03:31 +01:00
Joachim Schöberl
b405528b37 Merge branch 'fix_tkinter_import' into 'master'
[python] Import tkinter only when necessary

See merge request !69
2017-11-06 16:11:05 +01:00
Matthias Hochsteger
ce47af852e [python] Import tkinter only when necessary
Don't import if Netgen was configured with USE_GUI=OFF
2017-11-06 15:00:49 +01:00
Joachim Schöberl
375e564329 Merge branch 'addoccfeature' into 'master'
add Heal function to the occ python interface

See merge request !68
2017-11-06 10:18:58 +01:00
Christoph Wintersteiger
753c2280c0 add Heal function to the python interface with the same functionality as the "Heal Geometry" button in the gui 2017-11-03 17:44:14 +01:00
Christoph Wintersteiger
ccc092d2c5 save check of file ending 2017-10-30 13:43:01 +01:00
Joachim Schöberl
b269c9a2c9 Merge branch 'occfrompython' into 'master'
Occfrompython

See merge request !67
2017-10-30 13:05:08 +01:00
Joachim Schöberl
712e2c3fb4 Segment array with size_t indexing 2017-10-29 11:31:50 +01:00
Christoph Wintersteiger
df01ffcb5a setting occparms not necessary 2017-10-27 11:40:44 +02:00
Christoph Wintersteiger
ef4405c3d7 remove output 2017-10-25 15:47:27 +02:00
Christoph Wintersteiger
a90ee2e437 set occparams and generate triangulation with BRepMesh 2017-10-20 16:39:37 +02:00
Matthias Hochsteger
8f11b84911 Fix for MSVC 2017-10-17 11:02:39 +02:00
Matthias Hochsteger
949ead991f Update ngsimd.hpp 2017-10-17 10:32:59 +02:00
Joachim Schöberl
45912fba10 Merge branch 'export_python_calclocalh' into 'master'
export CalcLocalH and SetMaxHDomain to Python

See merge request !65
2017-10-12 16:17:55 +02:00
Christopher Lackner
2835597c21 export CalcLocalH and SetMaxHDomain to Python 2017-10-12 12:55:07 +02:00
Joachim Schöberl
60c80fe9fc use (double) factor for 2D hprefinement for strength of geometric refinement 2017-10-03 06:34:09 +02:00
Christoph Wintersteiger
20d6a12192 check extension of filename to ensure that the loading process is successful 2017-09-29 14:47:16 +02:00
Joachim Schöberl
9b0e13730f Merge branch 'fix_jpeg' into 'master'
Fix build/image export with USE_JPEG=ON

See merge request !63
2017-09-27 18:04:22 +02:00
Joachim Schöberl
aa97817d08 support of 0D-elements in CSG 2017-09-22 17:02:39 +02:00
Joachim Schöberl
ec39a51e92 assign default geometry in the (Python) mesh ctor 2017-09-22 17:02:39 +02:00
Matthias Hochsteger
c55ad18a73 Fix build/image export with USE_JPEG=ON
- fixes broken build with USE_JPEG
 - cleanes up the screenshot code itself (there were problems with memory
   alignment, now enforce alignment of 1 byte)
 - proper error message if 'convert' is not working
 - append '.ppm' to file for temporary filename instead of replacing last
   three characters
2017-09-22 11:26:10 +02:00
Matthias Hochsteger
2e243a7d07 [gitlab-ci] Disable tests on Ubuntu 15.10 2017-09-21 18:04:32 +02:00
Matthias Hochsteger
042db258c8 Fix build with GUI=ON, MPI=ON 2017-09-21 17:58:38 +02:00
Matthias Hochsteger
ac59096f91 [CMake] Fix typo (search for TCL) 2017-09-19 10:24:48 +02:00
Matthias Hochsteger
b21fc55c3c Disable TKDND build on Linux 2017-09-15 10:34:42 +02:00
Matthias Hochsteger
99a3c55cdc Build TKDND on Linux 2017-09-14 16:35:43 +02:00
Matthias Hochsteger
1c1159bd70 Import tkinter 2017-09-14 16:34:08 +02:00
Matthias Hochsteger
341f0bd753 Update onetcl.cpp 2017-09-14 15:54:12 +02:00
Matthias Hochsteger
e50104fa40 Fix TKDND on Windows 2017-09-14 15:34:41 +02:00
Matthias Hochsteger
69917bae25 Merge branch '12-build-enable-tkdnd-drag-and-drop' into 'master'
Resolve "Build/enable tkdnd (drag and drop)"

Closes #12

See merge request !62
2017-09-14 14:35:09 +02:00
Joachim Schöberl
385ea4b06d fix path for installing tkdnd on MacOS 2017-09-14 14:04:29 +02:00
Joachim Schöberl
924edbb3ad fixes thanks to etromme 2017-09-14 13:50:29 +02:00
Matthias Hochsteger
cb858a0eec Build tkdnd on MacOS 2017-09-14 13:42:43 +02:00
Joachim Schöberl
977c358d7b Merge branch 'fixcalcpartition' into 'master'
use grading for boundray partition and set default value for elto0

See merge request !61
2017-09-13 21:51:03 +02:00
Christoph Wintersteiger
2e07ee9962 use grading for boundray partition and set default value for elto0 2017-09-13 18:33:59 +02:00
Joachim Schöberl
045a271c2e dshapes were not computed for SIMDs 2017-09-13 10:46:10 +02:00
Joachim Schöberl
cb9816c244 Add gmsh-import, pybind2.2 ctor for Mesh 2017-09-06 18:08:39 +02:00
Joachim Schöberl
89f41da33b had to add default constructor (for pybind update) 2017-09-02 23:08:20 +02:00
Joachim Schöberl
111f90939e init color, add transparent 2017-09-02 22:13:44 +02:00
Joachim Schöberl
e17939a95b Merge branch 'update_pybind11' into 'master'
Update pybind11 to version 2.2.0

See merge request !60
2017-09-02 22:09:34 +02:00
Matthias Hochsteger
1430b89e39 Update pybind11 to version 2.2.0
- Replace PYBIND11_PLUGIN with PYBIND11_MODULE

- Fix warnings about symbol visibility by replacing
  'namespace pybind11' with 'namespace PYBIND11_NAMESPACE'

- Pybind sets the default visibility of its namespace to 'hidden'
  Thus, our export functions like  ExportCSG(py::module &m) also are
  hidden by default. To work around that define DLL_HEADER
  '__attribute__ ((visibility ("default")))
  on GNUC platforms.
2017-09-01 10:16:56 +02:00
Joachim Schöberl
5de14c63a4 set color of CSG top-level object 2017-09-01 09:12:50 +02:00