Commit Graph

128 Commits

Author SHA1 Message Date
Joachim Schöberl
279a5a2faa use boundary_ht, remove unsued functions 2019-09-23 09:40:35 +02:00
Christopher Lackner
b45d022542 Revert "only use hashtable in stlboundary"
This reverts commit dbbfebcf1a.
2019-09-23 09:30:23 +02:00
Christopher Lackner
dbbfebcf1a only use hashtable in stlboundary 2019-09-22 15:49:06 +02:00
Joachim Schöberl
c180b37ea8 more STL*Id 2019-09-22 13:15:53 +02:00
Christopher Lackner
4de79f4ce6 fix stlchartboundary 2019-09-22 00:16:44 +02:00
Joachim Schöberl
6ad36f73cb move BoxTree to headers 2019-09-21 09:45:29 +02:00
Joachim Schöberl
5332762b96 STLPointId ... 2019-09-21 02:04:50 +02:00
Joachim Schöberl
9b13bde72b more STLPointId ... 2019-09-21 02:04:50 +02:00
Joachim Schöberl
f22cb48832 STLPointId 2019-09-21 02:04:50 +02:00
Joachim Schöberl
61c9e669c3 use Point/Trig/Chart-Id in stl-meshing, more to come 2019-09-21 02:04:49 +02:00
Matthias Hochsteger
5cfb449d7a Automatically distinguish between ASCII and binary stl files 2019-09-20 11:55:46 +02:00
Christopher Lackner
38d8d0cd71 Merge branch 'dont_import_tkinter' into 'master'
Don't import tkinter

See merge request jschoeberl/netgen!220
2019-08-28 11:48:09 +00:00
Matthias Hochsteger
14ce523070 Don't dll-export inline function 2019-08-28 09:40:02 -07:00
Christopher Lackner
13c17adf87 restricth for occ and stl geometries 2019-08-28 09:52:51 +02:00
Christopher Lackner
9d96c0e432 occ parameters from python, gui and meshsize parameters now the same 2019-08-27 10:10:17 +02:00
Joachim Schöberl
c900e0380b unique ptrs in Mesh 2019-08-09 09:02:50 +02:00
Christopher Lackner
0e3636436d dll header 2019-08-06 20:45:15 +02:00
Christopher Lackner
aea04367c7 dll header at correct place now 2019-08-06 20:27:00 +02:00
Christopher Lackner
a9039ac334 remove wrong dll header 2019-08-06 20:23:18 +02:00
Christopher Lackner
34c1e0667c remove any cast 2019-08-06 20:13:31 +02:00
Christopher Lackner
fd42f24d37 remove any again 2019-08-06 20:03:17 +02:00
Christopher Lackner
9e63ba0943 parse additional kwargs internally as flags to avoid bad_any_cast
There seem to be somehow multiple py::kwargs classes created in
different libraries, because of this the any_cast is failing.
To circumvent this we attach them to the MeshingParameters object
as flags.
2019-08-06 17:38:44 +02:00
Christopher Lackner
1bc2e1f5a7 global stl parameters only visible in nglib, stlparameters from python 2019-08-06 12:16:30 +02:00
Christopher Lackner
fc1a3da429 meshingparameter only visible in nglib and const ref to funcs 2019-08-06 10:42:53 +02:00
Christopher Lackner
218bd4c5d2 start work on stlparam from python, strange bad any cast exception 2019-08-02 16:22:53 +02:00
Christopher Lackner
c22ec2dcc2 meshingparameters from python as in gui 2019-07-29 07:11:57 +02:00
Christopher Lackner
091494c6b3 cleanup python export, generate mesh functions not monkeypatched 2019-07-25 23:25:58 +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
c5acbacadb Rename ArrayMem to NgArrayMem 2019-07-09 18:00:12 +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
Matthias Hochsteger
4aadd29dfc [cmake] Fix libraries privately 2019-06-30 00:54:31 +02:00
Joachim Schöberl
bc836f87ef facet curving using GeomInfo, adding overrides 2019-06-03 10:42:57 +02:00
Matthias Hochsteger
4a563f09af Fix build errors on Windows 2019-01-09 14:46:24 +01:00
Matthias Hochsteger
c6a401e066 Remove old profiler.hpp 2019-01-07 11:49:53 +01:00
Christopher Lackner
fd3474f5cb logging in ngcore 2018-12-28 13:43:15 +01:00
Christopher Lackner
829defd3eb archive now support python exported objects 2018-12-20 17:01:27 +01:00
Christopher Lackner
099acc9fa1 pickling for all geometry types 2018-12-14 12:01:58 +01:00
Joachim Schöberl
d7bf88e0cd modernize STL-meshing 2018-07-29 12:03:56 +02:00
Christopher Lackner
c9cd9eea2c add functions to collect visualization data to python export of geometries 2018-07-12 16:35:52 +02:00
Joachim Schöberl
e72d90fcbb Merge branch 'derive_geos_netgengeometry' into 'master'
derive geometry class in python from NetgenGeometry, gil call guard

See merge request jschoeberl/netgen!82
2018-04-18 22:00:03 +02:00
Christopher Lackner
bc520769ba derive geometry class in python from NetgenGeometry, gil call guard
for generatemesh in 2d
2018-04-17 19:37:29 +02:00
Christopher Lackner
96f9e01aba release GIL in expensive functions 2018-03-12 22:38:21 +01:00
Joachim Schöberl
ee7ac2e0a0 fix warnings 2018-03-08 23:47:58 +01:00
luz.paz
58002505bc Typos
Found via `codespell`
2018-01-14 12:18:54 -05:00
Joachim Schöberl
3665e649d7 remove experimental timers, no TSC per default 2017-11-24 09:23:14 +01:00
Joachim Schöberl
7cf05d84a8 AVX512 for element-trafos 2017-11-23 21:26:36 +01:00
Joachim Schöberl
1d02f7f104 geometric search tree with hash-table 2017-11-13 11:58:13 +01:00
Joachim Schöberl
af57dd1b72 improve STL makeatlas: searchtree, templetize searchtree 2017-11-10 13:22:20 +01:00
Matthias Hochsteger
1430b89e39 Update pybind11 to version 2.2.0
- Replace PYBIND11_PLUGIN with PYBIND11_MODULE

- Fix warnings about symbol visibility by replacing
  'namespace pybind11' with 'namespace PYBIND11_NAMESPACE'

- Pybind sets the default visibility of its namespace to 'hidden'
  Thus, our export functions like  ExportCSG(py::module &m) also are
  hidden by default. To work around that define DLL_HEADER
  '__attribute__ ((visibility ("default")))
  on GNUC platforms.
2017-09-01 10:16:56 +02:00