Commit Graph

166 Commits

Author SHA1 Message Date
Christopher Lackner
485d9f230b platform independent and readable names for array export suffix 2019-09-11 13:04:50 +02:00
Christopher Lackner
59087f5c2c make array name platform independent 2019-09-11 08:27:04 +02:00
Christopher Lackner
5288af641c array numpy buffer protocol 2019-09-10 23:01:05 +02:00
Matthias Hochsteger
66c4c3bf59 use global logging level without spdlog 2019-09-09 17:05:23 +02:00
Matthias Hochsteger
6c69df9fe6 Export TaskManager 2019-09-09 17:05:23 +02:00
Joachim Schöberl
5ffab34d13 fix rangecheck 2019-09-07 10:31:12 +02:00
Joachim Schöberl
be40a4d3f1 array setitem functionality 2019-09-06 17:17:11 +02:00
Joachim Schöberl
3e6f4b9472 use pointindex 2019-09-04 13:46:40 +02:00
Joachim Schöberl
71e8c6854c fix table creator 2019-08-30 08:28:08 +02:00
Matthias Hochsteger
6c06f79c8e Fix build error on Windows (wrong usage of Range()) 2019-08-29 19:22:12 -07:00
Matthias Hochsteger
78693fb196 Add Table and HashTable from NGSolve 2019-08-29 16:13:18 +02:00
Christopher Lackner
331c0b9486 fix AOWrapperIterator operator++ 2019-08-29 15:06:05 +02:00
Joachim Schöberl
fcea398d7c Merge branch 'subcomm' into 'master'
sub-communicators as methods of NgMPI_Comm, using ngcore-arrays

See merge request jschoeberl/netgen!215
2019-08-29 09:32:35 +00:00
Joachim Schöberl
7f8dd74a03 Merge branch 'bitarray_ngcore' into 'master'
Bitarray from NGSolve to ngcore

See merge request jschoeberl/netgen!223
2019-08-28 18:57:11 +00:00
Matthias Hochsteger
b27f7f3bb6 Add BitArray from NGSolve
Deprecate method BitArray::Set(), instead use either SetBit() or
SetBitAtomic()
2019-08-28 16:40:21 +02:00
Lukas
36a7c507b8 check in forgotten lines 2019-08-28 14:59:32 +02:00
Lukas
8444889cf3 add forgotten isend 2019-08-28 14:09:51 +02:00
Matthias Hochsteger
8acc8c9cb0 User /bigobj flag on Windows builds 2019-08-28 09:41:42 -07:00
Lukas
3f59727e15 Merge remote-tracking branch 'origin/master' into subcomm 2019-08-28 13:18:11 +02:00
Lukas
476a1e39b6 remove some whitespace 2019-08-27 16:52:54 +02:00
Lukas
a37c84e601 fix typo 2019-08-27 14:10:55 +02:00
Lukas
bca0f6a2ea Merge remote-tracking branch 'origin/master' into subcomm 2019-08-27 13:32:25 +02:00
Lukas
8d05fe0cec Merge remote-tracking branch 'origin/master' into array_sendrecv_to_netgen 2019-08-27 13:32:04 +02:00
Lukas
608381d774 include array header 2019-08-27 11:16:55 +02:00
Lukas
464f4223e7 fix typo 2019-08-27 11:14:02 +02:00
Joachim Schöberl
a9de67dd9b Merge branch 'array_pos' into 'master'
get data-ptr from arrays

See merge request jschoeberl/netgen!211
2019-08-26 12:13:44 +00:00
Lukas
c18b6cbbe1 sub-communicators as methods of NgMPI_Comm, using ngcore-arrays 2019-08-26 13:13:53 +02:00
Lukas
cb2c5d6323 move array-send and recv to ngcore 2019-08-26 13:02:13 +02:00
Lukas
209acb6af0 get data-ptr from arrays 2019-08-26 12:51:33 +02:00
Christopher Lackner
08f9c773b1 we need to implement both sized deallocation functions for older mac
os targets
2019-08-23 11:26:14 +00:00
Joachim Schöberl
0c31102638 Merge branch 'range_respect_indextype' into 'master'
Range(obj) does respect index type now. If obj has a function Range it

See merge request jschoeberl/netgen!207
2019-08-21 11:22:03 +00:00
Christopher Lackner
d61e9d10cd array returns index of appended element on Append, some documentation 2019-08-21 11:56:26 +02:00
Christopher Lackner
ceabe013be code style changes to signals 2019-08-21 11:31:25 +02:00
Christopher Lackner
b12ef20fb7 index type can only be deduced from class, else it is size_t 2019-08-21 11:24:37 +02:00
Christopher Lackner
22de6f2c56 fix typos 2019-08-21 11:06:00 +02:00
Christopher Lackner
3869392f0a workaround for windows in index_type typetrait 2019-08-21 11:03:27 +02:00
Christopher Lackner
2fe62c846e workaround for some compilers evaluating the declval in has_Range 2019-08-21 09:44:31 +02:00
Christopher Lackner
6c71982951 Range(obj) does respect index type now. If obj has a function Range it
calls the function
2019-08-20 18:16:03 +02:00
Joachim Schöberl
7f6f846eb1 surfelement - indextype 2019-08-18 13:10:58 +02:00
Joachim Schöberl
e89550ec9c polishing improve2, IndirectArray iterator + element access 2019-08-18 12:21:10 +02:00
Christopher Lackner
0ba774b908 signals 2019-08-16 12:52:37 +02:00
Matthias Hochsteger
3ce00d1a0c Remove AlignedAlloc
Instead, use a global new (size_t, align_t) operator for MacOS versions
(pre 10.14 is lacking full C++17 support in the standard library).

On all other platforms/versions we expect full C++17 support.
2019-08-14 13:09:57 +02:00
Matthias Hochsteger
f570f31de9 Export ngcore Arrays 2019-08-12 17:47:50 +02:00
Matthias Hochsteger
3f4cc7a07d Use correct range type in FlatArray 2019-08-12 17:47:50 +02:00
Joachim Schöberl
d215ac1025 T_POINTS are now ngcore::Array 2019-08-10 00:21:37 +02:00
Joachim Schöberl
9118ddc63a preparations to switch T_POINTS to ngcore::Array 2019-08-09 15:30:58 +02:00
Matthias Hochsteger
a99ea4ae85 ComputeColoring function 2019-08-08 14:08:17 +02:00
Matthias Hochsteger
5b913ca7e6 Atomic utility functions 2019-08-08 14:08:09 +02:00
Joachim Schöberl
1698a71754 fix warnings 2019-08-07 18:31:10 +02:00
Christopher Lackner
9e63ba0943 parse additional kwargs internally as flags to avoid bad_any_cast
There seem to be somehow multiple py::kwargs classes created in
different libraries, because of this the any_cast is failing.
To circumvent this we attach them to the MeshingParameters object
as flags.
2019-08-06 17:38:44 +02:00