Commit Graph

158 Commits

Author SHA1 Message Date
Christopher Lackner
f1fc7e747d fix default argument for meshinparameters 2019-07-29 07:54:38 +02:00
Christopher Lackner
c22ec2dcc2 meshingparameters from python as in gui 2019-07-29 07:11:57 +02:00
Christopher Lackner
a989babd21 use CreateMPfromKwargs for mesh.GenerateVolumeMesh as well 2019-07-26 17:07:30 +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
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
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Christopher Lackner
c7a71148f4 export function to get volume elements adjacent to surface element 2019-05-22 00:25:18 +02:00
Lukas Kogler
fbe660f775 Receive Mesh from python as static method 2019-04-17 12:25:12 +02:00
Joachim Schöberl
2794dda996 copy mesh from py 2019-04-10 14:13:34 +02:00
Joachim Schöberl
dab8c827fe Constructor for Trafo by rotation along an arbitrary axes, combine trafos 2019-03-25 12:33:16 +01:00
Lukas
4637854c9b When loading a netgen-mesh, take geometry-info from mesh-file over global geometry. 2019-02-25 16:28:31 +01:00
Joachim Schöberl
fa3f89d337 use std::vector for binding PointIndex, avoid map 2019-02-15 21:00:59 +01:00
Christopher Lackner
eaf08e5c6f import mesh from other file format from python 2019-02-13 22:39:31 +01:00
Joachim Schöberl
67c24a044c get rid of ng_comm 2019-02-12 22:27:58 +01:00
Joachim Schöberl
734e96c87c get rid of ng_comm 2019-02-12 22:11:55 +01:00
Matthias Hochsteger
bc21e34125 Mesh is MPI-local by default 2019-02-12 16:30:18 +01:00
Joachim Schöberl
e9f352d8f3 order of export 2019-02-11 23:59:32 +01:00
Joachim Schöberl
9ced2f561f mpi_wrapper 2019-02-11 21:37:28 +01:00
Joachim Schöberl
9500f8d8f2 handle 2 ranks case 2019-02-08 22:12:00 +01:00
Joachim Schöberl
8a165ef8f1 subcomms 2019-02-08 20:24:54 +01:00
Joachim Schöberl
bab9d41b1b why was SubComm that complicated ? 2019-02-08 17:20:13 +01:00
Joachim Schöberl
f661e4a30d distribute 2019-02-08 14:22:43 +01:00
Christopher Lackner
d5f1076e17 read tet10, pyramid13, prism15 and hex20 from gmsh 2019-02-06 19:13:51 +01:00
Lukas
214b5c452d Wrap MPI-communicator on netgen side 2019-01-30 21:03:28 +01:00
Lukas
ee24e786af use global communicator in python-mesh 2019-01-30 16:44:22 +01:00
Christopher Lackner
21ba19bf10 export __getitem__ and __len__ for Vec 2019-01-24 16:13:22 +01:00
Christopher Lackner
05f22e463d add function to automatically create pml layer around convex 2d geometries 2019-01-23 10:35:20 +01:00
Joachim Schöberl
66ac2f1a4f hex20 WIP 2019-01-19 14:29:01 +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
361f822316 access 'curved' of 3D elements 2018-11-20 09:36:27 +01:00
Joachim Schöberl
7a4d1f81fc curved attribute 2018-11-17 20:58:08 +01:00
Christopher Lackner
2dc79a1e04 export get/set status to python 2018-11-06 11:41:04 +01:00
Michael Neunteufel
1cdc814f4e added BBBND material names 2018-08-07 11:09:03 +02:00
Joachim Schöberl
8c56725dcf query coordinate trafo 2018-06-25 19:42:42 +02:00
Joachim Schöberl
c20c2061f4 export SetTransformation 2018-06-25 19:25:17 +02:00
Joachim Schöberl
6df972be05 timestamps via interface V2 2018-05-18 21:13:21 +02:00
Christopher Lackner
375460b75d change timestamp to python private convention 2018-05-14 11:01:27 +02:00
Christopher Lackner
8e73ba68fc export mesh timestamp to python 2018-05-11 10:53:03 +02:00
Joachim Schöberl
a985a7bfb1 Merge branch 'curvemanualmeshes' into 'master'
modify PointBetween for manually generated meshes

See merge request jschoeberl/netgen!83
2018-04-26 12:31:43 +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
Christoph Wintersteiger
ef80db781a modify PointBetween for manually generated meshes 2018-04-18 09:34:41 +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
07b84024ca enable tables to disable edge/face generation if not needed 2018-03-11 16:28:43 +01:00
Joachim Schöberl
aa8dbac6be export Trafo to py, IdentifyPeriodic with Trafo 2018-03-09 15:29:50 +01:00
Joachim Schöberl
5de403ffd8 py::init constructors 2018-03-08 22:19:11 +01:00