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
Matthias Hochsteger
c274126487
Don't allow MPI-parallel GUI
2019-02-12 15:04:34 +01:00
Joachim Schöberl
c6d49734fb
default ctor for NgMPI_Comm
2019-02-12 08:03:20 +01:00
Joachim Schöberl
e9f352d8f3
order of export
2019-02-11 23:59:32 +01:00
Joachim Schöberl
9b8f273b14
mpiwrapper
2019-02-11 22:12:29 +01:00
Joachim Schöberl
7aa5c536a8
timers
2019-02-11 21:38:05 +01:00
Joachim Schöberl
9ced2f561f
mpi_wrapper
2019-02-11 21:37:28 +01:00
Michael Neunteufel
e8f6ca5c1b
merge master
2019-02-11 09:16:22 +01:00
Michael Neunteufel
ba26ddd834
Merge remote-tracking branch 'gitlab/master' into get_surface_point
2019-02-11 09:12:09 +01:00
Michael Neunteufel
9d7c851bd9
(hopefully) fixed point in quad for the last time
2019-02-11 09:11:57 +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
Joachim Schöberl
bf9cffa8de
Merge branch 'getrefinementlevel' into 'master'
...
Getrefinementlevel
See merge request jschoeberl/netgen!106
2019-02-07 15:10:38 +00:00
Christopher Lackner
d5f1076e17
read tet10, pyramid13, prism15 and hex20 from gmsh
2019-02-06 19:13:51 +01:00
Joachim Schöberl
bb64612179
Merge branch 'typo' into 'master'
...
Typo and cout
See merge request jschoeberl/netgen!126
2019-02-06 14:09:13 +00:00
Lukas
8a711031cc
replace cout by PrintMessage
2019-02-06 14:35:32 +01:00
Joachim Schöberl
e42f81b5d5
take care of tolerance in searchtree
2019-02-05 09:02:31 +01:00
Lukas
665acf811d
fix typo
2019-02-04 13:12:31 +01:00
Joachim Schöberl
1303e92379
modernize Delaunay
2019-02-03 06:20:52 +01:00
Joachim Schöberl
cc732689c2
start modernizing delaunay
2019-02-02 16:24:30 +01:00
Lukas
e880bff515
DLL_HEADER for ng_comm
2019-02-01 16:12:30 +01:00
Joachim Schöberl
17a457c1fc
timers
2019-01-31 18:41:20 +01:00
Lukas
214b5c452d
Wrap MPI-communicator on netgen side
2019-01-30 21:03:28 +01:00
Lukas
bc77c763ae
remove couts
2019-01-30 20:53:03 +01:00
Lukas
ee24e786af
use global communicator in python-mesh
2019-01-30 16:44:22 +01:00
Lukas
0f4ca1c7a7
Fewer ifdefs for MPI. More consistent use of mpi_interface instead of direct MPI calls.
2019-01-30 12:09:40 +01:00
Lukas
ff847e6eff
Without MPI, the mesh now has dummy-implementations for Distribute, SendRecvMesh, Get- and SetCommunicator.
2019-01-30 11:24:35 +01:00
Lukas
012d27d41e
Fix paralleltop. Clean up mesh loading.
2019-01-29 19:37:58 +01:00
Lukas
c7fb6c7e4a
Add a global communicator. The mesh now has a communicator.
2019-01-29 16:10:02 +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
229d1da5ea
use Range iterators
2019-01-19 18:06:40 +01:00
Joachim Schöberl
ec0a2a5ae8
quad8 and hex20 geometric elements
2019-01-19 14:29:02 +01:00
Joachim Schöberl
fcaabd38b7
more QUAD8
2019-01-19 14:29:02 +01:00
Joachim Schöberl
b6c58a8d63
more QUAD8
2019-01-19 14:29:02 +01:00
Joachim Schöberl
b6e62f9ebc
more QUAD8
2019-01-19 14:29:02 +01:00
Joachim Schöberl
48186fc54d
more QUAD8
2019-01-19 14:29:02 +01:00
Joachim Schöberl
bd20d044b1
more QUAD8
2019-01-19 14:29:02 +01:00
Joachim Schöberl
46f53b0d9e
more QUAD8
2019-01-19 14:29:02 +01:00
Joachim Schöberl
5776853952
more QUAD8
2019-01-19 14:29:01 +01:00
Joachim Schöberl
ba1463511b
more quad8
2019-01-19 14:29:01 +01:00
Joachim Schöberl
66ac2f1a4f
hex20 WIP
2019-01-19 14:29:01 +01:00
Matthias Hochsteger
ab15ae12bc
[cmake] Export object libs on Windows
2019-01-14 14:47:26 +01:00
Matthias Hochsteger
4aa7e76bd1
MPI-Parallel output of profiler
2019-01-14 13:04:27 +01:00
Matthias Hochsteger
69363e7ff2
Merge remote-tracking branch 'origin/master' into ngcore
2019-01-14 11:13:11 +01:00
Joachim Schöberl
96443e890b
timers
2019-01-12 08:19:57 +01:00
Matthias Hochsteger
247b2a2892
[cmake] Replace object libraries with interface libraries
2019-01-08 13:12:24 +01:00
Christopher Lackner
f88cc77cfe
move SymbolTable to ngcore
2019-01-02 18:21:52 +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
cdd871282e
Merge branch 'archive_mesh_curving' into 'master'
...
pickle curving of mesh
See merge request jschoeberl/netgen!105
2018-12-13 17:08:31 +00:00
Christopher Lackner
c5af003bba
Merge remote-tracking branch 'gitlab/master' into ngcore
2018-12-13 13:19:40 +01:00
Michael Neunteufel
355eed4818
hp level (should) work now for all singularities in 2D. Maybe also 3D?
2018-12-06 11:23:20 +01:00
Joachim Schöberl
e4d6ff8302
point-sources in 2D
2018-12-04 06:58: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
Christopher Lackner
7bfc48e8f3
start ngcore, archive in there
2018-11-29 18:35:30 +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
Christopher Lackner
2dc79a1e04
export get/set status to python
2018-11-06 11:41:04 +01:00
Michael
2a39b426aa
add get refinement level function for hp refinement. Works for point singularities
2018-11-05 10:45:33 +01:00
Matthias Hochsteger
b0129d0473
[bugfix] Set element index in CloseSurface()
2018-10-22 17:18:58 +02:00
Michael Neunteufel
1cdc814f4e
added BBBND material names
2018-08-07 11:09:03 +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
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
95efdd212d
periodic identification doesn't count for prism meshing
2018-06-28 20:54:59 +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
Christopher Lackner
bd58493649
fix for bisection of 2d periodic meshes
2018-06-12 10:08:13 +02:00
Joachim Schöberl
6df972be05
timestamps via interface V2
2018-05-18 21:13:21 +02: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
Joachim Schöberl
d9219e6f05
picking geometry with mesh (CSG only by now)
2018-05-12 09:16:02 +02:00
Christopher Lackner
8e73ba68fc
export mesh timestamp to python
2018-05-11 10:53:03 +02:00
Joachim Schöberl
66ef426c79
Curve mesh functionality over Ngx_Mesh
2018-05-01 21:20:54 +02:00
Joachim Schöberl
5a320121fd
move DoArchive to cpp-file
2018-04-28 12:07:57 +02:00
Joachim Schöberl
0b0616eee8
bug fix table archive
2018-04-28 10:34:46 +02:00
Joachim Schöberl
bda771f86f
more archive
2018-04-28 03:42:04 +02:00
Joachim Schöberl
f85b51496f
persistent archiving of pointers
2018-04-27 22:34:25 +02:00
Joachim Schöberl
633376972f
archiving the mesh
2018-04-27 08:36:22 +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
ee7ac2e0a0
fix warnings
2018-03-08 23:47:58 +01:00
Joachim Schöberl
5de403ffd8
py::init constructors
2018-03-08 22:19:11 +01:00
Joachim Schöberl
cf0d3f6682
fix warnings
2018-03-08 21:36:34 +01:00
Christopher Lackner
bdfbf14a39
fix segfault on query non set boundary name in 2D
2018-03-08 14:46:34 +01:00
luz.paz
a10531adb2
Misc. typos
...
Found via `codespell -q 3`
2018-02-06 14:12:24 -05:00
Christopher Lackner
301ba176e5
Python export of second order trigs
2018-01-23 16:45:20 +01:00
Matthias Hochsteger
0b411e1b07
install mydefs.hpp, some DLL_HEADER
...
Includes parts of pull request by looooo
https://github.com/NGSolve/netgen/pull/4
2018-01-23 03:03:47 -08:00
luz.paz
58002505bc
Typos
...
Found via `codespell`
2018-01-14 12:18:54 -05:00
Joachim Schöberl
3fffb78a20
more parallel in MeshTopology
2018-01-07 17:33:59 +01:00
Joachim Schöberl
5f2edca91c
more parallel in UpdateTopology, optimize Clusters
2018-01-06 18:41:45 +01:00
Joachim Schöberl
19ec4fc9ca
more tracing and parallelization
2018-01-04 18:45:07 +01:00
Joachim Schöberl
dca5a01e04
more parallel in topology
2018-01-04 13:00:01 +01:00
Joachim Schöberl
28c7bb27fc
include atomic
2018-01-04 12:18:23 +01:00
Joachim Schöberl
789305c3bc
more parallelism in netgen-topology
2018-01-04 11:48:45 +01:00
Joachim Schöberl
5469356147
tracer in Netgen
2018-01-04 10:43:34 +01:00
Unknown
afdc1ae85a
Misc. typos
...
More typo
2017-12-09 22:21:40 -05:00
Christopher Lackner
bcf5ea67aa
GetGeometry from mesh
2017-12-06 14:16:52 +01:00
Joachim Schöberl
38b7c2b8fa
added template instantiation
2017-11-24 07:09:28 +01:00
Joachim Schöberl
7cf05d84a8
AVX512 for element-trafos
2017-11-23 21:26:36 +01:00
Joachim Schöberl
1d02f7f104
geometric search tree with hash-table
2017-11-13 11:58:13 +01:00
Joachim Schöberl
af57dd1b72
improve STL makeatlas: searchtree, templetize searchtree
2017-11-10 13:22:20 +01:00
Joachim Schöberl
d02bb9024e
fix triangle generation rule (thx to TDM)
2017-11-07 11:36:54 +01:00
Joachim Schöberl
f1917aa2c4
Merge branch 'save_compressed_mesh' into 'master'
...
check filename extension when saving a mesh
See merge request !57
2017-11-06 17:03:31 +01:00
Christoph Wintersteiger
ccc092d2c5
save check of file ending
2017-10-30 13:43:01 +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
Christoph Wintersteiger
20d6a12192
check extension of filename to ensure that the loading process is successful
2017-09-29 14:47:16 +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
Joachim Schöberl
924edbb3ad
fixes thanks to etromme
2017-09-14 13:50:29 +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
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
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
74c8fa5cf4
little polish of bisect
2017-08-27 14:52:57 +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
Christopher Lackner
180ebbda92
delete edges with negative edgenr in mesh.Compress
2017-08-09 14:31:26 +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