Matthias Hochsteger
4dcd20a0c7
initialize bounding box
2020-08-20 16:12:34 +02:00
Matthias Hochsteger
28d4b219fa
bugfix in csg2d
2020-08-20 15:07:43 +02:00
Matthias Hochsteger
7cbeca147a
fix windows build
2020-08-19 16:25:54 +02:00
Matthias Hochsteger
12b2e073ac
CSG for 2D
2020-08-19 16:46:32 +02:00
Matthias Hochsteger
2f88502729
Remove Segment::bcname, fix Mesh::operator=
...
Remap the 'string* bcname' members in the FaceDescriptor objects in
Mesh::operator= to the new mesh
2020-07-23 16:24:59 +02:00
Christopher Lackner
c3441344fb
set material in tensorproduct mesh in 2d as well
2020-06-23 18:52:29 +02:00
Matthias Hochsteger
d1c7a16d63
Do linear interpolation of corresponding edge points in SplineGeometry tensor mesh generation
...
better results for curved domains
2020-06-08 10:41:24 +02:00
Matthias Hochsteger
5bea3bb612
Implement and export SplineGeometry2d::SetDomainTensorMeshing
2020-06-08 10:39:55 +02:00
Matthias Hochsteger
ce90bd9e83
[cmake] Simplify compile flag handling on Windows
...
Add options/define flags to ngcore, so they are automatically passed on
to dependencies
2020-01-16 16:38:06 -08:00
Matthias Hochsteger
a06189ac4e
Redraw after geom2d::Draw()
2019-12-10 17:57:46 +01:00
Joachim Schöberl
da4053adfa
Draw 2D geometry
2019-12-05 14:52:14 +01:00
Joachim Schöberl
2b683f70d5
Merge branch 'throw_on_meshing_fail' into 'master'
...
throw on meshing failure
See merge request jschoeberl/netgen!299
2019-11-26 19:27:30 +00:00
Matthias Hochsteger
f3d9d3ad67
[cmake] Don't link python libraries in unix-conda environment
...
Conda links python libs statically to python executable
2019-11-26 19:26:18 +00:00
Christopher Lackner
303aebc27e
throw on meshing failure
2019-11-26 17:08:21 +01:00
Christopher Lackner
1b1c4700ad
geo GetNormal and ProjectPointEdge with geoinfo pointer
2019-11-04 11:27:01 +01:00
Christopher Lackner
5b45c7a972
implement meshing2 functionality for 3d geometries
2019-10-28 13:44:51 +01:00
Matthias Hochsteger
082908a5ec
ProjectPointGI for CSG and 2D geometries
2019-10-23 11:08:11 +02:00
Christopher Lackner
fa3ae333ce
delete trailing whitespaces in new commits
2019-10-07 15:17:03 +02:00
Christopher Lackner
05881c0eb5
refactor a lot of the old code, stl still needs to be done
2019-10-07 15:17:03 +02:00
Michael Neunteufel
4b26f39974
export hprefleft/hprefright to python, sort points for segments and check if point is part of correct material
2019-09-13 09:09:56 +02:00
Christopher Lackner
7021ff8cb2
mac os doesn't have throwing variant get
2019-08-27 18:44:23 +02:00
Christopher Lackner
e2df8a5abc
little cleanup and modernization in geom2d code
2019-08-27 14:00:44 +02:00
Joachim Schöberl
75e84ea40f
fix warnings
2019-08-07 18:36:16 +02:00
Christopher Lackner
c22ec2dcc2
meshingparameters from python as in gui
2019-07-29 07:11:57 +02:00
Christopher Lackner
091494c6b3
cleanup python export, generate mesh functions not monkeypatched
2019-07-25 23:25:58 +02: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
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
Christopher Lackner
d19b1ec35f
allow setting of maxh in old in2d files
2019-05-17 16:23:16 +02:00
Joachim Schöberl
ed5779df05
define curve from Python for 2D geometry (e.g. airfoil profile)
2019-05-13 08:43:54 +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
1e6829d8c7
remove output
2019-02-08 00:36:52 +01:00
Joachim Schöberl
966c2960fb
rounding num segments per edge
2019-02-07 23:09:34 +01:00
Lukas
7b5c69f993
fix maxsegmentindex being off by one
2019-01-31 10:03:59 +01:00
Christopher Lackner
05f22e463d
add function to automatically create pml layer around convex 2d geometries
2019-01-23 10:35:20 +01:00
Matthias Hochsteger
ab15ae12bc
[cmake] Export object libs on Windows
2019-01-14 14:47:26 +01:00
Matthias Hochsteger
4a563f09af
Fix build errors on Windows
2019-01-09 14:46:24 +01:00
Joachim Schöberl
cdf50f2cd6
Merge branch 'archive_python_pickle' into 'master'
...
archive now support python exported objects
See merge request jschoeberl/netgen!112
2018-12-30 14:34:03 +00:00
Joachim Schöberl
f87a173ccf
py-bind with multiple inheritance
2018-12-30 15:27:48 +01:00
Joachim Schöberl
73c60d5194
change order for multiple inheritance
2018-12-29 18:31: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
Christopher Lackner
c5af003bba
Merge remote-tracking branch 'gitlab/master' into ngcore
2018-12-13 13:19:40 +01:00
Christopher Lackner
fdfb596e9c
archive for CSGeometry
2018-12-06 17:53:44 +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
Joachim Schöberl
c55767369a
local mesh-size also for 2D
2018-11-08 16:55:49 +01: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
Christoph Wintersteiger
2754e8705e
fix behavior if not each segment has a bcname
2018-06-01 14:21:56 +02:00