Commit Graph

14 Commits

Author SHA1 Message Date
Christopher Lackner
c359832767 fix pyname for non default constructible classes 2019-09-11 15:17:09 +02:00
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
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
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
Christopher Lackner
08f9c773b1 we need to implement both sized deallocation functions for older mac
os targets
2019-08-23 11:26:14 +00:00
Matthias Hochsteger
f570f31de9 Export ngcore Arrays 2019-08-12 17:47:50 +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
Christopher Lackner
575e863e4a fix ambiguous namespace 2019-08-06 15:58:15 +02:00
Christopher Lackner
262f1ea12c move python export of flags to ngcore 2019-08-06 15:50:08 +02:00
Matthias Hochsteger
d89b328979 Get rid of pybind11 include in archive.hpp
Forward-declare pybind11::object and move implementation of
Archive::Shallow() to new header python_ngcore.hpp

All files using the Shallow/Python archive functionality must include
core/python_ngcore.hpp. Missing includes result in link errors, due to
missing instantiations of Archive::Shallow<T>();
2019-07-11 17:09:59 +02:00