Commit Graph

824 Commits

Author SHA1 Message Date
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
Michael Neunteufel
3e9ad94307 point out of quad fix 2017-01-02 11:06:36 +01:00
Joachim Schöberl
c31240580b remove test output 2017-01-01 15:34:55 +01:00
Joachim Schöberl
9790774b49 change to SurfaceElementIndex 2016-12-15 13:05:34 +01:00
Joachim Schöberl
d3e1f0e8fd Merge branch 'py_exp_ComprAndDelsurfels' into 'master'
Compress and DeleteSurfaceElements to python

export Compress and DeleteSurfaceElement to python. 

Perhaps you prefer having the ElementId-Version of DeleteSurfaceElement instead?

See merge request !26
2016-12-15 13:03:24 +01:00
Joachim Schöberl
bf1dfb6b08 Merge branch 'stl_to_python' into 'master'
Stl to python



See merge request !25
2016-12-14 18:02:52 +01:00
Christoph Lehrenfeld
5a940b0b13 Compress and DeleteSurfaceElements 2016-12-14 13:28:13 +01:00
Joachim Schöberl
775d998235 don't be so strict with deprecated 2016-12-12 23:08:22 +01:00
Joachim Schöberl
54aa508fb6 fix 0/1 base 2016-12-12 23:01:21 +01:00
Christopher Lackner
e16dfde5e7 fix libstlvis 2016-12-12 14:26:49 +01:00
Christopher Lackner
d081c1d455 Merge branch 'master' into stl_to_python 2016-12-12 14:24:09 +01:00
Christopher Lackner
2649726692 fix DLL_HEADER export 2016-12-12 14:22:24 +01:00
Christopher Lackner
a5e411d008 load stl fix and some vis 2016-12-12 13:14:47 +01:00
Joachim Schöberl
d6b16870fa PointIndex::BASE = 0 and STL, PointIndices 2016-12-12 11:47:46 +01:00
Christopher Lackner
25d2e497b1 add python stl submodule 2016-12-12 10:47:05 +01:00
Christopher Lackner
6e60338987 Merge branch 'master' into stl_to_python 2016-12-12 10:39:51 +01:00
Joachim Schöberl
be1e6e160b PointIndex::BASE = 0 working for CSG 2016-12-11 20:17:07 +01:00
Joachim Schöberl
59dc0b6c6a Array::Append does not return size anymore ( will be changed to last ) 2016-12-11 18:22:07 +01:00
Joachim Schöberl
bdbc415589 more use of PointIndex 2016-12-11 18:02:16 +01:00
Joachim Schöberl
4c32c2ac25 more use of PointIndex 2016-12-11 12:12:05 +01:00
Joachim Schöberl
e4a6d127fd dont't store orientation of edges and faces. This gives a unified memory layout for edges and faces and allows to access facets without copying (in 2D and 3D) 2016-12-10 19:02:13 +01:00
Christopher Lackner
8870108846 Merge branch 'master' into mesh_only_one_domain 2016-12-09 16:36:50 +01:00
Christopher Lackner
561cf4e75f add files 2016-12-09 16:34:22 +01:00
Joachim Schöberl
a423258f54 Merge branch 'genmesh_firststep_as_meshingparam' into 'master'
Genmesh laststep as meshingparam



See merge request !23
2016-12-07 20:01:54 +01:00
Joachim Schöberl
bb85bb01a3 quads are curved (in general) 2016-12-06 21:54:51 +01:00
Christopher Lackner
9f9a5e4304 fix typo 2016-12-06 13:38:18 +01:00
Christopher Lackner
c771ca5bdc fix occ genmesh 2016-12-06 13:23:08 +01:00
Christopher Lackner
7743503c1d fix and use in swapimprove as well 2016-12-06 11:32:16 +01:00
Christopher Lackner
1f314ae0ee fix wrong order of arguments 2016-12-05 15:37:05 +01:00
Christopher Lackner
181eea5038 typo fix 2016-12-05 15:10:34 +01:00
Christopher Lackner
dc3a214994 merge endMeshStep 2016-12-05 15:08:25 +01:00
Christopher Lackner
16ecf99cce remove onlySurface again (use MeshingSteps instead) 2016-12-05 14:59:44 +01:00
Christopher Lackner
bd39b8df88 export enum MeshingStep 2016-12-05 14:39:09 +01:00
Christopher Lackner
f582c7935f remove perfstepsstart from python interface 2016-12-05 14:31:12 +01:00
Christopher Lackner
7e4892a9e7 firststep and laststep as meshingparameters to be exported to python 2016-12-05 13:50:21 +01:00