Commit Graph

2934 Commits

Author SHA1 Message Date
Joachim Schöberl
9d71c172f3 Merge branch 'set_version' into 'master'
Set Netgen version in Archive and generated Meshes

See merge request jschoeberl/netgen!329
2020-07-23 18:51:48 +00:00
Matthias Hochsteger
3305d1101a Store Netgen version in generated mesh files 2020-07-23 20:12:47 +02:00
Matthias Hochsteger
f73159e35a Set version of Netgen globally (for archives), interface to get version 2020-07-23 20:12:47 +02:00
Joachim Schöberl
6989bde831 Merge branch 'fix_mesh_copy' into 'master'
Fix mesh copy

See merge request jschoeberl/netgen!328
2020-07-23 18:08:29 +00:00
Matthias Hochsteger
829ff0aa53 fix install of netgen_version.hpp 2020-07-23 17:49:10 +02:00
Matthias Hochsteger
dcc0484be0 install netgen_version.hpp, set version in Archive 2020-07-23 16:25:06 +02:00
Matthias Hochsteger
2f88502729 Remove Segment::bcname, fix Mesh::operator=
Remap the 'string* bcname' members in the FaceDescriptor objects in
Mesh::operator= to the new mesh
2020-07-23 16:24:59 +02:00
Matthias Hochsteger
b689d13efe SplitImprove2 - optimize only bad elements, update results 2020-07-23 13:18:14 +02:00
Matthias Hochsteger
3fae0e029f activate SplitImprove2 by default 2020-07-23 12:26:35 +02:00
Matthias Hochsteger
bb46dd6561 Handle pyramids in smoothing 2020-07-23 12:26:22 +02:00
Matthias Hochsteger
e17de17385 SplitImprove2 - further cleanup, handle Pyramids 2020-07-23 12:26:07 +02:00
Joachim Schöberl
ba5e741ad3 adding pybind11/stl to ngcore (needed for BitArray ctor) 2020-07-22 10:15:48 +02:00
Matthias Hochsteger
df97e45bd1 SplitImprove2 - cleanup, new point at min dist of edges 2020-07-20 18:56:36 +02:00
Matthias Hochsteger
abe37bf12a SplitImprove2 - cleanup, badness calculation, add point only when applying optimization 2020-07-20 12:11:29 +02:00
Matthias Hochsteger
a0a189869e SplitImprove2 optimization path 2020-07-17 18:17:09 +02:00
Christopher Lackner
b37a3e6cf6 comment code for non orthogonal boundarylayers
(not working if multiple surfaces come together)
2020-07-17 18:00:38 +02:00
Joachim Schöberl
dd4110a351 Merge branch 'fix_swapimprove' into 'master'
Fix SwapImprove

See merge request jschoeberl/netgen!327
2020-07-15 17:26:40 +00:00
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
Joachim Schöberl
2800d6c291 Merge branch 'fix_facets_for_3d_bbnd' into 'master'
fix facets for 3d bbnd elements

See merge request jschoeberl/netgen!325
2020-06-25 17:12:09 +00: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
Joachim Schöberl
2ee4095b42 Merge branch 'flat_boundarylayer_curving_support' into 'master'
Allow curving of mesh if boundarylayer is flat.

See merge request jschoeberl/netgen!323
2020-06-24 06:41:06 +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
Christopher Lackner
d2cb67f681 fix cmake warning 2020-06-19 17:36:48 +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
09323b2ac4 Fix AnalyzeEdge() 2020-06-12 14:28:56 +02:00
Joachim Schöberl
936e4df089 Merge branch 'close_edges' into 'master'
Close edges - Generate quads in narrow regions using geo._SetDomainTensorMeshing()

See merge request jschoeberl/netgen!321
2020-06-08 09:23:51 +00:00
Matthias Hochsteger
c0f50820cb Add test for SetDomainTensorMeshing 2020-06-08 10:54:02 +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
Christopher Lackner
efbd71c8d5 define cmake export compile commands after project 2020-06-03 12:42:35 +02:00
Matthias Hochsteger
94d489e183 cmake - remove compiler definition of NETGEN_VERSION 2020-06-03 11:54:56 +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
28f8add05f Merge branch 'occ_mesh_missing_edges' into 'master'
support already meshed edges/faces in occ mesher

See merge request jschoeberl/netgen!320
2020-05-26 10:09:33 +00:00