Commit Graph

115 Commits

Author SHA1 Message Date
Matthias Hochsteger
b694b4667a rework build system, separate gui and non-gui code
move fieldlines code to meshing dir

move visualization function pointers to meshing directory

DLL_HEADER -> NGGUI_API in visualization lib

move soldata.hpp to meshing

update occ, no freetype necessary anymore
2022-05-05 14:39:31 +02:00
mhochsteger@cerbsim.com
dabb3b9dbf Interpolate growth vectors on surfaces
also:
- clean up delaunay2d code (Use Point<2>, remove comments)
- implement CalcWeights() used to interpolate data from boundary points
  to surface points
2022-02-28 17:41:18 +01:00
Matthias Hochsteger
16b88e8e67 OCC Mesher Cleanup 2021-11-28 15:14:41 +00:00
mhochsteger@cerbsim.com
36f22a13ce also save occ identifications in mesh file attachment 2021-11-12 12:54:58 +01:00
mhochsteger@cerbsim.com
225312b9d9 Save occ identifications in step file 2021-11-04 21:58:56 +01:00
Joachim Schoeberl
95301e11ba mesh.SecondOrder : fix Segment mapping 2021-10-15 18:52:20 +02:00
Christopher Lackner
bd29763b16 Add std::any to py::object caster for archive registered types 2021-09-28 22:34:11 +02:00
Matthias Hochsteger
a89cf0089a Scaling of bounding box (instead of increasing size in all directions) 2021-07-06 17:09:22 +02:00
Joachim Schoeberl
30d708f487 thread-safe CSG crosspoints and edges 2021-06-21 05:22:00 +02:00
Matthias Hochsteger
d6ca80d50e Fix SplineSeg ctor 2021-06-08 19:28:53 +02:00
Christopher Lackner
b8ab3a47a7 Give bcname and maxh to revolution by adding it to spline 2021-06-08 14:35:58 +02:00
Stefan Brüns
2767672286 Cleanup use of M_PI/PI defines
gprim/geom2d.cpp includes mystdlib.h, which already has a fallback define
for M_PI. As geomfuncs.cpp also includes mystdlib.h, use M_PI instead
of a truncated value.

occ/Partition_Loop2d.cxx already gets M_PI from the opencascade headers
(~everything includes Standard_Real.hxx, which includes Standard_math.hxx,
which sets _USE_MATH_DEFINES for Windows and includes math.h).
2021-03-10 00:46:58 +01:00
Joachim Schöberl
476a4c350c robust Polyhedron::VecInSolid option 2020-10-14 16:37:01 +02:00
Matthias Hochsteger
f55e3e6eb4 move DelaunayTree to adtree.hpp 2020-10-14 12:00:37 +02:00
Joachim Schöberl
a894ebc9f5 stable pseudo-inverse, improve edge-analysis for revolution 2020-10-11 22:16:47 +02:00
Matthias Hochsteger
0852a20fff some DLL_HEADER 2020-09-24 16:58:59 +02:00
Matthias Hochsteger
12b2e073ac CSG for 2D 2020-08-19 16:46:32 +02:00
Matthias Hochsteger
a0f70b4d73 SplineSeg3 ctor with custom weight 2020-08-13 19:52:55 +02:00
Joachim Schöberl
c074e0c752 reduce duplicated mpi-wrapping 2020-07-31 09:57:19 +02:00
Matthias Hochsteger
df97e45bd1 SplitImprove2 - cleanup, new point at min dist of edges 2020-07-20 18:56:36 +02:00
Christopher Lackner
79b1d22185 some more python Vec and Pnt arithmetic 2019-12-10 14:04:53 +01:00
Matthias Hochsteger
a0921a5e7f Fix Vec<> comparison operator
- Iterate over size of Vec<> (thx Joachim)
- Declare it const (otherwise pybind compares the pointers to the data
    arrays instead)
2019-11-28 11:05:17 +01:00
Matthias Hochsteger
05e6456ec2 Vec3d to Vec<3>, comparison operator for Vec<> 2019-11-27 14:47:24 +01:00
Christopher Lackner
c361d1712d little cleanup in adfront2 2019-10-23 14:44:07 +02:00
Christopher Lackner
09dbdd7a53 remove not used file 2019-10-01 17:30:52 +02:00
Matthias Hochsteger
7ced41e56f Use searchtree in STLBoundary 2019-10-01 12:19:22 +02:00
Matthias Hochsteger
ef64a5e7eb Replace BoxTree with BTree 2019-10-01 11:22:30 +02:00
Christopher Lackner
bf217b9934 change PointNd to Point<N> adfront2 2019-09-29 16:22:00 +02:00
Christopher Lackner
ca2212879e Change some PointNd to Point<N> functions 2019-09-29 14:54:24 +02:00
Christopher Lackner
4d5fe67d83 fix vec constructor from point and make explicit 2019-09-27 17:01:12 +02:00
Joachim Schöberl
0c4b90c4c4 template functions to header 2019-09-24 10:13:35 +02:00
Joachim Schöberl
f008de5b04 searchtree with BlockAllocator (again) 2019-09-23 20:49:12 +02:00
Joachim Schöberl
6ad36f73cb move BoxTree to headers 2019-09-21 09:45:29 +02:00
Matthias Hochsteger
3ce00d1a0c Remove AlignedAlloc
Instead, use a global new (size_t, align_t) operator for MacOS versions
(pre 10.14 is lacking full C++17 support in the standard library).

On all other platforms/versions we expect full C++17 support.
2019-08-14 13:09:57 +02:00
Joachim Schöberl
234d441a90 Range::Modify() 2019-08-09 18:10:21 +02:00
Joachim Schöberl
9118ddc63a preparations to switch T_POINTS to ngcore::Array 2019-08-09 15:30:58 +02:00
Joachim Schöberl
75e84ea40f fix warnings 2019-08-07 18:36:16 +02:00
Matthias Hochsteger
c5acbacadb Rename ArrayMem to NgArrayMem 2019-07-09 18:00:12 +02:00
Matthias Hochsteger
cb87362f64 Rename Array to NgArray 2019-07-09 10:39:16 +02:00
Joachim Schöberl
dab8c827fe Constructor for Trafo by rotation along an arbitrary axes, combine trafos 2019-03-25 12:33:16 +01:00
Joachim Schöberl
e42f81b5d5 take care of tolerance in searchtree 2019-02-05 09:02:31 +01:00
Joachim Schöberl
cc732689c2 start modernizing delaunay 2019-02-02 16:24:30 +01:00
Matthias Hochsteger
247b2a2892 [cmake] Replace object libraries with interface libraries 2019-01-08 13:12:24 +01:00
Matthias Hochsteger
58007f1eaf Fix cmake error 2019-01-07 11:56:31 +01:00
Christopher Lackner
fd3474f5cb logging in ngcore 2018-12-28 13:43:15 +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
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
Joachim Schöberl
e4d6ff8302 point-sources in 2D 2018-12-04 06:58:12 +01:00