Christopher Lackner
58555b96d9
use Array instead of std::vector
2017-02-27 11:32:42 +01:00
Christopher Lackner
87669acfc6
Merge branch 'master' into fix_splinesurface
2017-02-27 11:27:20 +01:00
Joachim Schöberl
90d4c94028
make Topology a member of Mesh (rather then pointer) to reduce number of pointer dereferencing steps. This required move operators for Array and Table.
2017-02-25 19:48:37 +01:00
Joachim Schöberl
c633035043
more size_t
2017-02-25 17:11:30 +01:00
Joachim Schöberl
c143aafaea
Array resize checks for trivially copyable
2017-02-24 22:29:57 +01:00
Joachim Schöberl
a698b57596
add unified GetMaterial for co-dimension
2017-02-24 17:18:42 +01:00
Christopher Lackner
89fe31b550
Squashed commit of the following:
...
commit fa556baaa222ba349d534027f7203588dcda6ad8
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date: Thu Feb 23 15:56:47 2017 +0100
add python path to docker template
commit 54eb7eedc77ad8c86952c347536e7e1a854b62ed
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date: Thu Feb 23 14:59:45 2017 +0100
install pytest in docker images
commit 3c1c755891e8372762130a6ed8c39cf056430264
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date: Thu Feb 23 14:52:32 2017 +0100
enable CTest properly, add pytest
commit 4c4cf229ab8e7fd6057f535fb05c3079a9278f80
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date: Thu Feb 23 14:02:13 2017 +0100
fix write splinesurface to savemesh
commit 069fbdbc529c9dd91644663f3f365e08be5af70e
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date: Thu Feb 23 09:03:26 2017 +0100
fix lifetime of SplineSurface
2017-02-23 16:41:27 +01:00
Matthias Hochsteger
ea00690a2a
fix for last commit
2017-02-22 12:48:15 +01:00
Matthias Hochsteger
aa34a214bf
Allow to install Netgen to /Applications/custom_name on MacOS
2017-02-22 10:32:54 +01:00
Matthias Hochsteger
dc1fb0a947
remove unused option
2017-02-16 15:01:16 +01:00
Matthias Hochsteger
bf9e550ed3
Add missing COMPONENT in install directive
2017-02-16 14:21:51 +01:00
Matthias Hochsteger
002a2cba6b
Fix (or work around?) strange bug on Windows
...
The definition of std::max uses references for parameters, which leads
to unnecessary storing of constants on the stack. If the stack is
overwritten this leads to wrong results.
max2() works around this using call-by-value.
2017-02-16 09:12:45 +01:00
Joachim Schöberl
cd314e2f45
few more inline functions
2017-02-15 22:31:24 +01:00
Matthias Hochsteger
ef3d7c9270
Propagate all user-defined CMake variables to subproject
2017-02-10 11:33:05 +01:00
Matthias
360e6fba86
Fix for OCC7.1 on Windows, also support providing own OCC version by setting OCC_INCLUDE_DIR and OCC_LIBRARY_DIR
2017-02-09 12:07:09 +01:00
Joachim Schöberl
e190943f4f
change bc-names
2017-02-09 10:06:34 +01:00
Joachim Schöberl
d96ab0c955
fix boundary-condition dialog (needs alignment)
2017-02-08 00:28:44 +01:00
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