Commit Graph

6481 Commits

Author SHA1 Message Date
Kenneth Moreland
c508572460 Make SOA Portal test more type safe
I kept getting warnings from different compilers about type conversions
because I was making values by adding an index to them. Change how we
create and test values so that these type issues are less likely to come
up.
2019-08-20 12:09:56 -06:00
Kenneth Moreland
918766e7ab Fix VS 2015 compile issue with HasVecTraits
Apparently, the Visual Studio 2015 has a bug where the result of a
decltype might not be considered a type. Attempt to get around this
problem by putting the decltype inside of a struct and then have the
using statement use the typename keyword. Hopefully if you literally say
that something is a typename, the compiler will treat it like a type
name.
2019-08-20 12:09:55 -06:00
Kenneth Moreland
869d665806 Add ArrayHandleSOA
This ArrayHandle should behave just like the one with basic storage but
external arrays stored by component can be shallow-copied to them.
2019-08-20 12:09:54 -06:00
Li-Ta Lo
50bdb79833 Merge topic 'contour_hackathon'
9b0a79f19 let's see if I fixe the one last bug
e66af369b removed isosurface example, add clipped tangle to Contour unit test
0a020c77a fixed error in TetrahedralizedExplicit, rename MarchineCubes to Contour
e9e35159a change MarchingCubes to Contour that was missed before merge
c2e29f5c4 Merge branch 'master' into contour_hackathon
6a54d5f75 supress warning about converting vtkm::Id to vtkm::IdComponent
27a9962f3 rename MarchingCubes to Contour in benchmarks
414effa8e remove unused contour unit test
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1780
2019-08-20 10:25:31 -04:00
Robert Maynard
7c25929dae Merge topic 'nice_field_construction_docs'
78c7a8d8e Add changelog for make_Field changes
5087b1725 Add changelog for CreateResult changes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1784
2019-08-20 09:58:45 -04:00
Robert Maynard
78c7a8d8e8 Add changelog for make_Field changes 2019-08-20 08:23:20 -04:00
Robert Maynard
5087b17250 Add changelog for CreateResult changes 2019-08-20 08:23:20 -04:00
Li-Ta Lo
9b0a79f19a let's see if I fixe the one last bug 2019-08-19 14:41:49 -06:00
Li-Ta Lo
e66af369ba removed isosurface example, add clipped tangle to Contour unit test 2019-08-19 13:36:28 -06:00
Li-Ta Lo
0a020c77a8 fixed error in TetrahedralizedExplicit, rename MarchineCubes to Contour 2019-08-19 11:45:58 -06:00
Li-Ta Lo
e9e35159ab change MarchingCubes to Contour that was missed before merge 2019-08-19 08:56:11 -06:00
Li-Ta Lo
c2e29f5c41 Merge branch 'master' into contour_hackathon 2019-08-18 14:49:08 -06:00
Li-Ta Lo
6a54d5f75f supress warning about converting vtkm::Id to vtkm::IdComponent 2019-08-18 14:26:58 -06:00
Li-Ta Lo
27a9962f38 rename MarchingCubes to Contour in benchmarks 2019-08-17 19:43:45 -06:00
Li-Ta Lo
414effa8e8 remove unused contour unit test 2019-08-17 19:26:32 -06:00
Li-Ta Lo
d1fe1c3f38 rename MarchingCubes to Contour 2019-08-17 19:10:57 -06:00
Li-Ta Lo
fea2ccac2b removed old lookup table, rename new tables into CoontourTables 2019-08-17 18:46:59 -06:00
Li-Ta Lo
52d1ec8467 add Wedge and Pyramid support, visually verified with clipped Tangle field 2019-08-17 18:12:11 -06:00
Li-Ta Lo
1efdffb1b3 minor bug fix in edge table, visually verify that both Hex and Tetra works 2019-08-17 14:08:28 -06:00
Li-Ta Lo
fda22df5b7 commit before merge with master 2019-08-17 13:29:43 -06:00
Li-Ta Lo
989d3f32b9 fully generic, table driven triangle generation 2019-08-17 12:28:54 -06:00
Li-Ta Lo
7ded276fa6 table driven triangle generation 2019-08-17 11:37:14 -06:00
Abhishek Yenpure
484c587221 Merge topic 'fix_lcs_filter'
695614ae4 Adding necessary imports

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1779
2019-08-17 12:47:51 -04:00
Allison Vacanti
919bd3957e Merge topic 'more_moments_refactoring'
59bafd7a2 Update moments filter to reflect further changes to CreateResult.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1778
2019-08-16 08:23:03 -04:00
Allison Vacanti
59bafd7a2d Update moments filter to reflect further changes to CreateResult. 2019-08-16 08:16:53 -04:00
Allison Vacanti
b2d4731630 Merge topic 'fix_moments_filter'
e5008a017 Update moments filter to reflect namespace changes.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1775
2019-08-16 07:43:57 -04:00
Li-Ta Lo
4e8e250705 new uniform table driven cell classifier 2019-08-15 22:37:52 -06:00
Li-Ta Lo
d82d380979 marching tetrahedra generates triangles 2019-08-15 18:03:53 -06:00
Abhishek Dilip Yenpure (-EXP)
695614ae48 Adding necessary imports 2019-08-15 17:39:55 -06:00
Robert Maynard
8d8b3a77d9 Merge topic 'exposing-intersected-mc-edges'
719614560 Exposed the edges intersected by Marching Cubes.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1739
2019-08-15 12:57:13 -04:00
Robert Maynard
f0000fe510 Merge topic 'provide_nicer_field_construction_api'
031407443 Provide simplified way to construct point and cell fields

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1772
2019-08-15 12:51:41 -04:00
Robert Maynard
031407443d Provide simplified way to construct point and cell fields 2019-08-15 11:03:41 -04:00
Robert Maynard
4616286643 Merge topic 'provide_nicer_createresult_filter_api'
a6c1b10cd CreateResult API improved to make it easier to use

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1770
2019-08-15 10:47:58 -04:00
Allison Vacanti
e5008a017a Update moments filter to reflect namespace changes. 2019-08-15 09:27:57 -04:00
Allison Vacanti
1edf3809fb Merge topic 'update-moments-filter'
608c5e6ba Remove unused invoker.
cec4633dc Add ComputeMoments filter to build system.
06f450615 Fix moments filter
298f68a5c update copyright notice
2718cede9 Add ComputeMoments worklet and filter
710a28f24 Simplify polynomial evaluation, out matches
f32cb6bd0 added Moments calcuation example
ac718e2b3 Remove traits class for ComputeMoments filter.
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !1768
2019-08-14 15:30:26 -04:00
Robert Maynard
a6c1b10cd3 CreateResult API improved to make it easier to use
To help provide a better time writing VTK-m filter this streamlines
the CreateResult API to provide a focused set of methods, based on
how CreateResult has been used by existing filters.
2019-08-14 15:28:43 -04:00
Allison Vacanti
608c5e6ba5 Remove unused invoker. 2019-08-14 07:30:24 -04:00
Allison Vacanti
cec4633dc5 Add ComputeMoments filter to build system. 2019-08-14 07:30:24 -04:00
Sujin Philip
06f450615d Fix moments filter 2019-08-14 07:30:23 -04:00
Li-Ta Lo
298f68a5c3 update copyright notice 2019-08-14 07:30:23 -04:00
Li-Ta Lo
2718cede97 Add ComputeMoments worklet and filter 2019-08-14 07:30:22 -04:00
Li-Ta Lo
710a28f246 Simplify polynomial evaluation, out matches
Output of worklet matched idea VTK filter, a bug in VTK implementation
was found.
2019-08-14 07:30:22 -04:00
Li-Ta Lo
f32cb6bd01 added Moments calcuation example 2019-08-14 07:30:22 -04:00
Allison Vacanti
ac718e2b33 Remove traits class for ComputeMoments filter.
TypeListTagAll only defines vectors up to size 4, while the default
filter traits do not restrict input types at all.

Since the moments computation may use 6- or 9-tuple vecs, this
restriction is breaking those usecases.
2019-08-14 07:30:21 -04:00
Allison Vacanti
a5e7f20b13 Extend ComputeMoments to 3D. 2019-08-14 07:30:21 -04:00
Allison Vacanti
9194e2bea8 Respect boundary conditions in moment convolution. 2019-08-14 07:30:20 -04:00
Sujin Philip
cd6501bd4e Fix bugs causing same results for all indices 2019-08-14 07:30:20 -04:00
Sujin Philip
34792145f2 Fix compile error 2019-08-14 07:30:20 -04:00
Li-Ta Lo
162d369f5f restored capacity for 2D 2019-08-14 07:30:19 -04:00
Li-Ta Lo
e9358b7a18 still have no good way to dispatch on dimensions 2019-08-14 07:30:19 -04:00