Commit Graph

76 Commits

Author SHA1 Message Date
Hochsteger, Matthias
7fa30dbfac Archive classes with non default ctor 2023-08-29 18:27:39 +02:00
Hochsteger, Matthias
90729810d4 Archive with nondefault constructor 2023-08-28 10:02:22 +02:00
Matthias Hochsteger
22b45dde67 BinaryArchive platform compatibility 2023-08-23 15:15:59 +02:00
Matthias Hochsteger
aeadc7f79a Fix TextArchive, portable BinaryArchive 2023-08-23 11:11:31 +02:00
Christopher Lackner
a97ff0ea3d remove spdlog and archive logging 2023-08-21 19:14:39 +02:00
Joachim Schoeberl
35660c2ef7 replace std::function by old-syle function pointer in Archive: reduces binary file size, e.g. coefficient.o by 20% 2023-07-30 21:33:07 +02:00
Hochsteger, Matthias
71c9b9b9f1 Template archive 2023-02-13 15:42:45 +01:00
Christopher Lackner
8745a12246 fix loading windows line ending files in textarchive 2023-01-19 16:39:24 +01:00
luz paz
4033fac1b3 Fix various typos
Found via `codespell -q 3 -S ./external_dependencies/pybind11 -L alledges,allright,ane,anormal,ans,apoints,ba,boxs,cancle,childs,co-ordinate,co-ordinates,daty,enty,filld,hel,identifyable,ist,linz,lod,ned,nd,selt,statics,suround,thev,thist,thisy,timere,upto,wel`
2022-03-25 18:22:05 -04:00
mhochsteger@cerbsim.com
cf59f297a7 use std::filesystem::path 2022-02-23 11:56:00 +01:00
mhochsteger@cerbsim.com
f95332d0a1 archive optional<T> 2021-11-10 18:36:55 +01:00
Christopher Lackner
bd29763b16 Add std::any to py::object caster for archive registered types 2021-09-28 22:34:11 +02:00
mhochsteger@cerbsim.com
e1d71a78ab no need to remove archive type infos 2021-09-13 17:18:32 +02:00
Joachim Schoeberl
fd50131a5b constexpr function 2021-06-28 01:35:23 +02:00
Joachim Schoeberl
91506aa71a static constexpr 2021-06-28 01:07:03 +02:00
Joachim Schoeberl
31d5ce8be9 packed archiving 2021-06-27 12:32:51 +02:00
Joachim Schoeberl
54db7941d0 tuning mesh(un)pickling 2021-06-26 12:14:17 +02:00
Joachim Schoeberl
e84d4e90c8 add header for std::byte 2021-06-25 18:58:25 +02:00
Joachim Schoeberl
72fb819def missing overloads for archive (byte) 2021-06-24 13:21:43 +02:00
Joachim Schoeberl
971d6bb465 little tuning of mesh pickling 2021-06-24 07:39:09 +02:00
Christopher Lackner
4fad6e0631 fix pickling on arm, store long type platform independent 2021-04-01 10:48:13 +02:00
Christopher Lackner
001eaa32b6 DoArchive for LocalH 2021-03-29 13:55:23 +02:00
Joachim Schoeberl
979a695f62 fixing warnings 2021-02-18 10:30:01 +01:00
Christopher Lackner
cb0d8295bf fix hashing of bitarray (uninitialized value in HashArchive & random
values at end)
2020-11-25 22:07:07 +01:00
Christopher Lackner
a8062a6f36 fix missing initial value for offset in HashArchive 2020-09-01 11:59:37 +02:00
Christopher Lackner
deab89adf8 add missing NGCORE_API and HashArchive & with const value 2020-08-29 16:19:45 +02:00
Christopher Lackner
55971b3dde HashArchive 2020-08-29 15:38:03 +02:00
Joachim Schöberl
5e09626466 parallel pickling with mesh-merging 2020-08-19 14:50:11 +02:00
Matthias Hochsteger
f73159e35a Set version of Netgen globally (for archives), interface to get version 2020-07-23 20:12:47 +02:00
Matthias Hochsteger
72226e8673 Fix non-Python builds 2019-12-13 11:20:52 +01:00
Joachim Schöberl
1698a71754 fix warnings 2019-08-07 18:31:10 +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
Matthias Hochsteger
0525b8b61f Fix/disable some core guidelines warnings 2019-04-24 23:08:17 +02:00
Matthias Hochsteger
848f1c3d6f Use enable_if_t 2019-02-14 14:08:17 +01:00
Christopher Lackner
f287df575b archive enums 2019-01-28 11:02:46 +01:00
Christopher Lackner
476d43f9f7 guideline checks allowed to fail, fix guideline issue 2019-01-25 08:26:18 +01:00
Christopher Lackner
f106404280 implement "needs version" functionality for archiver 2019-01-23 10:19:43 +01:00
Matthias Hochsteger
4ef76fa710 Include spdlog only in logger.cpp 2019-01-16 14:53:26 +01:00
Christopher Lackner
1d37a82185 fix another wrong logger call 2019-01-15 09:49:19 +01:00
Christopher Lackner
45f93138dd fix wrong logger->debug call 2019-01-14 14:00:52 +01:00
Christopher Lackner
0a46569474 logging in archive not compile time based 2019-01-14 13:41:38 +01:00
Matthias Hochsteger
4a563f09af Fix build errors on Windows 2019-01-09 14:46:24 +01:00
Christopher Lackner
99c95757a3 [ngcore] ngspickle ngcore_api 2019-01-07 15:17:56 +01:00
Matthias Hochsteger
8ab625c3fa Fix build error 2019-01-03 15:55:51 +01:00
Matthias Hochsteger
678b4497c2 Paje tracing 2019-01-02 18:38:03 +01:00
Christopher Lackner
f88cc77cfe move SymbolTable to ngcore 2019-01-02 18:21:52 +01:00
Christopher Lackner
c000160f92 exceptions in ngcore 2018-12-28 15:54:04 +01:00
Christopher Lackner
8e53eb46bb fix archive version for pickling 2018-12-28 15:52:51 +01:00
Christopher Lackner
fd3474f5cb logging in ngcore 2018-12-28 13:43:15 +01:00
Christopher Lackner
782aa072bc fix NGSPickle for abstract classes (like CoefficientFunction) 2018-12-21 16:03:44 +01:00