Commit Graph

11206 Commits

Author SHA1 Message Date
Vicente Adolfo Bolea Sanchez
ab2792b78a perftest: no mark disabled upload steps in MR
- Removed the PerformanceTestCleanUp, not needed since we only do a
  git fetch once.
2023-05-16 16:44:53 -04:00
Kenneth Moreland
b59580bb82 Allow CompositeVectors filter to build any size vector
Using the new `ArrayHandleRuntimeVec` feature, we can construct an array
with any vec sized value.
2023-05-16 12:39:40 -06:00
Kenneth Moreland
5bdd3c7bc2 Move ArrayHandleRuntimeVec metadata to a separate class
Originally, the metadata structure used by the `ArrayHandleRuntimeVec`
storage was a nested class of its `Storage`. But the `Storage` is
templated on the component type, and the metadata object is the same
regardless. In addition to the typical minor issue of having the
compiler create several identical classes, this caused problems when
pulling arrays from equivalent but technically different C types (for
example, `long` is the same as either `int` or `long long`).
2023-05-16 12:39:40 -06:00
Kenneth Moreland
a8b4e5a629 Add GetNumberOfActiveFields method to FilterField 2023-05-16 12:39:40 -06:00
Kenneth Moreland
09c0139b4e Fix operator for IteratorFromArrayPortal
There was an error in `operator-=` for `IteratorFromArrayPortal` that went
by unnoticed. The operator is fixed and regression tests for the operators
has been added.
2023-05-16 09:31:17 -06:00
Li-Ta Lo
ee9c78ca94 Merge branch 'master' into rendering_cpp_cleanup 2023-05-16 09:25:58 -06:00
Vicente Bolea
15133b6fba Merge topic 'fixup-cuda-ci-bug'
7c0f40fe1 ci: setup CUDA arch before sccache

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3060
2023-05-16 11:20:31 -04:00
Vicente Adolfo Bolea Sanchez
7c0f40fe18 ci: setup CUDA arch before sccache 2023-05-15 19:50:54 -04:00
Kenneth Moreland
8ef2c588a0 Merge topic 'unknown-runtime-vec-new-instance'
3c1afe53d Fix new instances of ArrayHandleRuntimeVec in UnknownArrayHandle

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !3058
2023-05-15 18:58:04 -04:00
Li-Ta Lo
d05025ce85 simplify comment 2023-05-15 13:05:06 -06:00
Kenneth Moreland
f9ddba8d5c Merge topic 'contour-test-warning'
44650c2e4 Fix unused variable in contour test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Louis Gombert <louis.gombert@kitware.com>
Merge-request: !3059
2023-05-14 00:44:06 -04:00
Kenneth Moreland
3c1afe53dc Fix new instances of ArrayHandleRuntimeVec in UnknownArrayHandle
`UnknownArrayHandle` is supposed to treat `ArrayHandleRuntimeVec` the
same as `ArrayHandleBasic`. However, the `NewInstance` methods were
failing because they need custom handling of the vec size.
2023-05-12 13:11:23 -06:00
Kenneth Moreland
44650c2e48 Fix unused variable in contour test 2023-05-12 12:00:17 -06:00
Vicente Bolea
70f8fee958 Merge topic 'warnings-win-exception'
83b1cb9ec ci,warnings: add configure warning exceptions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3055
2023-05-12 11:58:52 -04:00
Louis Gombert
57abd08684 Merge topic 'fe-structured'
1538fc02f Implement Flying Edges for all structured CellSets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3056
2023-05-12 08:06:40 -04:00
Vicente Adolfo Bolea Sanchez
83b1cb9ecd ci,warnings: add configure warning exceptions 2023-05-11 19:17:45 -04:00
Li-Ta Lo
066e6a6969 I think this is the proper way doing PIMPL 2023-05-10 20:05:34 -06:00
Li-Ta Lo
6e75be33ec unique_ptr know if itself is valid 2023-05-10 17:31:50 -06:00
Li-Ta Lo
50a9efc2f5 use rvalue ref for parameter 2023-05-10 17:28:30 -06:00
Dave Pugmire
51435f2277 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m 2023-05-10 13:11:12 -04:00
Li-Ta Lo
61c002072f cleanup C++ usage, use unique_ptr for PIMPL 2023-05-10 10:17:14 -06:00
Louis Gombert
1538fc02fb Implement Flying Edges for all structured CellSets
In addition to  using uniform coordinates, the ContourFlyingEdges filter can now process any type of coordinate system, making the  filter use Flying Edges in more cases
2023-05-10 15:20:53 +02:00
Louis Gombert
a36415ff2b Merge topic 'contour-split'
dcdda3065 Split flying edges and marching cells into separate filters

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3050
2023-05-10 03:34:20 -04:00
Li-Ta Lo
48393aa495 Merge topic 'rendering_cpp_cleanup'
0c9573e8d use mutable instead of const_cast, remove virtual

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3054
2023-05-09 16:09:27 -04:00
Li-Ta Lo
0c9573e8d3 use mutable instead of const_cast, remove virtual 2023-05-08 09:29:27 -06:00
Vicente Bolea
d90fcefab4 Merge topic 'crusher-update-rocm'
a3fcc3180 ci,crusher: updating to rocm 5.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3049
2023-05-04 21:02:25 -04:00
Vicente Adolfo Bolea Sanchez
a3fcc3180f ci,crusher: updating to rocm 5.4 2023-05-04 19:50:32 -04:00
Li-Ta Lo
86ba9ff31a Merge topic 'unify_uniform_locators'
527940871 revert renaming this to self
58bbc0965 disable AxisAnnontation in unit tests
5787852a8 use Invoker instead of Dispatcher
eab63f68a revert change to CMakeList.txt
3045deb66 rename Adopter -> Adapter
9cdc16c9a fixed warning about float
2d3580636 add baseline image for volume renderer
8c324f824 Vec3f for param
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3048
2023-05-04 11:18:04 -04:00
Louis Gombert
dcdda3065a Split flying edges and marching cells into separate filters
In order to compile the contour filter more efficiently, we split the contour filter into two separate translation units, corresponding to the new filters ContourFlyingEdges and ContourMarchingCells. The API for Contour filter is left totally unchanged, and tries to use flying edges if the dataset is structured and uniform.
All three contour filters inherit from the `AbstractContour` class, providing utility methods used in the implementations.
2023-05-04 15:20:20 +02:00
Li-Ta Lo
5279408711 revert renaming this to self 2023-05-03 12:35:53 -06:00
Li-Ta Lo
58bbc0965f disable AxisAnnontation in unit tests 2023-05-03 07:14:41 -06:00
Vicente Bolea
13a68cc86b Merge topic 'add-warning-icon-pipelines'
1a0ca75fc ci: Add warning icons in GL pipelines
af06da04f ci,cuda: parametrize arch for diff cmake vers

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3051
2023-05-02 16:03:18 -04:00
Vicente Adolfo Bolea Sanchez
1a0ca75fc8 ci: Add warning icons in GL pipelines 2023-05-02 14:31:36 -04:00
Vicente Adolfo Bolea Sanchez
af06da04fd ci,cuda: parametrize arch for diff cmake vers 2023-05-02 14:31:36 -04:00
Li-Ta Lo
5787852a8e use Invoker instead of Dispatcher 2023-05-01 14:41:16 -06:00
Dave Pugmire
8651d9f284 Merge topic 'add_get_block_to_boundsmap'
b43763429 Kick the dashboards.....
f3279b0f5 Merge branch 'add_get_block_to_boundsmap' of https://gitlab.kitware.com/dpugmire/vtk-m into add_get_block_to_boundsmap
1ce2922d1 Remove warning. Add BoundsMap methods.
b9a684fda Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into add_get_block_to_boundsmap
a4b4bf656 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m
086f99e54 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into add_get_block_to_boundsmap
166f5d405 Kick the dashboards.....
5fba6382b Kick the dashboards..........
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3041
2023-05-01 15:15:48 -04:00
Dave Pugmire
b437634295 Kick the dashboards..... 2023-05-01 14:41:32 -04:00
Dave Pugmire
f3279b0f57 Merge branch 'add_get_block_to_boundsmap' of https://gitlab.kitware.com/dpugmire/vtk-m into add_get_block_to_boundsmap 2023-05-01 13:05:21 -04:00
Dave Pugmire
1ce2922d15 Remove warning. Add BoundsMap methods.
Fix compiler warnings......

Kick the dashboards..........

Kick the dashboards.....

use lambda instead of functor, remove unused code

ArrayHandle::StorageType should be public

StorageType is public in vtkm::cont::ArrayHandle, but some subclasses  
re-declare it as private. Having it public provides a convenient way to  
get the storage type of an ArrayHandle, otherwise it is quite verbose.

Addresses: #314

Tetrahedralize and Triangulate filters check if input is already triangulated

Previously, tetrahedralize/triangulate would blindly convert all the cells to tetrahedra/triangles, even when they were already. Now, the dataset is directly returned if the CellSet is a CellSetSingleType of tetras/triangles, and no further processing is done in the worklets for CellSetExplicit when all shapes are tetras or triangles.

ci,crusher: changed fs to orion

ci,osx,macos: fix value of GIT_CLONE_PATH
2023-05-01 13:05:11 -04:00
Dave Pugmire
b9a684fda1 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into add_get_block_to_boundsmap 2023-05-01 13:04:10 -04:00
Li-Ta Lo
eab63f68ad revert change to CMakeList.txt 2023-04-28 13:51:18 -06:00
Li-Ta Lo
3045deb665 rename Adopter -> Adapter 2023-04-28 13:21:26 -06:00
Li-Ta Lo
9cdc16c9ab fixed warning about float 2023-04-28 08:24:15 -06:00
Li-Ta Lo
2d35806361 add baseline image for volume renderer 2023-04-27 10:49:54 -06:00
Li-Ta Lo
8c324f8244 Vec3f for param 2023-04-27 10:18:15 -06:00
Li-Ta Lo
f799826faa use Vec3f for parametric coordinate 2023-04-27 10:10:45 -06:00
Li-Ta Lo
6fa506d60d clean up 2023-04-27 08:29:42 -06:00
Li-Ta Lo
b7b3d51b1d use CRTP to factor out common code 2023-04-26 12:33:05 -06:00
Li-Ta Lo
b1804f591c calculate invSpacing 2023-04-26 11:41:55 -06:00
Vicente Bolea
f8a63d18da Merge topic 'change-macos-clone-path'
54dd42271 ci,osx,macos: fix value of GIT_CLONE_PATH

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3046
2023-04-26 11:34:56 -04:00