Commit Graph

2904 Commits

Author SHA1 Message Date
Christopher Lackner
8ae2475085 return default geometry if no geometry is set for mesh 2019-07-30 12:40:22 +02:00
Christopher Lackner
ec5ec39909 fix refinement if no geometry is available 2019-07-30 09:54:46 +02:00
Joachim Schöberl
20abe6ec37 make number of vertices per level available 2019-07-29 17:46:09 +02:00
Joachim Schöberl
ed135fc61e Merge branch 'meshingparameters' into 'master'
Meshingparameters

See merge request jschoeberl/netgen!184
2019-07-29 06:47:21 +00:00
Christopher Lackner
f1fc7e747d fix default argument for meshinparameters 2019-07-29 07:54:38 +02:00
Christopher Lackner
ac28c07efc cmake syntax change (new cmake seems to not take 1 here...) 2019-07-29 07:12:56 +02:00
Christopher Lackner
c22ec2dcc2 meshingparameters from python as in gui 2019-07-29 07:11:57 +02:00
Joachim Schöberl
f7fcc67fc7 little modernization 2019-07-28 23:22:47 +02:00
Joachim Schöberl
168df170ec reuse netrules, implant adfront into meshing class 2019-07-28 21:31:05 +02:00
Joachim Schöberl
321bee9b02 little OCC-meshing cleanup 2019-07-28 20:22:48 +02:00
Joachim Schöberl
954cae2686 don't use global mparam in occ-meshing 2019-07-27 19:05:43 +02:00
Joachim Schöberl
b2e4eb3ff0 Merge branch 'cleanup_python_export' into 'master'
cleanup python export, generate mesh functions not monkeypatched

See merge request jschoeberl/netgen!183
2019-07-27 13:43:42 +00:00
Christopher Lackner
a989babd21 use CreateMPfromKwargs for mesh.GenerateVolumeMesh as well 2019-07-26 17:07:30 +02:00
Christopher Lackner
da82b72df6 fix tests 2019-07-26 16:58:55 +02:00
Christopher Lackner
67189f15f9 inline CreateMPfromkwargs function 2019-07-26 16:51:54 +02:00
Christopher Lackner
0c828bb195 move implementation of CreateMPFromKwargs to cpp file 2019-07-26 16:34:24 +02:00
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