Commit Graph

3521 Commits

Author SHA1 Message Date
Joachim Schöberl
56915fc89a Merge branch 'fix_array_mem' into 'master'
Fix ArrayMem::operator=(ArrayMem&&) (again)

See merge request jschoeberl/netgen!176
2019-07-12 06:57:58 +00: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
39e4e2bc12 Merge branch 'remove_pointgeominfo_limit' into 'master'
Remove limit of max 100 PointGeomInfos, add move assignment to ArrayMem

See merge request jschoeberl/netgen!174
2019-07-11 13:21:47 +00: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
b16dd0c777 Fix ngcore.hpp includes 2019-07-11 14:22:48 +02:00
Matthias Hochsteger
8bdeb129b4 Make ProcessTask() a static method of TaskManager 2019-07-11 13:29:00 +02:00
Joachim Schöberl
9357ad1e78 Merge branch 'add_ngs_array' into 'master'
Add ngs array

See merge request jschoeberl/netgen!173
2019-07-10 14:43:47 +00: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
c3a7fc2aab Switch to C++17 2019-07-10 12:57:19 +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
c5acbacadb Rename ArrayMem to NgArrayMem 2019-07-09 18:00:12 +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
7f7b386388 Move array.hpp to ngarray.hpp 2019-07-09 11:20:44 +02:00
Matthias Hochsteger
2d46d21a52 Rename FlatArray to NgFlatArray 2019-07-09 10:40:35 +02:00
Matthias Hochsteger
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Joachim Schöberl
2c14dd6350 lifetime of BlockAllocator, and mutex 2019-07-09 00:23:53 +02:00
Joachim Schöberl
933c93da3a Merge branch 'generate_stub_files' into 'master'
auto generate stub files using pybind11_stubgen

See merge request jschoeberl/netgen!172
2019-06-30 16:46:13 +00:00
Christopher Lackner
13fa0acb2b pass BUILD_STUB_FILES option to superbuild 2019-06-30 12:52:08 +02:00
Matthias Hochsteger
4aadd29dfc [cmake] Fix libraries privately 2019-06-30 00:54:31 +02:00
Christopher Lackner
99df9c0083 auto generate stub files using pybind11_stubgen 2019-06-29 20:01:05 +02:00
Joachim Schöberl
db9e2b96e7 Merge branch 'some_fixes' into 'master'
Some fixes

See merge request jschoeberl/netgen!171
2019-06-26 11:04:55 +00:00
Michael Neunteufel
10297c1e6c copy numvertices for optimize2dmesh 2019-06-24 19:43:21 +02:00
Michael Neunteufel
f70d2c13c4 Merge remote-tracking branch 'gitlab/master' into some_fixes 2019-06-24 19:34:50 +02:00
Michael Neunteufel
b3de5f0320 get correct mesh point on curved TRIG6 elements 2019-06-24 19:30:52 +02:00
Michael Neunteufel
88ec68be65 OptimizeMesh2d works now with curved TRIG6 2019-06-24 19:29:38 +02:00
Joachim Schöberl
3aa0bdeeb6 Merge branch 'fix_mesh_copy' into 'master'
copy also material and cd3 names in meshclass

See merge request jschoeberl/netgen!170
2019-06-24 13:25:55 +00:00
Michael Neunteufel
a925ef4e65 copy also material and cd3 names in meshclass 2019-06-24 12:45:44 +02:00
Matthias Hochsteger
4e038ad084 Fix wrong memory allocation and snprintf parameter type 2019-06-11 10:44:40 +02:00
Joachim Schöberl
0e01644a4c Merge branch 'set_occ_bcnames' into 'master'
Set default bcnames in occ geometries

See merge request jschoeberl/netgen!169
2019-06-05 05:34:36 +00:00
Matthias Hochsteger
95721d0b33 Set default bcnames in occ geometries 2019-06-04 14:05:07 +02:00
Joachim Schöberl
e0f290676f new timers 2019-06-03 10:42:57 +02:00
Joachim Schöberl
bc836f87ef facet curving using GeomInfo, adding overrides 2019-06-03 10:42:57 +02:00
Matthias Hochsteger
b34f0b5333 Fix METIS download url, update to 5.1.0-p6 2019-06-02 23:12:56 +02:00
Joachim Schöberl
ff7cee8114 Merge branch 'ngcore_testout' into 'master'
move testout to ngcore

See merge request jschoeberl/netgen!168
2019-05-29 15:30:07 +00:00
Christopher Lackner
0a08450bfa move testout to ngcore 2019-05-28 13:51:53 +02:00
Matthias Hochsteger
a9db1f60c1 Merge branch 'hmax_old_in2d_files' into 'master'
allow setting of maxh in old in2d files

See merge request jschoeberl/netgen!164
2019-05-23 12:05:18 +00:00
Joachim Schöberl
6dc7f6a39b Merge branch 'export_getsurface2vol' into 'master'
export function to get volume elements adjacent to surface element

See merge request jschoeberl/netgen!167
2019-05-21 22:32:26 +00:00
Christopher Lackner
c7a71148f4 export function to get volume elements adjacent to surface element 2019-05-22 00:25:18 +02:00
Joachim Schöberl
ccc7606c5f Merge branch 'mpi_fixes' into 'master'
MPI / MeshTopology

See merge request jschoeberl/netgen!158
2019-05-21 13:04:02 +00:00
Joachim Schöberl
1fec3bf305 Merge branch 'hide_fnf_reader_msgs' into 'master'
fnf reader messages with msg level, no error for analysis sect

See merge request jschoeberl/netgen!166
2019-05-21 09:34:34 +00:00
Christopher Lackner
da37730eb8 fnf reader messages with msg level, no error for analysis sect 2019-05-21 10:51:39 +02:00
Joachim Schöberl
4a28cd139c Merge branch 'add_domainin_fnf_reader' into 'master'
add domainin property to fnf file reader

See merge request jschoeberl/netgen!165
2019-05-20 17:37:03 +00:00
Christopher Lackner
9d97f4290a add domainin property to fnf file reader 2019-05-20 18:03:57 +02:00
Christopher Lackner
d19b1ec35f allow setting of maxh in old in2d files 2019-05-17 16:23:16 +02:00