Matthias Hochsteger
4592123f68
Merge remote-tracking branch 'origin/master' into rules_files_not_matching_cpp
2021-04-28 11:21:15 +02:00
Joachim Schöberl
b89f8b1764
Merge branch 'crossplatform_archiver' into 'master'
...
Fix cross-platform archiving
See merge request jschoeberl/netgen!381
2021-04-23 18:22:17 +00:00
Matthias Hochsteger
acf2b39680
Fix cross-platform archiving
...
This is a non-backward compatible change for archives on Windows!
2021-04-23 20:06:58 +02:00
Joachim Schoeberl
9033de843b
uniform refinement for quads
2021-04-18 17:53:26 +02:00
Christopher Lackner
e860cf188b
Merge branch 'fix_warnings_override' into 'master'
...
fix override warnings
See merge request jschoeberl/netgen!380
2021-04-17 16:22:58 +00:00
Christopher Lackner
0763e4a5d1
fix override warnings
2021-04-17 16:27:30 +02:00
Christopher Lackner
bd674942a5
Merge branch 'fix_extrusion' into 'master'
...
Fix extrusion
See merge request jschoeberl/netgen!379
2021-04-15 21:03:14 +00:00
Christopher Lackner
087a830a67
store cumulated angle
2021-04-15 22:48:16 +02:00
Christopher Lackner
21ef833bbd
very fine extrusion has problems in tests...
2021-04-15 19:31:36 +02:00
Christopher Lackner
6e87ff6ea7
allow spirals with extrusion using zones
2021-04-15 19:02:05 +02:00
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
Joachim Schoeberl
2d9e32ba70
ArrayMem from BaseArray ctor
2021-04-09 21:30:29 +02:00
Matthias Hochsteger
190e22b06d
Find surface element of point: fix local coordinates for TRIG
...
TRIG and TRIG6 are handled differently, see nginterface_v2.cpp:1114
2021-04-09 14:14:04 +02:00
Joachim Schoeberl
d803150b87
red refinement, parent faces (thx Guosheng)
2021-04-09 08:06:30 +02:00
Joachim Schöberl
d10c1e14d3
Merge branch 'mem_trace_only_when_owns' into 'master'
...
trace memory free only when array owns memory
See merge request jschoeberl/netgen!377
2021-04-07 09:18:43 +00:00
Christopher Lackner
daa0985a41
trace memory free only when array owns memory
2021-04-07 09:58:53 +02:00
Matthias Hochsteger
f8ca545455
Merge branch 'pickling_arm' into 'master'
...
fix pickling on arm, store long type platform independent
See merge request jschoeberl/netgen!376
2021-04-01 10:34:11 +00:00
Christopher Lackner
4fad6e0631
fix pickling on arm, store long type platform independent
2021-04-01 10:48:13 +02:00
Joachim Schoeberl
096b419f6e
parent edges for red refinement (thx Guosheng)
2021-03-31 07:50:24 +02:00
Matthias Hochsteger
44c10f663a
Boundarylayer 2d interface
2021-03-30 16:55:03 +02:00
Joachim Schoeberl
1f45601387
Array<int> ia(n); ia.Range(2, END-1)
2021-03-29 22:39:57 +02:00
Joachim Schöberl
7b62f39460
Merge branch 'fix_pointsels_in_2dgeom' into 'master'
...
Only add segment end points of 2d geometry to mesh as 0D-elements
See merge request jschoeberl/netgen!373
2021-03-29 19:38:41 +00:00
Christopher Lackner
15380a2618
Revert "more stable boundarylayer, also cut prisms at outside"
...
This reverts commit d2dc84b02c
.
2021-03-29 18:05:09 +02:00
Joachim Schöberl
f63734e4a0
Merge branch 'archive_localh' into 'master'
...
DoArchive for LocalH
See merge request jschoeberl/netgen!375
2021-03-29 12:46:18 +00:00
Christopher Lackner
d2dc84b02c
more stable boundarylayer, also cut prisms at outside
2021-03-29 14:02:00 +02:00
Christopher Lackner
001eaa32b6
DoArchive for LocalH
2021-03-29 13:55:23 +02:00
Christopher Lackner
c27fa6899b
Merge remote-tracking branch 'massimil/mleoni/indexIntegerType'
2021-03-29 11:55:10 +02:00
Matthias Hochsteger
88fd0a9cd3
2d boundary layer - some cleanup, average growth vectors along straight lines
2021-03-26 09:13:11 +01:00
Matthias Hochsteger
57a4d03d23
Merge branch 'fix_csg2d' into 'master'
...
Fix csg2d
See merge request jschoeberl/netgen!374
2021-03-24 11:35:28 +00:00
Matthias Hochsteger
5a0d07ca87
set hpref to 0.0 (fixes random values)
2021-03-24 12:04:21 +01:00
Matthias Hochsteger
b431a07c74
Fix starting point for intersection searching
2021-03-24 12:03:40 +01:00
Matthias Hochsteger
6cdeaf2d40
Only add segment end points of 2d geometry to mesh as 0D-elements
2021-03-24 10:49:46 +01:00
Joachim Schöberl
0a2beab346
Merge branch 'point_eval_on_curved_segments' into 'master'
...
FindElementOfPoint<1> for 2d meshes for curved segments
See merge request jschoeberl/netgen!372
2021-03-23 16:25:09 +00:00
Christopher Lackner
a612444e77
FindElementOfPoint<1> for 2d meshes for curved segments
2021-03-23 15:08:20 +01:00
Massimiliano Leoni
a40544ddc5
Changed integer type of Element::index and Element2d::index
2021-03-23 12:11:32 +01:00
Christopher Lackner
ab4359c343
Merge branch 'find_curved_element_of_point' into 'master'
...
Find curved element of point
See merge request jschoeberl/netgen!371
2021-03-18 07:16:55 +00:00
Matthias Hochsteger
bcd86a18fd
FindSurfaceElementOfPoint - use barycentric coordinates of already found volume element
...
Increases robustness for finding curved surface elements
2021-03-17 17:36:41 +01:00
Matthias Hochsteger
69bc02a74d
Increase bounding box for curved elements by 20% in element search tree
2021-03-17 17:35:30 +01:00
Matthias Hochsteger
98770dbf94
2d boundary layers
2021-03-16 18:22:14 +01:00
Matthias Hochsteger
c77da32463
skip fixed points when checking for mixed mesh
2021-03-16 18:09:07 +01:00
Christopher Lackner
0fc488e802
Merge remote-tracking branch 'stefanbruens/salome_upstreamable'
2021-03-15 09:36:01 +01:00
Christopher Lackner
0141546373
Merge remote-tracking branch 'stefanbruens/cleanup_includes'
2021-03-15 09:20:48 +01:00
Matthias Hochsteger
52f21d6811
Merge branch 'StefanBruens-fix_aarch64_gettimecounter'
2021-03-15 08:17:42 +01:00
Stefan Brüns
cf4d9eff33
Modernize code, replace Handle_<X> with Handle(X)
...
Same like c35297a8fb158be47772cb5fc9cee76ca88ff871
2021-03-12 23:13:01 +01:00
Stefan Brüns
3c13e41692
Remove duplicated includes from occgeom.hpp
...
Each of the duplicated header files have an include guard, so including
it twice is just a small waste of processing time.
2021-03-11 23:26:23 +01:00
Stefan Brüns
8abd52a47b
Remove two unused variables
2021-03-10 01:06:11 +01:00
Stefan Brüns
2767672286
Cleanup use of M_PI/PI defines
...
gprim/geom2d.cpp includes mystdlib.h, which already has a fallback define
for M_PI. As geomfuncs.cpp also includes mystdlib.h, use M_PI instead
of a truncated value.
occ/Partition_Loop2d.cxx already gets M_PI from the opencascade headers
(~everything includes Standard_Real.hxx, which includes Standard_math.hxx,
which sets _USE_MATH_DEFINES for Windows and includes math.h).
2021-03-10 00:46:58 +01:00
Stefan Brüns
883baf4189
Remove occconstruction.cpp from list of library sources
...
Since commit 0c3c3f32d1
("occ build visualization mesh") occgeometry.cpp does not contain
any compiled code, and it has not been used at least for 12 years.
As the file includes quite some header files removing it from the sources
should save some compile time.
2021-03-08 02:38:28 +01:00
Stefan Brüns
85e8c09ff6
Fix GetTimeCounter for Aarch64 variants
...
Neither GCC nor Clang define an __arm64__ preprocessor macro, but use
__aarch64__ (MSVC uses _MARM_64). Add a "64" suffix to the define, i.e.
NETGEN_ARCH_ARM64 to make it more obvious in only refers to aarch64, and
to be in line with NETGEN_ARCH_AMD64.
Replace the (Clang specific) __builtin_readcyclecounter with inline
asm:
- The function return cycles (i.e. varies with CPU frequency), not time
- It may return 0, depending on the PMU settings
- It may cause an illegal instruction, in case it is not trapped by the
kernel, e.g. on FreeBSD.
Reading the generic timer/counter CNTVCT_EL0 instead of PMCCNTR_EL0 avoids
these pitfalls. The inline asm works on GCC and Clang, instead of
Clang only for the builtin.
2021-03-03 17:30:33 +01:00