Matthias Hochsteger
48b7cd9324
Propagate CMAKE_CXX_COMPILER to subproject
2017-02-07 16:53:38 +01:00
Matthias
f674d5a20a
Assume that malloc returns memory that is 16 byte-aligned
...
This fixes an issue with inconsistent memory allocation/deallocation of
MeshPoint in Python.
2017-02-07 10:26:31 +01:00
Joachim Schöberl
fd3d3e28e6
fix warning
2017-02-04 07:48:48 +01:00
Matthias Hochsteger
74cb50d5ce
Update for new FFMPEG version, extra header for implementation
2017-02-03 15:28:59 +01:00
Christopher Lackner
515e68260d
remove del environ (its not there any more)
2017-02-01 22:32:02 +01:00
Matthias Hochsteger
d45950c5e1
Implement internaltcl functionality
...
When passing '-internaltcl' to netgen, it will evaluate a preprocessed
tcl string instead of loading ng.tcl.
The string is stored in the file onetcl.cpp, which is generated by onetcl.py
2017-02-01 15:59:29 +01:00
Matthias Hochsteger
643ecc2e5e
avoid dependency on env variable NETGENDIR in Python package
2017-02-01 11:06:43 +01:00
Joachim Schöberl
b46895db9c
Merge branch 'occ7_patch' into 'master'
...
Apply patches for Open Cascade 7 by Lorenz Lechner
see b443cbdb13/patches
See merge request !33
2017-01-31 19:31:49 +01:00
Matthias Hochsteger
fa9d918963
Apply patches for OpenCasCade 7 by Lorenz Lechner
...
see b443cbdb13/patches
2017-01-31 19:21:25 +01:00
Matthias Hochsteger
b94c409435
Merge branch 'nogui_fixes' into 'master'
...
Fixes for non-GUI builds
Currently, Netgen is not building/linking correctly with USE_GUI=OFF.
See merge request !32
2017-01-31 17:30:24 +01:00
Matthias Hochsteger
685981d463
Fixes for non-GUI builds
2017-01-31 15:35:56 +01:00
Matthias Hochsteger
0cf1cfea5c
Set DLL_HEADER to export in OCC subfolder
2017-01-31 14:58:01 +01:00
Matthias Hochsteger
b0117c9639
gitlab-ci: adapt settings for new runner
2017-01-31 14:12:22 +01:00
Matthias Hochsteger
e0e856f7c0
Only warn at missing write permissions
2017-01-31 12:20:35 +01:00
Joachim Schöberl
d718e86081
Merge branch 'csgfeatures' into 'master'
...
Csgfeatures
See merge request !31
2017-01-27 20:08:43 +01:00
Christoph Wintersteiger
551db1627e
fix CalcProj for ExtrusionFace and export to python
2017-01-27 16:14:27 +01:00
Christoph Wintersteiger
660425ab61
fix for DEVELOP, Vec has no Get
2017-01-27 16:07:08 +01:00
Matthias Hochsteger
1e2ec455ab
Propagate CMAKE_BUILD_TYPE to Netgen subproject
2017-01-26 14:52:43 +01:00
Joachim Schöberl
52517218c9
Merge branch 'elofpoint-tol' into 'master'
...
Use tolerance in GetElementOfPoint when using a search tree
I'm getting artifacts at domain edges (see attached), because no tolerance is used when calling `elementsearchtree->GetIntersecting()` inside `GetElementOfPoint`.
![searchtree](/uploads/5aa10da74cac7bef9e134756ea897e49/searchtree.png)
See merge request !29
2017-01-25 21:25:52 +01:00
Matthias Hochsteger
673aa7103d
Allow building MacOS bundles without root permissions
2017-01-25 18:26:26 +01:00
Matthias Hochsteger
424b246eda
Workaround to scale up fonts on high resolution Linux systems
2017-01-20 10:39:16 +01:00
Matthias Hochsteger
cc0f14c14c
Move more widgets from tk to ttk
2017-01-20 10:33:59 +01:00
Matthias Hochsteger
c992c64401
Merge branch 'netgen_force_rebuild' into 'master'
...
Force rebuild of Netgen subproject when building the Superbuild
CMake is using stamp files to check if the external projects are out
of date. There is an option 'BUILD_ALWAYS 1' of ExternalProject_Add,
but it is not available prior to CMake 3.1.
To work around it, this commit solves two problems at once:
- Add a new step 'check_submodules' between configure and build
to check if all submodules are up to date. This step has the option
'ALWAYS 1', which means it is always considered outdated.
- Since 'build' depends on the above step, it will always be started
See merge request !30
2017-01-20 10:32:40 +01:00
Matthias Hochsteger
cb8bef9423
Force rebuild of Netgen subproject when building the Superbuild
...
CMake is using stamp files to check if the external projects are out
of date. There is an option 'BUILD_ALWAYS 1' of ExternalProject_Add,
but it is not available prior to CMake 3.1.
To work around it, this commit solves two problems at once:
- Add a new step 'check_submodules' between configure and build
to check if all submodules are up to date. This step has the option
'ALWAYS 1', which means it is always considered outdated.
- Since 'build' depends on the above step, it will always be started
2017-01-20 10:16:48 +01:00
Matthias Hochsteger
0c98422172
Remove unused CMake code
2017-01-16 15:01:57 +01:00
Matthias Hochsteger
4cff6b546a
install all headers to INCDIR
2017-01-16 14:59:57 +01:00
Matthias Hochsteger
9cbe5f7c73
only build necessary targets
2017-01-16 12:30:02 +01:00
Matthias Hochsteger
c6783a4d98
MacOS build fix
2017-01-16 12:12:41 +01:00
Matthias Hochsteger
d91127832a
Add missing patch for TK on MacOS, add .gitignore file
2017-01-16 00:22:56 +01:00
Matthias Hochsteger
2d63931130
Fixes for MacOS build
2017-01-15 19:32:59 +01:00
Matthias Hochsteger
ff8e405afb
store downloaded dependencies in source tree to avoid repeating downloads after cleaning the build tree
2017-01-15 19:28:02 +01:00
Alexander Schlüter
60768cf9c5
use tolerance in GetElementOfPoint when using a search tree
2017-01-12 21:09:07 +01:00
Matthias Hochsteger
9987116703
Update pybind11 to v2.0.1
2017-01-12 11:45:29 +01:00
Matthias Hochsteger
2b16f9994f
Fix write permission check
2017-01-10 18:45:49 +01:00
Matthias Hochsteger
b9018982e1
Differen default install dir on MacOS
2017-01-10 18:40:26 +01:00
Joachim Schöberl
a08fd7a509
vec in netgen.csg
2017-01-10 18:38:36 +01:00
Joachim Schöberl
98a43821ae
osx superbuild fix
2017-01-10 16:04:34 +01:00
Matthias Hochsteger
99b5dc571e
Update TCL/TK/TKDND build settings for MacOS
2017-01-10 14:49:35 +01:00
Matthias Hochsteger
d6c6fbab98
allow parallel build for netgen subproject
2017-01-10 12:39:12 +01:00
Matthias Hochsteger
d557e59a69
check for write permissions at INSTALL_DIR on Unix platforms
2017-01-10 12:02:04 +01:00
Matthias Hochsteger
77dde0977b
Search for pybind11 only at the git submodule location
...
- Fixes a bug where pybind11 is found in the installation directory
2017-01-10 10:47:01 +01:00
Matthias Hochsteger
35a8281d52
Fix Python include dir
2017-01-09 19:28:35 +01:00
Matthias Hochsteger
e4e1d0316c
forward PYBIND_INCLUD_DIR to Netgen subproject
2017-01-09 19:15:44 +01:00
Matthias Hochsteger
190d035809
Fix Python paths
2017-01-09 18:45:12 +01:00
Matthias Hochsteger
745924e71a
CMake: prepend NETGEN_ to set variables in NetgenConfig.cmake
2017-01-09 14:03:36 +01:00
Matthias Hochsteger
fc64b97e77
CMake: fix finding Python 3 libraries
2017-01-09 14:03:36 +01:00
Joachim Schöberl
f44a32e4de
Merge branch 'pointoutofquad' into 'master'
...
point out of quad fix
Now the error "point out of domain" does not appear any more, but the values are wrong. [pointoutofquad.py](/uploads/91e142ab369491ac5a4e4a8d9c93d671/pointoutofquad.py)
See merge request !28
2017-01-06 22:16:53 +01:00
Matthias Hochsteger
5f3cf1a806
fix slash/baslash issue in CMake path
2017-01-05 15:05:13 +01:00
Joachim Schöberl
d1de4a7cf9
Introduce NetgenGeometry base class to Python. export meshing first, then csg
2017-01-05 05:08:24 +01:00
Michael Neunteufel
3e9ad94307
point out of quad fix
2017-01-02 11:06:36 +01:00