Commit Graph

2237 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
Julius Zimmermann
57215cc707 fixed another bug 2019-07-23 23:23:10 +02:00
Joachim Schöberl
c454163821 Merge branch 'add_export_compilecommands' into 'master'
add CMAKE_EXPORT_COMPILE_COMMANDS

See merge request jschoeberl/netgen!181
2019-07-19 11:16:38 +00:00
Christopher Lackner
56746b7bb4 add CMAKE_EXPORT_COMPILE_COMMANDS 2019-07-19 11:13:24 +02:00
Joachim Schöberl
810f2965c6 Merge branch 'simplify_improvemesh' into 'master'
Simplify Mesh::ImproveMesh

See merge request jschoeberl/netgen!179
2019-07-16 10:51:07 +00:00
Matthias Hochsteger
134b6e74eb badmax and perrs are not used, so remove them 2019-07-16 12:15:57 +02:00
Matthias Hochsteger
2cc3908847 typ is hardcoded to 1, so init pf directly as local variable 2019-07-16 12:14:19 +02:00
Julius Zimmermann
fe782670f8 curved elements work, too 2019-07-16 10:42:27 +02:00
Joachim Schöberl
765dc6d86a catch tcl-exception 2019-07-16 08:06:11 +02:00
Julius Zimmermann
bffdf689ae fixed bug 2019-07-15 16:42:13 +02:00
Julius Zimmermann
ef545c5d86 unv interface for 2D case 2019-07-15 16:07:32 +02:00
Joachim Schöberl
e62503bdce Merge branch 'get_solids_csg' into 'master'
get solids from csg geometry

See merge request jschoeberl/netgen!178
2019-07-15 07:46:02 +00:00
Christopher Lackner
6c609087b7 get solids from csg geometry 2019-07-15 09:07:35 +02:00
Joachim Schöberl
ae7f15cacb Merge branch 'delete_copy_assignment_multipoint' into 'master'
arraymem has deleted copy assignment

See merge request jschoeberl/netgen!177
2019-07-12 12:17:08 +00:00
Christopher Lackner
ee4dce0eab arraymem has deleted copy assignment 2019-07-12 13:32:21 +02:00
Matthias Hochsteger
164609d63a Fix range-based for loops in ArrayMem 2019-07-12 09:10:04 +02:00
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