Commit Graph

858 Commits

Author SHA1 Message Date
Joachim Schöberl
ec20b74722 make Element default constructable/movable 2017-04-13 10:40:47 +02:00
Joachim Schöberl
7027df2f73 fix 1->2 simd trafos 2017-04-12 16:44:02 +02:00
Joachim Schöberl
c50bd79beb default constructors assignment operators, cheaper Array-Resize 2017-04-11 21:06:30 +02:00
Joachim Schöberl
5e320a5556 dll-header ? 2017-04-11 10:51:08 +02:00
Joachim Schöberl
e464fe9771 parallel trig-marking for bisection 2017-04-11 10:45:31 +02:00
Joachim Schöberl
0074d8b407 inline GetTimeStamp 2017-04-11 10:45:11 +02:00
Joachim Schöberl
4382fc1168 fix hashtable 2017-04-11 10:04:33 +02:00
Joachim Schöberl
e6b853e995 hashtables roundup to power of 2, optimize bisect 2017-04-11 09:01:36 +02:00
Joachim Schöberl
b68bfdcc73 more parallel 2017-04-06 21:41:26 +02:00
Joachim Schöberl
e9fc64acc6 Merge branch 'multipointevaluation_for_isosurf' into 'master'
MultiPoint evaluation for DrawIsoSurface

See merge request !42
2017-04-04 15:28:43 +02:00
Gerhard Kitzler
dda40cf1f4 MultiPoint evaluation for DrawIsoSurface 2017-04-04 11:49:32 +02:00
Joachim Schöberl
65a474b8ef avoid shared-ptr copy 2017-04-04 11:34:24 +02:00
Joachim Schöberl
701d6a2369 inline GetCD2NamePtr 2017-04-03 18:15:34 +02:00
Joachim Schöberl
e1917c8d8a fix warnings 2017-04-03 17:40:01 +02:00
Gerhard Kitzler
8f936f82ea Fix data types for Python exports in python_mesh.cpp 2017-04-03 16:24:56 +02:00
Joachim Schöberl
619f9ff47f GetElement returns Facet-Array. Since for 1D these are point numbers, and point numbers are (still) 1-based, we have to return also the base 2017-04-03 11:17:47 +02:00
Joachim Schöberl
240a132078 avoid size_t-int narrowing in nginterfacev2 - GetElement 2017-04-01 21:00:12 +02:00
Christopher Lackner
794d1b6598 fix el.mat for bbnd elements in 3D 2017-03-30 15:22:19 +02:00
Joachim Schöberl
3d3a2ca186 Revert "Merge branch 'neighbouringdomains' into 'master'"
This reverts merge request !38
2017-03-29 15:02:36 +02:00
Christoph Wintersteiger
9a48710988 add implementation of GetBoundaryNeighbouringDomains 2017-03-29 11:22:29 +02:00
Joachim Schöberl
2d835e25cc add prototype GetBoundaryNeightbouringDomains 2017-03-27 15:12:52 +02:00
Matthias Hochsteger
5e2d2f685c Fix warnings (Intel compiler)
ICC complains about ambigous variable 'i' applying old/new scoping rules.
Therefore, use local loop variables in for loops.
2017-03-23 15:56:08 +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
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
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
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
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
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
fa9d918963 Apply patches for OpenCasCade 7 by Lorenz Lechner
see b443cbdb13/patches
2017-01-31 19:21:25 +01:00
Matthias Hochsteger
0cf1cfea5c Set DLL_HEADER to export in OCC subfolder 2017-01-31 14:58:01 +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
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
4cff6b546a install all headers to INCDIR 2017-01-16 14:59:57 +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
190d035809 Fix Python paths 2017-01-09 18:45:12 +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
Joachim Schöberl
d1de4a7cf9 Introduce NetgenGeometry base class to Python. export meshing first, then csg 2017-01-05 05:08:24 +01:00