Commit Graph

300 Commits

Author SHA1 Message Date
Christopher Lackner
4e2d2943f6 fix csg extrusion 2021-04-13 12:11:10 +02:00
Christopher Lackner
7c6296f153 csg splinecurves -> shared_ptr 2021-04-12 15:51:40 +02:00
Christopher Lackner
7bd454e385 use relative tolerance in identifypoints 2020-12-18 15:58:51 +01:00
Matthias Hochsteger
94ecf8de92 Fix private linking of Python
The CMake export of Interface libraries also exports PRIVATE build
settings, which leads to build errors with non-existing include paths and .lib files for binary distributions.

Use the work-around mentioned here to circumvent this behavior:
https://gitlab.kitware.com/cmake/cmake/-/issues/15415#note_849405
2020-12-18 11:05:10 +01:00
Christopher Lackner
bf855efd1b fix usage of uninitialized value (valgrind) 2020-12-15 15:07:48 +01:00
Joachim Schöberl
2d03739f4e little smooth 2020-10-20 12:35:17 +02:00
Christopher Lackner
ce3f3429d4 fix range check exception in tutorials 2020-10-19 15:27:36 +02:00
Christopher Lackner
00b4959232 remove "normal vectors degenerated" output 2020-10-19 14:06:35 +02:00
Joachim Schöberl
cdbe7fd892 cleanup solid checks 2020-10-17 17:08:58 +02:00
Joachim Schöberl
ad69a9d5a5 modernization SpecialPointCalculation 2020-10-17 15:23:53 +02:00
Joachim Schöberl
decb6c6e90 use VecInSolid2 in SpecialPoint analysis, VecInSolid2 return also does_intersect 2020-10-17 13:01:07 +02:00
Joachim Schöberl
01c1411d65 robust implementation of Polyhedra::VecInSolid2 2020-10-17 08:18:32 +02:00
Christopher Lackner
1a051ec555 export Polyhedra to Python and add test case 2020-10-16 12:05:03 +02:00
Joachim Schöberl
4cdaa6e3df differentiate 1 correctly 2020-10-16 10:54:34 +02:00
Joachim Schöberl
b841b1c57b using bool for in/strict-in, and more unique-ptrs 2020-10-16 10:14:50 +02:00
Joachim Schöberl
4d2e4fea44 unique-ptr for TangentialSolid 2020-10-16 09:44:11 +02:00
Joachim Schöberl
4f4483794d VecInSolid, poly 2020-10-15 09:29:36 +02:00
Joachim Schöberl
54dba89dd8 Merge branch 'fix_analyzeedge' into 'master'
Fix AnalyzeEdge()

See merge request jschoeberl/netgen!322
2020-10-14 21:36:39 +00:00
Joachim Schöberl
476a4c350c robust Polyhedron::VecInSolid option 2020-10-14 16:37:01 +02:00
Joachim Schöberl
a894ebc9f5 stable pseudo-inverse, improve edge-analysis for revolution 2020-10-11 22:16:47 +02:00
Joachim Schöberl
b81f7f5ada improve robustness for revolution surface meshing (FindSpecialPoints) 2020-10-11 13:26:34 +02:00
Joachim Schöberl
8926d93e07 GetTangentialSurfaceIndices was missing for extrusion 2020-07-05 11:15:56 +02:00
Christopher Lackner
177ecc7459 Allow curving of mesh if boundarylayer is flat.
If surfnr is larger than nr of surfaces then do linear interpolation
for PointInBetween and so on.
Some fixes in boundarylayer so that surface numbers are correct.
2020-06-24 06:41:06 +00:00
Matthias Hochsteger
09323b2ac4 Fix AnalyzeEdge() 2020-06-12 14:28:56 +02:00
Christopher Lackner
83a48af36a add safety check for FindEdges 2020-04-19 19:26:44 +02:00
Joachim Schöberl
d9a322ed65 Merge branch 'store_ellipsoid_in_mesh' into 'master'
Store Ellipsoid csg surface in mesh files

See merge request jschoeberl/netgen!309
2020-01-15 14:32:47 +00:00
Matthias Hochsteger
4810b4f1b2 Store Ellipsoid csg surface in mesh files 2020-01-15 15:13:08 +01:00
Joachim Schöberl
0209472ef6 csg.AddPoint with names 2020-01-15 11:56:23 +01:00
Joachim Schöberl
d53f28c89b named edges in CSG geometry 2020-01-13 16:41:18 +01:00
Christopher Lackner
30b10c1aaa remove debug cout 2020-01-13 11:17:00 +01:00
Joachim Schöberl
2b683f70d5 Merge branch 'throw_on_meshing_fail' into 'master'
throw on meshing failure

See merge request jschoeberl/netgen!299
2019-11-26 19:27:30 +00:00
Matthias Hochsteger
f3d9d3ad67 [cmake] Don't link python libraries in unix-conda environment
Conda links python libs statically to python executable
2019-11-26 19:26:18 +00:00
Christopher Lackner
303aebc27e throw on meshing failure 2019-11-26 17:08:21 +01:00
Christopher Lackner
1b1c4700ad geo GetNormal and ProjectPointEdge with geoinfo pointer 2019-11-04 11:27:01 +01:00
Christopher Lackner
6c012675aa project point without geominfo returns new geominfo 2019-10-31 17:08:29 +01:00
Christopher Lackner
5b45c7a972 implement meshing2 functionality for 3d geometries 2019-10-28 13:44:51 +01:00
Matthias Hochsteger
082908a5ec ProjectPointGI for CSG and 2D geometries 2019-10-23 11:08:11 +02:00
Christopher Lackner
fa3ae333ce delete trailing whitespaces in new commits 2019-10-07 15:17:03 +02:00
Matthias Hochsteger
562800babc Clean up STLGeometry 2019-10-07 15:17:03 +02:00
Christopher Lackner
05881c0eb5 refactor a lot of the old code, stl still needs to be done 2019-10-07 15:17:03 +02:00
Christopher Lackner
9797c23351 change CalcLocalH to use Point<D> instead of PointDd 2019-10-01 11:59:17 +02:00
Joachim Schöberl
b76b82b293 Merge branch 'split_improve_2d' into 'master'
SplitImprove for triangles

See merge request jschoeberl/netgen!251
2019-09-30 13:29:50 +00:00
Matthias Hochsteger
8defe2f864 New function Mesh::FindIllegalTrigs()
Find illegal trigs after surface meshing and use this information in
surface mesh optimization
2019-09-30 14:54:03 +02:00
Christopher Lackner
ca2212879e Change some PointNd to Point<N> functions 2019-09-29 14:54:24 +02:00
Matthias Hochsteger
9510670140 Fix number of parameters in EllipticCone 2019-09-11 15:11:10 +02:00
Matthias Hochsteger
1584da69ae Rename BitArray to NgBitArray 2019-08-28 14:04:05 +02:00
Christopher Lackner
ed024bb66a remove last placement init which is deprecated in pybind11 2019-08-09 14:43:58 +02:00
Joachim Schöberl
79c958cf83 fixing PointIndex::Valid 2019-08-07 21:21:05 +02:00
Joachim Schöberl
aa9110155c fix warning 2019-08-07 19:15:35 +02:00
Joachim Schöberl
bcc15fbc30 use PointIndex::INVALID 2019-08-07 18:34:43 +02:00