Commit Graph

98 Commits

Author SHA1 Message Date
Michael Krayer b7b250ca5f initialize particles directly from standalone ucf file 2021-12-16 10:26:19 +01:00
Michael Krayer 2465e10b70 correct scalar col names: start counting from 1 2021-12-16 10:25:16 +01:00
Michael Stumpf 33cc40a095 added factor to warp 2021-12-16 10:19:01 +01:00
Michael Krayer 32f67d17c3 update 2021-12-03 15:52:35 +01:00
Michael Krayer 1b46b2d188 Merge branch 'master' of git.mkray.de:mwtkrayer/suspendtools 2021-12-03 10:39:00 +01:00
Michael Krayer fe004f2b38 name of pp variable can be provided 2021-12-03 10:38:48 +01:00
Michael Krayer 5f56e95d31 read particles from special mat-files 2021-12-03 10:34:11 +01:00
Michael Krayer 1909cd8119 removed orphan argument 2021-11-08 12:55:30 +01:00
Michael Krayer 6df7654064 arithmetic operations 2021-10-15 15:04:22 +02:00
Michael Krayer 40d549f714 update 2021-08-20 11:47:56 +02:00
Michael Krayer e3b31c7f5e removed debug timing output 2021-08-20 10:50:35 +02:00
Michael Krayer 420d4a2e9f initialization from x,y,z arrays 2021-08-19 17:26:38 +02:00
Michael Krayer 3d6ecf2bda fixed label() for BinaryField 2021-08-19 16:31:53 +02:00
Michael Krayer 96c727b824 more efficient particle masking 2021-08-19 15:43:10 +02:00
Michael Krayer 928cc9c9d2 it works now 2021-08-19 09:29:43 +02:00
Michael Krayer e95b7dc74a its getting better 2021-08-18 02:24:20 +02:00
Michael Krayer 16e67ad666 just a backup, will be changed now 2021-08-17 23:19:45 +02:00
Michael Krayer 2acef17323 faster binary hole filling 2021-08-16 21:46:40 +02:00
Michael Krayer c5908e00f5 update: inside/outside detection does not work properly 2021-08-16 12:58:23 +02:00
Michael Krayer d95453ad45 WIP: completely messed up. trying to fix surface normal directions 2021-08-13 22:05:35 +02:00
Michael Krayer 6e3564c3c1 implemented feature search. it should work now and perform well. 2021-08-13 02:04:15 +02:00
Michael Krayer cee9a661c8 jit minmax is now slower than conventional: remove numba dependency 2021-08-13 01:25:50 +02:00
Michael Krayer 0723c0b769 storing triangulation data as long list of vertices now. Seems to have improved performance due to better memory access pattern. 2021-08-13 01:16:27 +02:00
Michael Krayer 5a88eebf4a numba routines 2021-08-12 21:58:27 +02:00
Michael Krayer 1a8afb97d0 first implementation of find_features(). At the moment it only returns whether or not a point is inside 2021-08-12 21:53:20 +02:00
Michael Krayer 803a8ffee1 implemented two methods for nearest triangle 2021-08-12 13:16:05 +02:00
Michael Krayer 41a64ab470 switched to another formulation of the algorithm which computes surface normal of triangle: this is necessary for inside/outside check 2021-08-12 10:34:56 +02:00
Michael Krayer 0792d87394 changed computation of triangle normal: should give the same result as before. Implemented Möller-Trumbore ray-triangle intersection calculation 2021-08-12 10:16:06 +02:00
Michael Krayer fdbe6fb70b WIP: find_region 2021-08-11 11:31:02 +02:00
Michael Krayer 6623c67c86 implemented and improved routines. Can now extract features, fill holes and produce vtk output 2021-08-10 21:00:18 +02:00
Michael Krayer fd23122470 Features3d now fully based on triangulation: needs to be tested and some routines implemented 2021-08-10 02:17:58 +02:00
Michael Krayer 0c2db9fa79 some bugfixes. tested against spherical shell 2021-08-09 18:03:17 +02:00
Michael Krayer bfab713bb0 cell property computation now only take ~15% of original timing after implementing it myself 2021-08-09 17:52:31 +02:00
Michael Krayer 84bd63c95b bugfix: type 2021-08-09 16:37:13 +02:00
Michael Krayer 57410abc99 implemented features3d; need some testing and maybe optimization; still includes debug output 2021-08-09 16:21:35 +02:00
Michael Krayer 56b413cfed implemented surface area calculation in binary data. Does not work too well. 2021-08-07 03:35:28 +02:00
Michael Krayer d7658ea659 added structure elements and weights for voxel sruface area estimation 2021-08-07 01:12:25 +02:00
Michael Krayer 2b4be2a375 bugfix: threshold() Field3d. Removed ConnectedRegions class, it has been replaced entirely by BindaryFieldNd 2021-08-06 22:55:02 +02:00
Michael Krayer f5714e1987 clipping and thresholding for particles; improvements for field 2021-08-06 22:02:35 +02:00
Michael Krayer 4c84ea6adc clipping routines 2021-08-06 20:35:27 +02:00
Michael Krayer 00128cc24e triangulation using original scalar data or voxel based 2021-08-06 04:43:24 +02:00
Michael Krayer c71f86a33b implemented isolation/triangulation. needs to be tested 2021-08-06 00:34:32 +02:00
Michael Krayer 2d5ff2fbe1 bugfix for wrap flag: structure was being tagged as wrapped because duplicated cell had an unconnected cell 2021-08-05 22:33:51 +02:00
Michael Krayer 296dacd82a First implementation of BinaryFieldNd; passed 2d tests 2021-08-05 22:12:28 +02:00
Michael Krayer 6f027877e2 fix if no subfield is returned 2021-08-05 21:01:42 +02:00
Michael Krayer 44bdf5865b needed another cell in masking bounding box 2021-08-05 01:08:37 +02:00
Michael Krayer 5bf6b6e102 added field masking with particle data 2021-08-05 00:21:22 +02:00
Michael Krayer 9527941936 added deep copy flag. The default is now shallow copy! 2021-08-05 00:20:58 +02:00
Michael Krayer 5b40dea605 implementing particle masking, unfinished 2021-08-04 00:58:01 +02:00
Michael Krayer dd92940b24 ability to fill holes in thresholded data 2021-08-04 00:57:35 +02:00