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
Christopher Lackner
301ba176e5
Python export of second order trigs
2018-01-23 16:45:20 +01:00
Christopher Lackner
bcf5ea67aa
GetGeometry from mesh
2017-12-06 14:16:52 +01:00
Joachim Schöberl
712e2c3fb4
Segment array with size_t indexing
2017-10-29 11:31:50 +01:00
Christopher Lackner
2835597c21
export CalcLocalH and SetMaxHDomain to Python
2017-10-12 12:55:07 +02:00
Joachim Schöberl
ec39a51e92
assign default geometry in the (Python) mesh ctor
2017-09-22 17:02:39 +02:00
Joachim Schöberl
924edbb3ad
fixes thanks to etromme
2017-09-14 13:50:29 +02:00
Joachim Schöberl
cb9816c244
Add gmsh-import, pybind2.2 ctor for Mesh
2017-09-06 18:08:39 +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
Matthias Hochsteger
d4a2d4c87b
Check if mesh file exists before loading
...
Also derive NgException from std::exception to print the error message
in Python / on the command line.
2017-08-24 13:59:16 +02:00
Joachim Schöberl
043e3403ba
use geometry from mesh on export user format
2017-07-24 22:26:18 +02:00
Bernd Schwarzenbacher
2a37793f72
Add 3 meshingparameters to python interface
2017-07-24 11:00:56 -04:00
Joachim Schöberl
f2f3e92125
second order segments available for Python
2017-06-28 07:23:28 +02:00