Commit Graph

56 Commits

Author SHA1 Message Date
Michael Krayer b91f5e95bb further improved serial 2022-03-25 16:39:14 +01:00
Michael Krayer c072e41677 first version of serial tool: can compute Q, but untested 2022-03-24 21:11:44 +01:00
Michael Krayer e3b31c7f5e removed debug timing output 2021-08-20 10:50:35 +02:00
Michael Krayer 3d6ecf2bda fixed label() for BinaryField 2021-08-19 16:31:53 +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 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 9527941936 added deep copy flag. The default is now shallow copy! 2021-08-05 00:20:58 +02:00
Michael Krayer dd92940b24 ability to fill holes in thresholded data 2021-08-04 00:57:35 +02:00
Michael Stumpf 34d77ad2ac convenience method for grid as numpy array 2021-07-17 14:39:40 +02:00
Michael Krayer ec23f3acd4 fixed false usage of _dim -> dim() method should be called. UNTESTED 2021-07-16 22:03:10 +02:00
Michael Krayer 8a50af80b9 added ConnectedRegions 2021-06-25 00:49:37 +02:00
Michael Krayer 09eafc78a9 division operator 2021-06-24 13:04:35 +02:00
Michael Krayer 625d5fff42 some more output for assertion error 2021-06-15 15:55:09 +02:00
Michael Krayer d21bf975fd bugfix to previous commit 2021-06-03 14:59:32 +02:00
Michael Krayer 3afdee9e15 shift_origin bugfix if slightly out of bounds 2021-06-03 13:22:02 +02:00
Michael Krayer d256d4ec2c output rel_shift if assertion false 2021-06-03 12:48:43 +02:00
Michael Krayer 83bfca08f9 changed collapse threshold 2021-06-03 12:47:42 +02:00
Michael Krayer 928f3bcde9 some hdf5 utilities 2021-06-03 01:40:58 +02:00
Michael Krayer fcd989b3f9 saving of reduced field for visualization at later point; save_state now based on hdf5 2021-06-02 21:51:47 +02:00
Michael Krayer 0e48c9b382 added striding to parallel routines in order to gather a complete field at rank 0 2021-06-02 09:35:16 +02:00
Michael Krayer 3366816adf first production version for filtered plotting 2021-06-01 12:16:10 +02:00
Michael Krayer 8dd8161537 implemented padding, laplacian etc 2021-05-30 15:09:33 +02:00
Michael Krayer 4a33b5f00a added integration routine: useful for statistics 2021-05-28 14:26:22 +02:00