Commit Graph

1883 Commits

Author SHA1 Message Date
Matthias Hochsteger
ce8ba71f33 Fix SwapImprove 2020-07-15 17:26:39 +00:00
Matthias Hochsteger
e17aa88cad set signal handlers only if NG_BACKTRACE is set 2020-07-15 16:21:51 +02:00
Matthias Hochsteger
7058732e23 Fix CGNS reader for 2d meshes, cleanup 2020-07-15 13:31:37 +02:00
Christopher Lackner
ec3d7c3ec9 boundarylayer fixes 2020-07-14 21:30:26 +02:00
Christopher Lackner
fb13152004 create occ geometry from TopoDS_Shape and export constructor
this only works if OCC bindings are done using pybind11!
2020-07-13 18:54:55 +02:00
Joachim Schöberl
8926d93e07 GetTangentialSurfaceIndices was missing for extrusion 2020-07-05 11:15:56 +02:00
Christopher Lackner
fdd718739f further work on boundarylayers
better calculation of growthvector, fix bug with addsegment
2020-07-03 19:51:06 +02:00
Matthias Hochsteger
7da5cfd3de translate to NGSolve node type in ReadCGNSFile 2020-07-02 18:26:16 +02:00
Christopher Lackner
88674cd99b add some new quad types for boundarylayer, fix problem
with multiple boundaries at 1 edge
2020-07-01 19:40:44 +02:00
Christopher Lackner
8046b19b60 fix facets for 3d bbnd elements 2020-06-25 18:39:29 +02:00
Joachim Schöberl
1d96e50432 Merge branch 'surface_geom' into 'master'
Surface geom

See merge request jschoeberl/netgen!324
2020-06-24 06:41:55 +00:00
Michael Neunteufel
1a619841b2 Surface geom 2020-06-24 06:41:55 +00: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
Christopher Lackner
c3441344fb set material in tensorproduct mesh in 2d as well 2020-06-23 18:52:29 +02:00
Joachim Schöberl
3b5c346e63 proper terms 2020-06-17 19:11:17 +02:00
Christopher Lackner
ac45a5f736 add more information to illegal bc number exception 2020-06-16 13:54:13 +02:00
Christopher Lackner
6a834f13ac fix boundary names for boundarylayer 2020-06-16 13:53:36 +02:00
Matthias Hochsteger
d08e2daa06 Do edge swapping for faces individually with tensor product meshes
If the mesh contains quads, the edge swapping algorithm switches to
generic improve, which introduces quads everywhere. This is not intended
if one domain contains a tensor product mesh.
Thus, call the optimizer for each face if mesh contains quads but mp.quad
is not set.
2020-06-08 10:42:26 +02:00
Matthias Hochsteger
d1c7a16d63 Do linear interpolation of corresponding edge points in SplineGeometry tensor mesh generation
better results for curved domains
2020-06-08 10:41:24 +02:00
Matthias Hochsteger
5bea3bb612 Implement and export SplineGeometry2d::SetDomainTensorMeshing 2020-06-08 10:39:55 +02:00
Matthias Hochsteger
9b28a2df02 OCC - HasErrors() available from v7.2 2020-06-03 11:50:33 +02:00
Joachim Schöberl
1d97367e30 check OCC-Version of HasErrors 2020-06-02 08:51:51 +02:00
Joachim Schöberl
dc15e50956 Added glueing to OCC interface, geom.Glue() from Python 2020-05-31 21:58:21 +02:00
Joachim Schöberl
ad525cbfb9 fix warning 2020-05-26 20:58:24 +02:00
Christopher Lackner
34590f1b9a support already meshed edges/faces in occ mesher 2020-05-26 11:23:33 +02:00
Joachim Schöberl
897cf6f848 output of xbool 2020-05-22 08:16:05 +02:00
Matthias Hochsteger
267e8b33fb cmake - use git to generate version string 2020-05-18 15:55:40 +02:00
Christopher Lackner
97ba90ee40 DLL_HEADER for whole OCCGeometry 2020-05-17 20:24:22 +02:00
Joachim Schöberl
319b6dc600 Merge branch 'boundarylayer' into 'master'
modernize and improve GenerateBoundaryLayer

See merge request jschoeberl/netgen!318
2020-05-13 18:01:34 +00:00
Christopher Lackner
9ffb22c37f fix archive of bitarray 2020-05-07 10:52:09 +02:00
Christopher Lackner
45a4b2c913 pickle bitarrays 2020-05-07 10:03:00 +02:00
Christopher Lackner
97baba04a0 fix growthvector direction 2020-04-25 11:15:36 +02:00
Christopher Lackner
d752ada2bd improve functionality of boundarylayer 2020-04-23 15:44:32 +02:00
Christopher Lackner
7fe4ca9c4f Merge branch 'master' into boundarylayer 2020-04-20 10:38:24 +02:00
Christopher Lackner
9af476c353 template shouldn't have NGCORE_API 2020-04-20 10:26:17 +02:00
Christopher Lackner
27baa178d2 fix new clang warning and add helper function 2020-04-20 10:13:04 +02:00
Christopher Lackner
16ae2df980 std::get for variant not available on mac os < 10.14 2020-04-20 10:09:26 +02:00
Christopher Lackner
58e6e5dc18 modernize and improve GenerateBoundaryLayer 2020-04-19 20:00:06 +02:00
Christopher Lackner
83a48af36a add safety check for FindEdges 2020-04-19 19:26:44 +02:00
Christopher Lackner
b46ec8dc7b fix printing of 1 based arrays 2020-04-18 13:40:19 +02:00
Joachim Schöberl
af25893a77 Merge branch 'mesh_update' into 'master'
export update method for mesh

See merge request jschoeberl/netgen!317
2020-04-07 17:42:40 +00:00
Christopher Lackner
d74061dd23 python str method for arrays 2020-04-06 12:43:42 +02:00
Michael
cb015c95d0 export update method for mesh 2020-03-30 20:44:39 +02:00
Matthias Hochsteger
a52ccd7ce5 Fix build with USE_NUMA=ON 2020-03-25 10:40:12 +01:00
Matthias Hochsteger
b1d65912ec cgns: flip normals of 2d elements 2020-03-19 20:50:32 +01:00
Christopher Lackner
1f78f900dd mesh identify periodic for non tet meshes 2020-03-19 18:12:55 +01:00
Matthias Hochsteger
bff0e67576 CGNS reader: identify equal points in different zones 2020-03-17 17:46:29 +01:00
Christopher Lackner
ff60ca3f55 fix identify periodic 2020-03-17 15:32:42 +01:00
Christopher Lackner
b8d313f056 identify periodic boundaries 2020-03-15 18:02:50 +01:00
Matthias Hochsteger
89cb1e07ff CGNS reader: Fix boundary/material names for MIXED elements 2020-03-12 18:42:58 +01:00