Commit Graph

91 Commits

Author SHA1 Message Date
Joachim Schöberl
0209472ef6 csg.AddPoint with names 2020-01-15 11:56:23 +01:00
Joachim Schöberl
d53f28c89b named edges in CSG geometry 2020-01-13 16:41:18 +01:00
Christopher Lackner
30b10c1aaa remove debug cout 2020-01-13 11:17:00 +01:00
Christopher Lackner
303aebc27e throw on meshing failure 2019-11-26 17:08:21 +01:00
Christopher Lackner
ed024bb66a remove last placement init which is deprecated in pybind11 2019-08-09 14:43:58 +02:00
Christopher Lackner
dc8d96aefa move flags to ngcore 2019-08-06 14:16:13 +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
Christopher Lackner
6c609087b7 get solids from csg geometry 2019-07-15 09:07:35 +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
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Joachim Schöberl
4f40087866 domain indices are 1-based 2019-01-25 10:42:03 +01:00
Joachim Schöberl
ed4240b9c6 singular face 2019-01-10 09:41:42 +01:00
Joachim Schöberl
cdf50f2cd6 Merge branch 'archive_python_pickle' into 'master'
archive now support python exported objects

See merge request jschoeberl/netgen!112
2018-12-30 14:34:03 +00:00
Christopher Lackner
829defd3eb archive now support python exported objects 2018-12-20 17:01:27 +01:00
Christopher Lackner
8fc1420d03 Merge branch 'ngcore' into curved_splinesurface 2018-12-13 14:01:26 +01:00
Christopher Lackner
fdfb596e9c archive for CSGeometry 2018-12-06 17:53:44 +01:00
Christopher Lackner
292dbcf5a0 version checks for archive, fix archive of empty string 2018-12-05 14:20:24 +01:00
Christopher Lackner
7bfc48e8f3 start ngcore, archive in there 2018-11-29 18:35:30 +01:00
Christopher Lackner
d1eb16badf allow curved bboundaries using splinesurfaces with ellipticcylinder cuttings 2018-11-26 11:41:25 +01:00
Christopher Lackner
c9cd9eea2c add functions to collect visualization data to python export of geometries 2018-07-12 16:35:52 +02:00
Christopher Lackner
96f9e01aba release GIL in expensive functions 2018-03-12 22:38:21 +01:00
Joachim Schöberl
aa8dbac6be export Trafo to py, IdentifyPeriodic with Trafo 2018-03-09 15:29:50 +01:00
Christopher Lackner
522aa25e3f export elliptic cone to python 2018-02-26 15:22:35 +01:00
Joachim Schöberl
9d3360a9a2 singular edges and points in CS-Geometry 2018-01-22 10:44:14 +01:00
Joachim Schöberl
d2c70117cc fix ClosedSurface 2018-01-14 08:01:57 +01:00
Michael Neunteufel
d6bb0844de ellipsoid export to python 2017-12-07 09:43:32 +01:00
Joachim Schöberl
60c80fe9fc use (double) factor for 2D hprefinement for strength of geometric refinement 2017-10-03 06:34:09 +02:00
Joachim Schöberl
aa97817d08 support of 0D-elements in CSG 2017-09-22 17:02:39 +02:00
Joachim Schöberl
111f90939e init color, add transparent 2017-09-02 22:13:44 +02:00
Joachim Schöberl
e17939a95b Merge branch 'update_pybind11' into 'master'
Update pybind11 to version 2.2.0

See merge request !60
2017-09-02 22:09:34 +02: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
Joachim Schöberl
5de14c63a4 set color of CSG top-level object 2017-09-01 09:12:50 +02:00
Joachim Schöberl
6d39c78ffb close surfs with additional sub-domain 2017-08-27 14:52:11 +02:00
Christoph Wintersteiger
892b391ad3 add boundary condition and maxh to base of SplineSurface 2017-06-01 17:09:02 +02:00
Joachim Schöberl
0608eb1ee0 set maxh for subdomains: geo.Add(solid, maxh=0.1) 2017-03-16 20:57:42 +01:00
Christopher Lackner
58555b96d9 use Array instead of std::vector 2017-02-27 11:32:42 +01:00
Christopher Lackner
89fe31b550 Squashed commit of the following:
commit fa556baaa222ba349d534027f7203588dcda6ad8
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date:   Thu Feb 23 15:56:47 2017 +0100

    add python path to docker template

commit 54eb7eedc77ad8c86952c347536e7e1a854b62ed
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Thu Feb 23 14:59:45 2017 +0100

    install pytest in docker images

commit 3c1c755891e8372762130a6ed8c39cf056430264
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Thu Feb 23 14:52:32 2017 +0100

    enable CTest properly, add pytest

commit 4c4cf229ab8e7fd6057f535fb05c3079a9278f80
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date:   Thu Feb 23 14:02:13 2017 +0100

    fix write splinesurface to savemesh

commit 069fbdbc529c9dd91644663f3f365e08be5af70e
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date:   Thu Feb 23 09:03:26 2017 +0100

    fix lifetime of SplineSurface
2017-02-23 16:41:27 +01:00
Christoph Wintersteiger
551db1627e fix CalcProj for ExtrusionFace and export to python 2017-01-27 16:14:27 +01:00
Joachim Schöberl
d1de4a7cf9 Introduce NetgenGeometry base class to Python. export meshing first, then csg 2017-01-05 05:08:24 +01:00
Christopher Lackner
7e4892a9e7 firststep and laststep as meshingparameters to be exported to python 2016-12-05 13:50:21 +01:00
Christopher Lackner
8a1cf75c5e fix init of splinesurface 2016-11-09 16:10:04 +01:00
Christopher Lackner
9e14f2ceb8 pyb11 fixes 2016-11-06 18:25:38 +01:00
Christopher Lackner
2122a954aa merge pybind11 2016-11-05 17:15:16 +01:00
Joachim Schöberl
fe356ab3ca 0 to py::int_ conversion 2016-11-04 14:55:15 +01:00
Matthias Hochsteger
399d370463 fix some typos and add placement new operator to AlignedAlloc 2016-11-04 12:48:23 +01:00
Matthias Hochsteger
abde483216 fix wrong namespace 2016-11-04 12:19:38 +01:00
Matthias Hochsteger
96c1235184 switch from boost::python to pybind11 2016-11-04 12:14:52 +01:00
Christopher Lackner
2d77b35b39 merge master 2016-10-31 15:37:02 +01:00
Joachim Schöberl
3a631f10ca solution visualization using AVX 2016-10-30 15:01:52 +01:00