Commit Graph

939 Commits

Author SHA1 Message Date
Joachim Schöberl
45912fba10 Merge branch 'export_python_calclocalh' into 'master'
export CalcLocalH and SetMaxHDomain to Python

See merge request !65
2017-10-12 16:17:55 +02:00
Christopher Lackner
2835597c21 export CalcLocalH and SetMaxHDomain to Python 2017-10-12 12:55:07 +02: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
ec39a51e92 assign default geometry in the (Python) mesh ctor 2017-09-22 17:02:39 +02:00
Matthias Hochsteger
042db258c8 Fix build with GUI=ON, MPI=ON 2017-09-21 17:58:38 +02:00
Joachim Schöberl
924edbb3ad fixes thanks to etromme 2017-09-14 13:50:29 +02:00
Christoph Wintersteiger
2e07ee9962 use grading for boundray partition and set default value for elto0 2017-09-13 18:33:59 +02:00
Joachim Schöberl
045a271c2e dshapes were not computed for SIMDs 2017-09-13 10:46:10 +02:00
Joachim Schöberl
cb9816c244 Add gmsh-import, pybind2.2 ctor for Mesh 2017-09-06 18:08:39 +02:00
Joachim Schöberl
89f41da33b had to add default constructor (for pybind update) 2017-09-02 23:08:20 +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
7e83edabf1 order of d'tors for global variables: create VSSolution on demand, which is later 2017-08-28 18:19:20 +02:00
Joachim Schöberl
e33c859a43 delete global mesh the old way 2017-08-28 17:23:31 +02:00
Joachim Schöberl
74c8fa5cf4 little polish of bisect 2017-08-27 14:52:57 +02:00
Joachim Schöberl
6d39c78ffb close surfs with additional sub-domain 2017-08-27 14:52:11 +02:00
Joachim Schöberl
2d4bed6a77 fix crash at netgen exit 2017-08-27 14:51:35 +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
a0485eece0 wasn't worth it 2017-08-17 20:58:08 +02:00
Joachim Schöberl
b20f428eae to make also gcc-6.3 happy 2017-08-17 20:35:35 +02:00
Joachim Schöberl
3955916ac5 atomic fix 2017-08-17 20:27:41 +02:00
Joachim Schöberl
463c564c98 atomic workaround 2017-08-17 20:24:03 +02:00
Joachim Schöberl
4fe9abcc0e atomic workaround 2017-08-17 20:20:30 +02:00
Joachim Schöberl
5f211234d1 thread-safe insertion of surface elements 2017-08-17 20:08:08 +02:00
Joachim Schöberl
a86c9d19e0 fix multidim in Netgen 2017-08-16 15:49:45 +02:00
Christopher Lackner
180ebbda92 delete edges with negative edgenr in mesh.Compress 2017-08-09 14:31:26 +02:00
Joachim Schöberl
408a3efb3c Merge branch 'fix_splinesurface' into 'master'
fix splinesurface when points are not given exactly

See merge request !55
2017-08-08 08:01:32 +02:00
Christopher Lackner
e910eb5613 fix splinesurface when points are not given exactly 2017-08-02 14:45:03 +02:00
Christopher Lackner
ad490200a0 fix import of neutral file format with multiple surface numbers 2017-08-01 10:15:07 +02:00
Joachim Schöberl
043e3403ba use geometry from mesh on export user format 2017-07-24 22:26:18 +02:00
Joachim Schöberl
046f473619 Merge branch 'master' of data.asc.tuwien.ac.at:jschoeberl/netgen 2017-07-24 21:49:59 +02:00
Joachim Schöberl
8377ab058d switch off creation of hexes per default 2017-07-24 21:49:49 +02:00
Bernd Schwarzenbacher
2a37793f72 Add 3 meshingparameters to python interface 2017-07-24 11:00:56 -04:00
Matthias Hochsteger
0fc62e7920 Some DLL_HEADERs for Windows 2017-07-19 11:26:12 -07:00
Joachim Schöberl
f2f3e92125 second order segments available for Python 2017-06-28 07:23:28 +02:00
Joachim Schöberl
792ff477be respect 2nd order segment when exporting neutral format 2017-06-28 00:16:56 +02:00
Joachim Schöberl
ee476e154d set MeshPoint coordinates 2017-06-26 23:26:09 +02:00
Joachim Schöberl
4cb120047c replace char* by string 2017-06-25 18:22:46 +02:00
Joachim Schöberl
5d62946130 Merge branch 'master' of data.asc.tuwien.ac.at:jschoeberl/netgen 2017-06-23 22:10:14 +02:00
Joachim Schöberl
4309c1c656 facets for 0D elements 2017-06-23 22:09:50 +02:00
Joachim Schöberl
584f4506a9 Merge branch 'par_fixes' into 'master'
Par fixes

See merge request !51
2017-06-21 09:31:12 +02:00
Lukas Kogler
4c0c5aac8c correctly use delete[] instead of delete in python_mesh.cpp 2017-06-20 10:27:26 +02:00
Joachim Schöberl
837e92bb16 set geometry (thx Lukas) 2017-06-12 12:33:20 +02:00
lkogler
1e9e376d2e prettied it all up a bit 2017-06-09 20:56:19 +02:00
Lukas Kogler
3c1596b8a0 Fixed curvedelems+mesh loaded from file via python. Fixed MPI+curvedelems 2017-06-09 20:21:55 +02:00
Lukas Kogler
7e21f0cd9c BC-and Material-names are now working with MPI. 2017-06-08 17:50:37 +02:00
Lukas Kogler
6524c0c170 Merged master 2017-06-06 10:11:41 +02:00