Commit Graph

1164 Commits

Author SHA1 Message Date
Christopher Lackner
d59b30025b consistent header guards 2018-12-13 11:10:12 +01:00
Matthias Hochsteger
c48663d708 Some dll header 2018-12-12 17:45:06 +01:00
Matthias Hochsteger
835b2703f4 Remove version.cpp 2018-12-12 17:18:52 +01:00
Christopher Lackner
5a9e913172 fix downcaster for archive 2018-12-12 16:57:48 +01:00
Christopher Lackner
fe2a5b382d fix auto use 2018-12-12 15:35:19 +01:00
Matthias Hochsteger
c9798fe16a No need to dllexport template classes, fix forward declaration 2018-12-12 05:11:28 -08:00
Matthias Hochsteger
47dd0eeead Fixes 2018-12-12 04:41:18 -08:00
Christopher Lackner
f75563475b remove multiple implemented function, always run guideline check 2018-12-12 13:07:18 +01:00
Christopher Lackner
96e26565f2 guideline checks as test 2018-12-12 11:43:28 +01:00
Christopher Lackner
814d75d1c7 fix includes, fix naming convention 2018-12-12 11:24:11 +01:00
Christopher Lackner
83df85f274 detail namespace, linking ngcore to nglib 2018-12-12 11:05:17 +01:00
Christopher Lackner
60d4ef13ba fix warning as errors outside of ngcore 2018-12-10 16:20:07 +01:00
Christopher Lackner
b28cfcc332 fix casting, fix rest of core guidelines 2018-12-10 14:37:27 +01:00
Matthias Hochsteger
6335398341 fix compile error, some lint 2018-12-10 13:32:03 +01:00
Matthias Hochsteger
b0d15ee29e Fix casts 2018-12-10 11:53:10 +01:00
Christopher Lackner
0ef2d0f7f9 fixes for core guidelines checks 2018-12-10 11:49:38 +01:00
Matthias Hochsteger
0093dab1be Use C++ casts 2018-12-10 11:30:45 +01:00
Matthias Hochsteger
9916527097 Fix warning 2018-12-10 11:10:31 +01:00
Matthias Hochsteger
6a2361700f Fix typo 2018-12-10 10:59:46 +01:00
Christopher Lackner
6f808cb40f clang-tidy warnings as errors 2018-12-10 10:52:00 +01:00
Christopher Lackner
17aba88117 [ngcore] follow cpp guidelines, check them with clang-tidy 2018-12-08 16:10:29 +01:00
Matthias Hochsteger
0dc04b661c [ngcore] DLL exports 2018-12-07 13:08:00 +01:00
Christopher Lackner
69769fc628 mayor and minor are macros defined in GNU_SOURCE... 2018-12-07 11:45:39 +01:00
Christopher Lackner
32bc3f826e once only header for hpp files 2018-12-07 11:41:56 +01:00
Christopher Lackner
b064b9bbfd dll header 2018-12-07 11:39:00 +01:00
Christopher Lackner
3bb82dd2df DoArchive for array only if T is archivable, little cleanup 2018-12-07 11:20:47 +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
Matthias Hochsteger
f3950af799 Merge branch 'looooo-patch-1' 2018-12-05 11:04:05 +01:00
Matthias Hochsteger
de6afe339e Merge branch 'patch-1' of https://github.com/looooo/netgen into looooo-patch-1 2018-12-05 11:02:30 +01:00
Christopher Lackner
a1847ec05f store demangled type names for cross platform archive 2018-12-04 11:13:12 +01:00
Joachim Schöberl
7b7e7a52b5 throw exception if 2d meshing fails 2018-12-04 09:49:53 +01:00
Joachim Schöberl
e4d6ff8302 point-sources in 2D 2018-12-04 06:58:12 +01:00
Christopher Lackner
e845a203e9 archive for pointer to abstract base classes 2018-12-03 19:07:15 +01:00
Matthias Hochsteger
2ec3bb0df1 C++ 14 for Archiver 2018-12-03 18:07:52 +01:00
Christopher Lackner
b2a2c64845 fix for classes that have DoArchive but no inheritance. Some comments 2018-12-03 17:18:12 +01:00
Christopher Lackner
8e29d38fc1 archive works for pointers and shared_ptrs (even with
mult. inheritance and virtual base classes)
2018-12-03 16:28:04 +01:00
Matthias Hochsteger
63b7719c22 Update pybind11, remove evil hack 2018-12-03 11:38:11 +01:00
Christopher Lackner
7bfc48e8f3 start ngcore, archive in there 2018-11-29 18:35:30 +01:00
lorenz
593ce091b7
link to visual also if USE_GUI=OFF 2018-11-29 15:51:20 +01:00
lorenz
1432182458
occ must be installed 2018-11-27 16:29:07 +01:00
lorenz
3902456b3b
build without gui shouldn't add visualization for occ 2018-11-27 16:23:47 +01:00
Christopher Lackner
3df31d513d Merge branch 'archive_mesh_curving' into curved_splinesurface 2018-11-26 16:07:49 +01:00
Christopher Lackner
d1eb16badf allow curved bboundaries using splinesurfaces with ellipticcylinder cuttings 2018-11-26 11:41:25 +01:00
Christopher Lackner
ec129f6962 fix mesh pickling (if there is no geometry/no curving) 2018-11-22 19:11:49 +01:00
Christopher Lackner
a3d7be7e79 pickle curving of mesh 2018-11-22 16:23:23 +01:00
Joachim Schöberl
361f822316 access 'curved' of 3D elements 2018-11-20 09:36:27 +01:00
Joachim Schöberl
e67c48c094 optimize quad-mapping 2018-11-19 12:41:51 +01:00
Joachim Schöberl
f6a26637de optimization for bilinear quads 2018-11-19 10:57:03 +01:00
Joachim Schöberl
7a4d1f81fc curved attribute 2018-11-17 20:58:08 +01:00
Christopher Lackner
c52cc71a7b seg.cd2i is not set, seg.edgenr is used everywhere else 2018-11-16 11:43:19 +01:00
Joachim Schöberl
c55767369a local mesh-size also for 2D 2018-11-08 16:55:49 +01:00
Christopher Lackner
2dc79a1e04 export get/set status to python 2018-11-06 11:41:04 +01:00
Christopher Lackner
6ddbbe09b4 fix missing radius in getsurfacepoint of sphere 2018-10-24 11:09:05 +02:00
Matthias Hochsteger
b0129d0473 [bugfix] Set element index in CloseSurface() 2018-10-22 17:18:58 +02:00
Christopher Lackner
1774502954 change startpoint for sphere meshing so that it's less likely to hit a
touching point
2018-08-31 11:11:12 +02:00
Matthias Hochsteger
8f16fdb159 [pybind] Update GIL hack for Python 3.7 2018-08-30 14:49:56 +02:00
Joachim Schöberl
70e404caf4 Merge branch 'loadmesh_fix' into 'master'
Resetting Geometry breaks pde-files

See merge request jschoeberl/netgen!98
2018-08-09 16:04:17 +02:00
Lukas
0a541ca3de Resetting Geometry breaks pde-files 2018-08-09 14:11:44 +02:00
Joachim Schöberl
0251b4ad0c Merge branch 'loadmesh_fix' into 'master'
Reset geometry when loading mesh with MPI active.

See merge request jschoeberl/netgen!95
2018-08-07 11:21:51 +02:00
Michael Neunteufel
cdf114ed0e added BBBND material names 2018-08-07 11:12:07 +02:00
Michael Neunteufel
1cdc814f4e added BBBND material names 2018-08-07 11:09:03 +02:00
Lukas
bd8a53665a Reset geometry when loading mesh with MPI active. 2018-08-02 10:19:53 +02:00
Joachim Schöberl
614489c69a Merge branch 'mpi_periodic' into 'master'
Mpi periodic

See merge request jschoeberl/netgen!93
2018-08-02 06:56:47 +02:00
Joachim Schöberl
22c35dab4b Merge branch 'set_global_geo_occ' into 'master'
set global geometry when occ file is loaded

See merge request jschoeberl/netgen!94
2018-08-01 19:12:35 +02:00
Christopher Lackner
f065651227 set global geometry when occ file is loaded 2018-08-01 15:53:01 +02:00
Lukas
47e71acf13 Force segemnts to stick to surface elements in mesh partition. (surf els already stick to cells in 3d) 2018-08-01 10:35:26 +02:00
Joachim Schöberl
d7bf88e0cd modernize STL-meshing 2018-07-29 12:03:56 +02:00
Joachim Schöberl
ba620a5b41 GetParentNodes in impl.hpp file 2018-07-21 08:09:36 +02:00
Lukas
53524579b7 Fixed indention 2018-07-20 14:00:34 +02:00
Lukas
b2ae6210fc removed more output 2018-07-20 13:56:27 +02:00
Lukas
7f424a543a periodic mpi formatted 2018-07-20 13:44:46 +02:00
Lukas
9fd51602b1 less output 2018-07-20 13:29:16 +02:00
Lukas
29cfd7533c Periodic Mesh somewhat working in 2 and 3 dimensions. 2018-07-19 17:33:26 +02:00
Joachim Schöberl
6034f6ecc3 Merge branch 'visualization_data_geometries' into 'master'
add functions to collect visualization data to python export of geometries

See merge request jschoeberl/netgen!92
2018-07-12 17:21:02 +02:00
Christopher Lackner
c9cd9eea2c add functions to collect visualization data to python export of geometries 2018-07-12 16:35:52 +02:00
Matthias Hochsteger
ec3051815c [python] Patch pybind11 function to avoid deadlocks
see https://github.com/pybind/pybind11/pull/1211
2018-06-29 16:23:49 +02:00
Joachim Schöberl
95efdd212d periodic identification doesn't count for prism meshing 2018-06-28 20:54:59 +02:00
Joachim Schöberl
884a70319c fix historical bug in extremalpoints for spheres 2018-06-28 20:54:02 +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
Matthias Hochsteger
63ee20cb29 Set global Mesh pointer 2018-06-13 14:01:56 +02:00
Joachim Schöberl
cbe8bcb553 Merge branch 'fixbcname' into 'master'
fix behavior if not each segment has a bcname

See merge request jschoeberl/netgen!86
2018-06-13 09:39:23 +02:00
Joachim Schöberl
3112f4dc15 Merge branch 'loadmesh_fix' into 'master'
loadmesh fix

See merge request jschoeberl/netgen!90
2018-06-12 23:04:25 +02:00
Christopher Lackner
bafeb53395 zero based access to identification pairs in new interface 2018-06-12 13:37:06 +02:00
Lukas
68a552c7d6 Fixed indentions, etc. 2018-06-12 13:13:42 +02:00
Lukas
ebc6506f3e Forced linking of 2d-library to interface-library (this should solve the problem with SplineGeometryRegister if building without GUI) 2018-06-12 13:10:41 +02:00
Lukas
7e062372d4 Fixed it now? 2018-06-12 11:28:51 +02:00
Lukas
89c7626a01 Fixed it now? 2018-06-12 11:18:13 +02:00
Lukas
30928eaaa8 Fixed it 2018-06-12 11:11:36 +02:00
Lukas
20c62589d2 Geometry information is now also Distributed when loading a mesh via NG_LoadMesh (was already fixed for python-meshes) 2018-06-12 11:06:50 +02:00
Joachim Schöberl
7e76805269 Merge branch 'bisect_periodic_2d' into 'master'
fix for bisection of 2d periodic meshes

See merge request jschoeberl/netgen!87
2018-06-12 10:39:53 +02:00
Christopher Lackner
2a31e00148 return 0 based periodic vertices in new interface 2018-06-12 10:34:13 +02:00
Christopher Lackner
bd58493649 fix for bisection of 2d periodic meshes 2018-06-12 10:08:13 +02:00
Joachim Schöberl
7e8f8dbeb0 GetPeriodicVertices in new interface 2018-06-08 16:28:51 +02:00
Christoph Wintersteiger
2754e8705e fix behavior if not each segment has a bcname 2018-06-01 14:21:56 +02:00
Joachim Schöberl
6df972be05 timestamps via interface V2 2018-05-18 21:13:21 +02:00
Kurt Kremitzki
f5d87f0024 Remove unnecessary backup files 2018-05-15 13:34:51 -05:00
Joachim Schöberl
aa13a2fbb4 Merge branch 'export_timestamp' into 'master'
export mesh timestamp to python

See merge request jschoeberl/netgen!84
2018-05-14 18:52:28 +02:00
Christopher Lackner
375460b75d change timestamp to python private convention 2018-05-14 11:01:27 +02:00