Christopher Lackner
ee4dce0eab
arraymem has deleted copy assignment
2019-07-12 13:32:21 +02:00
Joachim Schöberl
1653f56efc
Merge branch 'no_pybind_everywhere' into 'master'
...
Get rid of pybind11 include in archive.hpp
See merge request jschoeberl/netgen!175
2019-07-12 06:48:15 +00: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
ea9fab8c77
Remove limit of max 100 PointGeomInfos, add move assignment to ArrayMem
2019-07-11 13:21:47 +00:00
Matthias Hochsteger
b848bdc237
Fix MPI build
2019-07-10 12:33:01 +02:00
Matthias Hochsteger
c5acbacadb
Rename ArrayMem to NgArrayMem
2019-07-09 18:00:12 +02:00
Matthias Hochsteger
2d46d21a52
Rename FlatArray to NgFlatArray
2019-07-09 10:40:35 +02:00
Matthias Hochsteger
cb87362f64
Rename Array to NgArray
2019-07-09 10:39:16 +02:00
Matthias Hochsteger
4aadd29dfc
[cmake] Fix libraries privately
2019-06-30 00:54:31 +02:00
Michael Neunteufel
10297c1e6c
copy numvertices for optimize2dmesh
2019-06-24 19:43:21 +02:00
Michael Neunteufel
88ec68be65
OptimizeMesh2d works now with curved TRIG6
2019-06-24 19:29:38 +02:00
Michael Neunteufel
a925ef4e65
copy also material and cd3 names in meshclass
2019-06-24 12:45:44 +02:00
Joachim Schöberl
e0f290676f
new timers
2019-06-03 10:42:57 +02:00
Joachim Schöberl
bc836f87ef
facet curving using GeomInfo, adding overrides
2019-06-03 10:42:57 +02:00
Christopher Lackner
0a08450bfa
move testout to ngcore
2019-05-28 13:51:53 +02:00
Christopher Lackner
c7a71148f4
export function to get volume elements adjacent to surface element
2019-05-22 00:25:18 +02:00
Lukas
89a34b865f
completely reset topology on master after distributing mesh
2019-04-29 16:44:07 +02:00
Christopher Lackner
0c6b36dca6
remove meshtopology default copy ctor (is deleted anyway)
2019-04-29 13:10:52 +02:00
Matthias Hochsteger
dc4b1c05b9
Handle numbers in correct order (first index, then number of points)
2019-04-26 09:27:29 +02:00
Joachim Schöberl
3de07c25ab
little fix for distributing 2d meshes
2019-04-25 22:51:15 +02:00
Matthias Hochsteger
09f6a08f73
Merge branch 'mpi_fix' into 'master'
...
fix ReceiveParallelMesh
See merge request jschoeberl/netgen!156
2019-04-24 09:05:10 +00:00
Joachim Schöberl
f070ac4daf
remove detail timers
2019-04-20 10:25:28 +02:00
Lukas
a85b33e345
fix vol el NP for 2-dim meshes
2019-04-19 13:51:37 +02:00
Matthias Hochsteger
db19a44fe8
Merge branch 'fix_uninitialized_values' into 'master'
...
fix uninitialized values
See merge request jschoeberl/netgen!153
2019-04-17 14:45:53 +00:00
Lukas Kogler
fbe660f775
Receive Mesh from python as static method
2019-04-17 12:25:12 +02:00
Lukas Kogler
5423242cd8
fix uninitialized values
2019-04-17 12:24:23 +02:00
Matthias Hochsteger
d6f1cf2bda
[cmake] Don't install object libraries on Windows
...
Works around following issue with CMake 3.14:
> CMake error : install(EXPORT "netgen-targets" ...) includes target "mesh" which requires target "gprim" that is not in the export set.
2019-04-16 12:39:56 -07:00
Joachim Schöberl
18feeba999
Merge branch 'mpi_fix' into 'master'
...
MPI fix
See merge request jschoeberl/netgen!150
2019-04-16 11:36:20 +00:00
Lukas
a386ca46d9
delete local memory after redistributing mesh on master. GetElementOfPoint behaves correctly for empty meshes
2019-04-15 17:49:45 +02:00
Joachim Schöberl
e220a252d1
fixes for tet10 and trig6 elements (is_curved, clipping-plane vis)
2019-04-14 07:55:38 +02:00
Christopher Lackner
3b605c9a14
archive numvertices so that secondorder mesh is pickled correctly
2019-04-11 13:57:14 +02:00
Joachim Schöberl
2794dda996
copy mesh from py
2019-04-10 14:13:34 +02:00
Christopher Lackner
a6825d18ca
build jacobi pols even if mesh is unpickled and buildcurvedelements is
...
never called
2019-04-06 13:40:37 +02:00
Joachim Schöberl
f6a290e44f
modernize ComputeNVertices
2019-03-30 14:02:38 +01:00
Matthias Hochsteger
fefddf14cc
DLL_HEADER for meshing functions
2019-03-25 14:01:06 +01: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
05518ea796
fix index 1/0 typo
2019-03-20 17:06:57 +01:00
Lukas
9c4cfb7864
use mesh-communicator in another place
2019-02-28 17:48:18 +01:00
Lukas
fc7381e587
topology does not build faces/edges befire distributing
2019-02-28 17:48:18 +01:00
Matthias Hochsteger
10ef58b54b
Merge branch 'fix_curve_mpi' into 'master'
...
fix rank/ntasks in curvedelems
See merge request jschoeberl/netgen!140
2019-02-28 16:11:17 +00:00
Lukas
c1256c3ffd
fix typo
2019-02-28 16:46:37 +01:00
Lukas
16421b4be3
fix rank/ntasks in curvedelems
2019-02-28 16:25:31 +01:00
Lukas
7346495135
no stack arrays for names
2019-02-28 12:06:30 +01:00
Lukas
039e6d753f
simplify distributing names (and also distribute co-dim 2/3 names)
2019-02-26 11:18:42 +01:00
Lukas
965a6cc387
archive co-dim 3 names
2019-02-26 11:18:11 +01:00
Lukas
a2f81d0337
Fix MPI + empty bc/mat-names. (But that should not happen..)
2019-02-25 16:38:21 +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
Lukas
55b0fe17d7
use mesh communicator for rank/size
2019-02-25 16:21:04 +01:00
Joachim Schöberl
179c3bb02f
don't store partition in element (most times waste of mem)
2019-02-15 21:01:00 +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
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