Commit Graph

2963 Commits

Author SHA1 Message Date
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
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
34a6777f49 add file generate_version_file.cmake 2020-05-18 17:54:09 +02:00
Matthias Hochsteger
267e8b33fb cmake - use git to generate version string 2020-05-18 15:55:40 +02:00
Joachim Schöberl
c81ebc9f24 Merge branch 'dll_header_occgeom' into 'master'
DLL_HEADER for whole OCCGeometry

See merge request jschoeberl/netgen!319
2020-05-17 18:36:56 +00: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