Commit Graph

4712 Commits

Author SHA1 Message Date
Joachim Schöberl
f53c069308 prepare SIMD for arm64 2021-01-30 20:05:28 +01:00
Christopher Lackner
0c002e9efa Merge branch 'restricth_line' into 'master'
Add RestrictHLine function in Python

See merge request jschoeberl/netgen!364
2021-01-28 09:18:57 +00:00
Christopher Lackner
18dc32c51a Add RestrictHLine function in Python 2021-01-26 15:33:21 +01:00
Christopher Lackner
b58c35831d Don't need to specify string description of spline type in 2d geom 2021-01-26 11:27:46 +01:00
Christopher Lackner
d1d3253408 throw if optimize2d is called without geometry 2021-01-26 11:23:46 +01:00
Joachim Schöberl
5e489319c6 Merge branch 'fix_csg2d' into 'master'
Fix CSG2d bugs

See merge request jschoeberl/netgen!362
2021-01-15 14:50:18 +00:00
Matthias Hochsteger
6b41cdac9f install pytest-check 2021-01-15 14:32:56 +01:00
Joachim Schöberl
8d1bbd5b50 Merge branch 'function_value_on_dblclick' into 'master'
Print function value on double click

See merge request jschoeberl/netgen!361
2021-01-14 21:33:19 +00:00
Matthias Hochsteger
6f74a1580b add test for csg2d, set maxh 2021-01-14 17:37:38 +01:00
Matthias Hochsteger
b21f04ddcb Update Ubuntu for tests to 20.10 2021-01-14 17:37:21 +01:00
Matthias Hochsteger
12ebcd0d68 Fix oracle function and intersection bug in csg2d 2021-01-14 17:11:46 +01:00
Matthias Hochsteger
e745d16c6d manually cut view vector with clipping plane (more accurate, also working when visualizing clipping plane vectors) 2021-01-13 16:48:16 +01:00
Christopher Lackner
b7fab39876 formatting of vector and complex output on click 2021-01-13 13:24:38 +01:00
Matthias Hochsteger
36aa8658b7 Print function names and surface/volume evaluation 2021-01-13 10:58:13 +01:00
Matthias Hochsteger
ba7fc03800 use pytest-check 2021-01-13 08:40:52 +01:00
Matthias Hochsteger
1502fd705e some debug messages 2021-01-12 18:08:51 +01:00
Matthias Hochsteger
96b9be9f9c [WIP] Fix oracle function in csg2d 2021-01-12 18:08:39 +01:00
Matthias Hochsteger
ccc686830a some more tests for csg2d 2021-01-12 18:07:58 +01:00
Matthias Hochsteger
e5d339ed99 Print function value on double click 2021-01-08 08:30:47 +01:00
Joachim Schöberl
ea7f6c1e94 fnma intrinsic for avx512 2020-12-22 13:06:08 +01:00
Joachim Schöberl
c1c10174be FNMA asm-instruction 2020-12-22 09:37:21 +01:00
Christopher Lackner
f81a445585 Merge branch 'relative_tolerance_identify' into 'master'
use relative tolerance in identifypoints

See merge request jschoeberl/netgen!360
2020-12-21 08:34:00 +00:00
Christopher Lackner
7bd454e385 use relative tolerance in identifypoints 2020-12-18 15:58:51 +01:00
Christopher Lackner
1e8715dc34 remove unused global mpi_comm 2020-12-18 14:25:00 +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
Matthias Hochsteger
65afc44dcc Handle USE_NATIVE_ARCH=ON correctly on Apple M1 2020-12-17 10:26:29 +01:00
Joachim Schöberl
d30accdc1a Merge branch 'apple_silicon' into 'master'
Support for Apple M1

See merge request jschoeberl/netgen!359
2020-12-16 20:47:21 +00:00
Matthias Hochsteger
eb6ac164e7 int64_t for masks 2020-12-16 21:00:12 +01:00
Matthias Hochsteger
d97a9a6594 Alignment for generic SIMD classes 2020-12-16 17:20:18 +01:00
Matthias Hochsteger
e68d8cea9b workaround for missing intrinsic on GCC 7 2020-12-16 10:58:01 +01:00
Matthias Hochsteger
9c0dbec8c9 Fix SIMD<mask64> ctor and Unpack 2020-12-15 15:31:17 +01:00
Christopher Lackner
bf855efd1b fix usage of uninitialized value (valgrind) 2020-12-15 15:07:48 +01:00
Joachim Schöberl
f626255ceb Merge branch 'refactor_simd' into 'master'
Move SIMD headers from ngsolve to ngcore

See merge request jschoeberl/netgen!358
2020-12-15 10:07:56 +00:00
Matthias Hochsteger
dbe894fea3 Support for Apple M1 2020-12-15 10:43:11 +01:00
Matthias Hochsteger
1b55c51da5 remove AlignedAlloc, use alignas 2020-12-15 09:40:43 +01:00
Matthias Hochsteger
1f3aebcec0 Fix AVX-Operators for int64_t simd (use generic ones) 2020-12-15 09:40:43 +01:00
mhochsteger
f213a7a5b1 fix fabs for AVX on Windows 2020-12-14 15:50:27 +01:00
Matthias Hochsteger
248145bbf0 fix wrong simd operators 2020-12-14 12:47:53 +01:00
Matthias Hochsteger
fc44eb95df simd - array and variadic ctor 2020-12-11 23:12:34 +01:00
Matthias Hochsteger
2d667a08dc move (refactored) SIMD headers from ngsolve into ngcore 2020-12-11 20:54:41 +01:00
Joachim Schöberl
aaf5f83213 Merge branch 'contributing_guidelines' into 'master'
add contributors license agreement and contributing guidelines

See merge request jschoeberl/netgen!356
2020-12-04 14:29:56 +00:00
Joachim Schöberl
64c1e5c2a2 Merge branch 'fixscalemesh' into 'master'
rewrite loop to avoid index correction

See merge request jschoeberl/netgen!355
2020-12-04 13:48:29 +00:00
Christopher Lackner
77c87ba76e change script -> failing example 2020-12-04 14:41:56 +01:00
Christopher Lackner
e87b238060 fix links in contributing 2020-12-04 14:38:25 +01:00
Christopher Lackner
a4cf146f69 add contributors license agreement and contributing guidelines 2020-12-04 14:36:35 +01:00
Christoph Wintersteiger
657360818d rewrite loop to avoid index correction 2020-12-02 17:51:47 +01:00
Joachim Schöberl
cc85def275 Merge branch 'fix_surf_read' into 'master'
Fix .surf file reading.

See merge request jschoeberl/netgen!354
2020-11-30 18:41:56 +00:00
Matthias Hochsteger
1c6051371e updateSignal for Mesh class 2020-11-27 16:40:17 +01:00
Christopher Lackner
7ae460b2e5 Fix .surf file reading.
See https://ngsolve.org/forum/ngspy-forum/1275-bug-surf-file-read-incorrectly
2020-11-27 15:28:48 +01:00
Joachim Schöberl
e72fb08405 Merge branch 'fix_bitarray_hash' into 'master'
fix hashing of bitarray (uninitialized value in HashArchive & random

See merge request jschoeberl/netgen!353
2020-11-25 21:54:49 +00:00