Commit Graph

9745 Commits

Author SHA1 Message Date
Tushar Athawale
944bb24eaa nested folders removed for tutorial examples 2022-02-07 12:26:13 -05:00
Tushar Athawale
cc6c707ca2 slight modifications to supress ListTagBase warnings 2022-02-07 12:26:12 -05:00
Tushar Athawale
ed9e231281 CmakeLists modified to address vtk-m no rendering mode 2022-02-07 12:26:12 -05:00
Tushar Athawale
b928d2fb03 tutorial directory renamed 2022-02-07 12:26:12 -05:00
Tushar Athawale
7638d11cb1 cmaklists update: public keyword removed 2022-02-07 12:26:12 -05:00
Tushar Athawale
17b340dfc4 Copyright notice added to tutorial cxx files 2022-02-07 12:26:11 -05:00
Tushar Athawale
176dc92eb5 tutorial CMakeLists file update 2022-02-07 12:26:11 -05:00
Tushar Athawale
85180b465f clang conflicts merged 2022-02-07 12:26:11 -05:00
Tushar Athawale
f160062457 CmakeLists for building tutorial examples 2022-02-07 12:26:11 -05:00
Tushar Athawale
755a0ab9cc Cmakelist update for tutorial examples 2022-02-07 12:26:11 -05:00
Tushar Athawale
6f4e12c01c Add data file 2022-02-07 12:26:10 -05:00
Tushar Athawale
9624888982 tutorial: Adding vtkm-tutorial 2022-02-07 12:26:08 -05:00
Manish Mathai
569deda9b5 Merge topic 'tube-filter-coincident-points'
2c16e9c05 Prevent error being raised for coincident points in Tube filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2676
2022-02-06 20:58:33 -05:00
Li-Ta Lo
f3c65d3404 Merge topic 'field_transform'
b8c1f5aac make calling to emplace_back type safe
43dd4638e use auto in range-based for loop
9958394fa tidy-up language usage and coding style conformation
b3327e544 move auto field = ... around to minimize accidential capture
455c20437 Migrate field_transform

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2696
2022-02-02 17:18:07 -05:00
Kenneth Moreland
8ae8394690 Merge topic 'fix-inefficient-component-extract'
9e0a38f5d Remove unused typedef
5063527bb Document that an inefficient component extract warning is expected
e16fa28d6 Fix range warning in ArrayHandleCast
2aed0b81c Avoid inefficient component extractions in serialization test
c3b6febb2 Fix ArrayHandleMultiplexer exec test
4b30939dd Fix inefficient copy when extracting rectilinear grids

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2697
2022-02-02 16:56:23 -05:00
Li-Ta Lo
acd55026db Merge topic 'new_filter_clean_up'
6a465e8be tidy-up language usage
e48cc867b Merge branch 'histogram_worklet' into new_filter_clean_up
f5eb84f64 move worklet/histogram to filter/density_estimate/worklet

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2698
2022-02-02 16:52:12 -05:00
Li-Ta Lo
b8c1f5aac3 make calling to emplace_back type safe 2022-02-02 13:59:27 -07:00
Li-Ta Lo
43dd4638ed use auto in range-based for loop 2022-02-02 13:20:04 -07:00
Li-Ta Lo
6a465e8bed tidy-up language usage 2022-02-02 12:44:00 -07:00
Li-Ta Lo
e48cc867b2 Merge branch 'histogram_worklet' into new_filter_clean_up 2022-02-02 10:20:13 -07:00
Li-Ta Lo
9958394fa6 tidy-up language usage and coding style conformation 2022-02-02 09:52:51 -07:00
Abhishek Yenpure
53651c82bf Merge topic 'mir-float-fix'
ae98d4f25 Fixing dashboard warnings
a0a333949 Fixing dashboard warnings
d3756d8ef Fixing dashboard warnings
397ffaad2 Fixing dashboard warnings
7f2badfce Fixing dashboard warnings
4db0cecc1 Fixing dashboard warnings
8ddcad824 Fixing dashboard warnings
7d10b4f32 Adding assert to unit test
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2674
2022-02-02 11:48:31 -05:00
Abhishek Yenpure
ae98d4f25f Fixing dashboard warnings 2022-02-02 21:14:01 +05:30
Kenneth Moreland
9e0a38f5db Remove unused typedef
The `StorageListEfficientExtract` type is never used in
`UnitTestSerializationArrayHandle`. Although these types are used,
because they all support efficient component extraction from the array,
there is no need to treat them special. As such, this list was never
used.
2022-02-02 08:13:33 -07:00
Abhishek Yenpure
a0a3339490 Fixing dashboard warnings 2022-02-02 19:15:22 +05:30
Abhishek Yenpure
d3756d8ef3 Fixing dashboard warnings 2022-02-02 18:58:55 +05:30
Abhishek Yenpure
397ffaad21 Fixing dashboard warnings 2022-02-02 18:26:07 +05:30
Li-Ta Lo
b3327e544a move auto field = ... around to minimize accidential capture 2022-02-02 05:45:24 -07:00
Abhishek Yenpure
7f2badfce3 Fixing dashboard warnings 2022-02-02 18:00:05 +05:30
Abhishek Yenpure
4db0cecc1f Fixing dashboard warnings 2022-02-02 17:12:30 +05:30
Abhishek Yenpure
8ddcad824c Fixing dashboard warnings 2022-02-02 16:15:12 +05:30
Vicente Bolea
50a7d20876 Merge topic 'update-to-v1.7.1'
5d703b425 NewRelease.md: add patch release instructions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2695
2022-02-01 17:49:31 -05:00
Kenneth Moreland
5063527bb7 Document that an inefficient component extract warning is expected
When calling `ArrayExtractComponent`, some arrays cannot really have a
component extracted. In this case there is a fallback and a warning is
generated.

Of course it is good to test this behavior. The
`UnitTestArrayExtractComponent` does test this and as such generates
this warning (intentionally). Add a note to the output that this warning
is expected.
2022-02-01 15:25:40 -07:00
Manish Mathai
2c16e9c05e Prevent error being raised for coincident points in Tube filter
Coincident points in polylines will be skipped when generating the
tubes, instead of raising an error.
2022-02-01 13:13:12 -08:00
Li-Ta Lo
455c204373 Migrate field_transform 2022-02-01 11:51:01 -07:00
Kenneth Moreland
e16fa28d6d Fix range warning in ArrayHandleCast
`ArrayHandleCast` was giving warnings about casting to a type that could
not hold the range to the source even when that was not true. The
problem was it was using `std::numeric_limits::min` for the lower end of
the range. But for floating point values, `min` is not really `min`.
Rather, it is the smallest representable number. (This is probably a C++
bug we are stuck with.) You really need to use `lowest`.
2022-02-01 11:42:16 -07:00
Kenneth Moreland
2aed0b81c3 Avoid inefficient component extractions in serialization test
The actually serialization was not doing any inefficient component
extraction, but the array handle comparisons were. This made it hard to
verify that the actual serialization was not being slow. Fixed the
comparison to make sure that it only used efficient paths.
2022-02-01 10:58:55 -07:00
Kenneth Moreland
c3b6febb27 Fix ArrayHandleMultiplexer exec test
One of the tests was to make sure that the `ArrayHandleMultiplexer` is
working in the exec environment. It was doing this with an `ArrayCopy`.
However, the `ArrayCopy` was falling back to the host, so the test was
not doing what was expected.

Now use `DeviceAdapterAlgorithm::Copy` to force the array to work on the
device.
2022-02-01 09:28:43 -07:00
Li-Ta Lo
af473bf856 Merge topic 'field_conversion'
607e8d988 remove vtkm_filter_common
8113d15ef Merge branch 'master' into field_conversion
2ab05f261 remove unneeded #include of Worklet headers
171e4ba9a uses DEVOCE_SOURCES
1e303d3d3 add missing newline
93b9f5d74 restore vtkm_filter_common with a dummy .cxx
f08a3185f Migrate FieldConversion filters

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2692
2022-02-01 11:24:13 -05:00
Kenneth Moreland
4b30939dda Fix inefficient copy when extracting rectilinear grids
The `ExtractStructured` code was calling `ArrayCopy` on a permutation of
odd arrays, which was causing problems with the copy. Specifically use
`ArrayCopyDevice` to ensure the copy happens efficiently.
2022-02-01 09:21:43 -07:00
Vicente Adolfo Bolea Sanchez
5d703b4250 NewRelease.md: add patch release instructions 2022-01-31 17:51:42 -05:00
Li-Ta Lo
607e8d988d remove vtkm_filter_common 2022-01-31 14:29:34 -07:00
Li-Ta Lo
8113d15ef7 Merge branch 'master' into field_conversion
# Conflicts:
#	benchmarking/BenchmarkFilters.cxx
#	vtkm/filter/CMakeLists.txt
#	vtkm/filter/testing/UnitTestSplitSharpEdgesFilter.cxx
2022-01-31 14:08:02 -07:00
Li-Ta Lo
c61f732101 Merge topic 'vector_calculus'
79afd73b3 explicitly use CoordinateSystem as input field
cdc4c29c5 renamve vector_calculus -> vector_analysis
63d4b02ad add ALL_BACKENDS
c60d9e64d migrate SurfaceNormal, VectorMagnitude
59cc8cbae Migrate Gradient filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2693
2022-01-31 14:37:14 -05:00
Li-Ta Lo
f5eb84f646 move worklet/histogram to filter/density_estimate/worklet 2022-01-31 12:17:44 -07:00
Vicente Bolea
2fd6ee9f02 Merge branch 'release' 2022-01-31 13:39:35 -05:00
Vicente Bolea
ad11b198fd Merge topic 'update-to-v1.7.1'
bac755992 1.7.1 is our 11th official release of VTK-m.
6463a8c0b Add release notes for 1.7.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2690
2022-01-31 13:39:35 -05:00
Li-Ta Lo
79afd73b31 explicitly use CoordinateSystem as input field 2022-01-31 09:52:25 -07:00
Li-Ta Lo
cdc4c29c5f renamve vector_calculus -> vector_analysis 2022-01-31 08:58:38 -07:00
Kenneth Moreland
45e9b7fa76 Merge topic 'vectraits-range'
ca032801a Allow ArrayExtractComponent to work with Vec-like value types
f48b4b761 Add implementation of VecTraits for Range and Bounds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Gunther Weber <ghweber@lbl.gov>
Merge-request: !2683
2022-01-31 10:15:12 -05:00