Commit Graph

71 Commits

Author SHA1 Message Date
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
Michael Krayer 2a779c3a2d renamed set_noslip_bc because this symmetry should (maybe) not be used 2021-08-02 10:54:59 +02:00
Michael Stumpf d197683edc Reverted to symmetrization [u,v,w](x,-y,z) -> [-u,v,-w](x,y,z) 2021-07-31 11:54:50 +02:00
Michael Krayer 3da3169aa4 noslip is now [u,v,w](x,-y,z) -> [-u,-v,-w](x,y,z) 2021-07-31 11:42:41 +02:00
Michael Krayer 68c879ad43 forgot to impose boundary conditions when setting noslip 2021-07-31 11:16:44 +02:00
Michael Krayer 1e2488a9bf implemented proper no-slip symmetries 2021-07-30 22:17:41 +02:00
Michael Krayer e147024374 bugfix: symmetrization chose wrong mirror plane if the lower point coincided with the boundary; also changed default internal names of derivatives 2021-07-30 11:13:53 +02:00
Michael Krayer 352b3ae860 fixed camera setting functions 2021-07-28 12:40:03 +02:00
Michael Stumpf 5466f67c1c added missing function argument 2021-07-26 12:58:44 +02:00
Michael Stumpf 5e5a19dd06 hacked shadows 2021-07-26 12:57:13 +02:00
Michael Krayer 6e98a76e03 Merge branch 'master' of git.mkray.de:mwtkrayer/suspendtools 2021-07-20 14:08:44 +02:00
Michael Krayer daf2cfda04 fix parallel for new pseudo field routine 2021-07-20 14:08:34 +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 1ca85cd7c2 verbose mode for some functions 2021-06-15 15:55:45 +02:00
Michael Krayer cddc34722a up to date with new routines 2021-06-15 15:55:28 +02:00
Michael Krayer 625d5fff42 some more output for assertion error 2021-06-15 15:55:09 +02:00
Michael Krayer f8e728149f fixed grid bug for scalar: refined grid are still not possible; created new class SequentialBlock which replaces 'baton' routines. 2021-06-07 16:29:51 +02:00
Michael Krayer eeb14ab818 increased default glyph resolution to pyvista default 2021-06-07 13:31:00 +02:00
Michael Krayer c73368781b numpy asks for tuples 2021-06-03 16:41:20 +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 9bfc4d6fc1 added timing to gaussian filter 2021-06-03 02:46:20 +02:00
Michael Krayer 928f3bcde9 some hdf5 utilities 2021-06-03 01:40:58 +02:00