Commit Graph

1429 Commits

Author SHA1 Message Date
Lukas Kogler
d24b996c8f Merge branch 'master' into par_fixes 2017-03-22 14:03:11 +01:00
Matthias Hochsteger
079406f615 Include <functional> (gcc7 was complaining here) 2017-03-17 21:09:27 +01:00
Joachim Schöberl
0608eb1ee0 set maxh for subdomains: geo.Add(solid, maxh=0.1) 2017-03-16 20:57:42 +01:00
Matthias Hochsteger
644b0b8ad8 gitlab-ci: Push master to Sourceforge after successfull build/test 2017-03-16 15:11:43 +01:00
Matthias Hochsteger
04d7e47824 Merge branch 'external_project_metis' into 'master'
Build Metis if not found on Unix platforms

In case Metis is not found, it will be built automatically on unix platforms.

See merge request !36
2017-03-11 12:46:50 +01:00
Matthias Hochsteger
9c42c734cf Only build Metis on Unix platforms 2017-03-10 16:01:00 +01:00
Matthias Hochsteger
612cd79aa0 remove unused file 2017-03-10 15:58:23 +01:00
Matthias Hochsteger
2ee076da4d Merge remote-tracking branch 'gitlab/master' into external_project_metis 2017-03-10 09:46:30 +01:00
Joachim Schöberl
5efaa2f85b first add corner points to mesh, and then edge points (for consistent orientation on periodic edges) 2017-03-08 18:07:55 +01:00
Matthias Hochsteger
9c0f1b5bdb adapt parallelmesh.cpp to commit 90d4c940 (topology is a member of Mesh (rather than pointer)...) 2017-03-07 10:43:38 +01:00
lkogler
383ced496b Changed MyMPI_RecvCmd and MyMPI_SendCmd. Disabled USE_BUFFERS for now. 2017-03-06 14:32:20 +01:00
Joachim Schöberl
8b6e057712 Merge branch 'fix_splinesurface' into 'master'
fixes for SplineSurface lifetime, pytest

Sind ein paar fixes für die lifetimes von splinesurfaces. Die CSGeometry speichert jetzt die hinzugefügten SplineSurfaces (damit die shared_ptr nicht sterben)
Ich verwende std::vector für dynamische Arrays von shared_ptrs, da die Netgen Arrays nur mit trivialen Datentypen arbeiten können. (Könnte man evtl die NGSolve Arrays auch in Netgen verfügbar machen)
Der Rest der Änderungen sollte nur meine SplineSurfaces betreffen. 

Habe auch einen pytest hinzugefügt. Habe dafür mit Matthias die tests auch für Netgen aktiviert. 
Da ich das öfters testen musste habe ich die commits jetzt gesquashed

Ich hoffe das passt so.

LG
Christopher

See merge request !35
2017-02-28 09:16:05 +01:00
Matthias Hochsteger
b48a2bbd5e Support (self written wrapper for) clcache on Windows
Since clcache gets problems for .rc files, the ccache functionality is
disabled in the ng/ subdirectory
2017-02-27 07:29:57 -08:00
Christopher Lackner
7b1d57b23c remove <vector> from csg header again 2017-02-27 11:35:56 +01:00
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
dbe599a6db MacOS fix 2017-02-23 15:36:14 +01:00
Matthias Hochsteger
0659961f28 Restructure cmake files, build METIS as dependency 2017-02-23 14:54:42 +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