Commit Graph

111 Commits

Author SHA1 Message Date
Christopher Lackner
4c69f45241 take strings as const& 2019-07-26 16:15:56 +02:00
Christopher Lackner
091494c6b3 cleanup python export, generate mesh functions not monkeypatched 2019-07-25 23:25:58 +02:00
Matthias Hochsteger
164609d63a Fix range-based for loops in ArrayMem 2019-07-12 09:10:04 +02:00
Matthias Hochsteger
da85de4795 Fix ArrayMem::operator=(ArrayMem&&) (again) 2019-07-12 08:52:50 +02:00
Joachim Schöberl
1653f56efc Merge branch 'no_pybind_everywhere' into 'master'
Get rid of pybind11 include in archive.hpp

See merge request jschoeberl/netgen!175
2019-07-12 06:48:15 +00:00
Matthias Hochsteger
372b0a3089 Fix ArrayMem & operator= (ArrayMem && a2) 2019-07-11 17:58:23 +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
ea9fab8c77 Remove limit of max 100 PointGeomInfos, add move assignment to ArrayMem 2019-07-11 13:21:47 +00:00
Matthias Hochsteger
8bdeb129b4 Make ProcessTask() a static method of TaskManager 2019-07-11 13:29:00 +02:00
Matthias Hochsteger
133bd82aa9 Fix linkage of pthread 2019-07-10 16:04:03 +02:00
Matthias Hochsteger
b26286d9cd Fix thread_id linkage 2019-07-10 15:21:04 +02:00
Matthias Hochsteger
5fb91f26ed User AlignedAlloc for over-aligned types
MacOS < 10.13 doesn't support new with alignment>16 bytes
2019-07-10 13:36:31 +02:00
Matthias Hochsteger
b848bdc237 Fix MPI build 2019-07-10 12:33:01 +02:00
Matthias Hochsteger
05aafdc3b6 Add LocalHeap, some NGCORE_API 2019-07-10 10:47:08 +02:00
Matthias Hochsteger
e1d4cc0410 Add Array, TaskManager and concurrentqueue from NGSolve
Array and TaskManager was mainly developed by Joachim Schöberl.
For complete version history, check NGSolve:
https://github.com/NGSolve/ngsolve

The concurrentqueue is from
https://github.com/cameron314/concurrentqueue
revision dea078cf5b6e742cd67a0d725e36f872feca4de4
2019-07-09 12:28:21 +02:00
Matthias Hochsteger
4aadd29dfc [cmake] Fix libraries privately 2019-06-30 00:54:31 +02:00
Christopher Lackner
0a08450bfa move testout to ngcore 2019-05-28 13:51:53 +02:00
Matthias Hochsteger
0525b8b61f Fix/disable some core guidelines warnings 2019-04-24 23:08:17 +02:00
Matthias Hochsteger
81a06181b4 Fix time unit in Paje tracer (ms) 2019-04-24 18:36:48 +02:00
Matthias Hochsteger
cb461bebf0 Paje trace fixes, sunburst charts
Create a .html file visualizing the cumultated run times of
timers and taskmanager jobs
2019-04-18 15:15:30 +02:00
Matthias Hochsteger
b85fe2898e Link Python privately
- Avoid dead paths if Python is installed to different dir on target
machine (etc. with binary installers)
2019-03-26 11:49:01 +01:00
Lukas
335bb4d424 add missing const 2019-03-04 14:31:03 +01:00
Matthias Hochsteger
848f1c3d6f Use enable_if_t 2019-02-14 14:08:17 +01:00
Joachim Schöberl
b21dd4d978 check for valid communicator 2019-02-13 12:28:33 +01:00
Joachim Schöberl
402731ea7d more in core::mpi_wrapper 2019-02-13 00:11:35 +01:00
Joachim Schöberl
939a64869b get rid of ng_comm 2019-02-12 22:25:22 +01:00
Joachim Schöberl
b66307f710 get rid of ng_comm 2019-02-12 22:21:44 +01:00
Joachim Schöberl
656301b2b2 get rid of ng_comm 2019-02-12 22:16:53 +01:00
Joachim Schöberl
734e96c87c get rid of ng_comm 2019-02-12 22:11:55 +01:00
Matthias Hochsteger
b13a69a39d Fix NgMPI_Comm assignment operator 2019-02-12 12:41:08 +01:00
Joachim Schöberl
c6d49734fb default ctor for NgMPI_Comm 2019-02-12 08:03:20 +01:00
Joachim Schöberl
ce75b69cd6 copy assignment 2019-02-12 01:21:56 +01:00
Joachim Schöberl
cb635105e9 typo 2019-02-12 01:12:57 +01:00
Joachim Schöberl
13ccb811e7 mpiwrapper 2019-02-11 23:13:12 +01:00
Joachim Schöberl
63d2f4bcd0 mpiwrapper 2019-02-11 22:53:32 +01:00
Joachim Schöberl
9b8f273b14 mpiwrapper 2019-02-11 22:12:29 +01:00
Joachim Schöberl
9ced2f561f mpi_wrapper 2019-02-11 21:37:28 +01:00
Joachim Schöberl
1074593664 mpi_wrapper in core 2019-02-11 21:37:28 +01:00
Matthias Hochsteger
e0e4b10eee Remove unused variable 2019-02-05 15:44: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
7b8c33ed49 Fix bug in pajetrace log, disable trace by default 2019-01-17 03:20:18 +01:00
Matthias Hochsteger
5f9ec6cec6 Fix core guidelines issues 2019-01-16 15:10:53 +01:00
Matthias Hochsteger
4ef76fa710 Include spdlog only in logger.cpp 2019-01-16 14:53:26 +01:00
Christopher Lackner
7c6e2ae35e include spdlog/fmt/ostr.h to be able to parse things that implement
operator << ostream
2019-01-15 16:43:39 +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
4aa7e76bd1 MPI-Parallel output of profiler 2019-01-14 13:04:27 +01:00