Commit Graph

8107 Commits

Author SHA1 Message Date
Roxana Bujack
c78cb8069c allow wireframer to have ghost array 2023-12-20 14:32:55 -07:00
Roxana Bujack
b90c062e35 remove ghosted triangles in parallel 2023-12-20 12:55:19 -07:00
Roxana Bujack
6666fd4ca2 combine changes from this branch and master 2023-12-19 13:18:06 -05:00
Kenneth Moreland
05f9da459c Merge topic 'type-order'
23fbedf54 Order the VTK scalar types to favor used types
053237e90 Favor base types used by VTK-m when making new basic array

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !3171
2023-12-18 13:57:31 -05:00
Kenneth Moreland
23fbedf54d Order the VTK scalar types to favor used types
Reorder the `VTKScalarTypes` to put the repeated types at the bottom.
This will avoid using types like `long` that are essentially the same as
other types (e.g. `long long`) but will still be considered different.
This causes problems when checking against some VTK types (such as
`vtkIdType`).
2023-12-17 22:56:09 -07:00
Kenneth Moreland
053237e900 Favor base types used by VTK-m when making new basic array
When calling `NewInstanceBasic` on an `UnknownArrayHandle`, all C base
types will be tried. In some cases, multiple type will match the same
array. When this happens, favor types used by VTK-m (e.g. `long long`
over `long`).
2023-12-17 22:49:54 -07:00
Vicente Adolfo Bolea Sanchez
6664fd1e5a cmake: VTKm_ENABLE_KOKKOS_THRUST disabled by default 2023-12-15 13:07:20 -05:00
Kenneth Moreland
82c1d27e9e Merge topic 'guide-developing'
cba1068be Update the developing algorithms section of the user's guide

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3156
2023-12-13 18:18:32 -05:00
Jefferson Amstutz
2de1a462a0 support more volume types via array element conversion + ensure scalar data 2023-12-11 11:16:12 -06:00
Kenneth Moreland
cba1068bec Update the developing algorithms section of the user's guide 2023-12-08 08:50:18 -05:00
Mark Bolstad
4676d07f09 Fix error under CUDA with private class declarations
nvcc doesn't like the couple of places that we have Impl classes hiding behind a
private declaration. So for VTKM_CUDA only, ifdef the private declaration out
2023-12-05 10:03:40 -07:00
Ben Boeckel
2134955065 Merge topic 'loguru-install-interface'
14a276401 loguru: do not declare an install interface

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3163
2023-12-04 12:44:14 -05:00
Ben Boeckel
14a276401b loguru: do not declare an install interface
The headers are not installed, so there's nothing to refer to.
2023-12-04 11:34:19 -05:00
Ben Boeckel
a5994a8129 Merge topic 'clang-tidy-fixes'
1541cfa8a clang-tidy: fix `bugprone-incorrect-roundings` lints
0ce73eb68 clang-tidy: fix `readability-avoid-const-params-in-decls` lints
e07fb9fec clang-tidy: fix `performance-move-const-arg` lints
5aad5ca37 clang-tidy: fix `modernize-redundant-void-arg` lints
6c00a8755 clang-tidy: fix `readability-redundant-access-specifiers` lints
219f44c25 clang-tidy: fix `readability-const-return-type` lints
b99920d47 Oscillator: use a type of the right size for `oIdx`
13e935c35 clang-tidy: fix `readability-redundant-member-init` lints
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3053
2023-12-04 10:42:50 -05:00
Kenneth Moreland
5d0bf1d866 Merge topic 'document-merge-data-sets'
45ad2fb50 Add documentation of MergeDataSets filter to user's guide

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3161
2023-12-01 19:17:29 -05:00
Ben Boeckel
1541cfa8a6 clang-tidy: fix bugprone-incorrect-roundings lints
Adding `0.5` is not correct in all cases. Namely, adding `0.5` will
cause the value immediately before it to be rounded to `1` due to the
"round to nearest even" rule. Trust the standard library to get this
right.
2023-12-01 07:01:11 -05:00
Ben Boeckel
0ce73eb680 clang-tidy: fix readability-avoid-const-params-in-decls lints 2023-12-01 07:01:11 -05:00
Ben Boeckel
e07fb9fec3 clang-tidy: fix performance-move-const-arg lints 2023-12-01 07:01:11 -05:00
Ben Boeckel
5aad5ca37e clang-tidy: fix modernize-redundant-void-arg lints 2023-12-01 07:01:11 -05:00
Ben Boeckel
6c00a87554 clang-tidy: fix readability-redundant-access-specifiers lints 2023-12-01 07:01:11 -05:00
Ben Boeckel
219f44c250 clang-tidy: fix readability-const-return-type lints 2023-12-01 07:01:11 -05:00
Ben Boeckel
b99920d47b Oscillator: use a type of the right size for oIdx 2023-12-01 07:01:11 -05:00
Ben Boeckel
13e935c357 clang-tidy: fix readability-redundant-member-init lints 2023-12-01 07:01:11 -05:00
Ben Boeckel
97e0024daf clang-tidy: fix modernize-use-override lints 2023-12-01 07:01:11 -05:00
Vicente Bolea
763293a97e Merge topic 'fix-rocthrust-dep' into release-2.1
c9ec6ae6a kokkos: let link vtkm_cont to roc::rocthrust

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3160
2023-11-30 22:08:36 -05:00
Vicente Bolea
4e0eb57527 Merge topic 'fix-rocthrust-dep'
c9ec6ae6a kokkos: let link vtkm_cont to roc::rocthrust

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3160
2023-11-30 22:08:36 -05:00
Kenneth Moreland
45ad2fb50d Add documentation of MergeDataSets filter to user's guide 2023-11-30 18:36:29 -05:00
Vicente Adolfo Bolea Sanchez
c9ec6ae6a6 kokkos: let link vtkm_cont to roc::rocthrust
Also reorder the declarion of the option VTKm_ENABLE_KOKKOS_THRUST
to be set before calling VTKmDeviceAdapters.
2023-11-30 18:18:03 -05:00
Wang
418347819e fix ascent warning 2023-11-30 11:54:15 -05:00
Zhe Wang
01f21a59b8 Merge topic 'add_MergeDataSet_filter'
725407235 add merge data sets filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3148
2023-11-21 20:09:28 -05:00
Wang
7254072357 add merge data sets filter 2023-11-21 15:31:59 -05:00
Kenneth Moreland
5b8c282e9f Continue transfer of Users' Guide text
These changes complete the using part of the guide.
2023-11-21 10:33:45 -07:00
Kenneth Moreland
7302372b48 Fix doxygen issues 2023-11-21 07:50:04 -07:00
Kenneth Moreland
1b541bdd37 Avoid floating point exceptions in rendering code
There were some places in the rendering code where floating point
exceptions (FPE) could happen under certain circumstances. Often we do not
care about invalid floating point operation in rendering as they often
occur in degenerate cases that don't contribute anyway. However,
simulations that might include VTK-m might turn on FPE to check their own
operations. In such cases, we don't want errant rendering arithmetic
causing an exception and bringing down the whole code. Thus, we turn on FPE
in some of our test platforms and avoid such operations in general.
2023-11-20 14:21:38 -07:00
Vicente Adolfo Bolea Sanchez
3c5ff4f12a ci,opensuse: use mpich ofi:socket backend 2023-11-17 19:47:10 -05:00
Nrushad Joshi
55a08d51b7 Isosurface Uncertainty Visualization Filter 2023-11-15 21:04:37 -05:00
Jefferson Amstutz
7600675ca4 fix ANARI volume data type check 2023-11-13 14:56:13 -06:00
Roxana Bujack
25d48f7bc4 fourth round of fixes 2023-11-08 08:44:52 -07:00
Roxana Bujack
3a7bf476ce prevent warning 2023-11-07 17:31:57 -07:00
Roxana Bujack
9ce533f144 second round of fixes +1 2023-11-07 17:20:50 -07:00
Roxana Bujack
5d3c9604f2 second round of fixes 2023-11-07 17:20:05 -07:00
Kenneth Moreland
4d02add0e0 Enable new instances of unknown arrays with dynamic sizes
`UnknownArrayHandle` allows you to create a new instance of a compatible
array so that when receiving an array of unknown type, a place to put the
output can be created. However, these methods only worked if the number of
components in each value could be determined statically at compile time.

However, there are some special `ArrayHandle`s that can define the number
of components at runtime. In this case, the `ArrayHandle` would throw an
exception if `NewInstanceBasic` or `NewInstanceFloatBasic` was called.

Although rare, this condition could happen when, for example, an array was
extracted from an `UnknownArrayHandle` with `ExtractArrayFromComponents` or
with `CastAndCallWithExtractedArray` and then the resulting array was
passed to a function with arrays passed with `UnknownArrayHandle` such as
`ArrayCopy`.
2023-11-07 16:59:25 -05:00
Roxana Bujack
fae4cc4c79 first round of fixes 2023-11-07 13:52:05 -07:00
Kenneth Moreland
7e09fb7033 ken's suggestion to remove const 2023-11-07 14:31:36 -05:00
Roxana Bujack
f8d1dff30c use float 64 instead of default 2023-11-07 12:23:44 -07:00
Roxana Bujack
bc0447ec00 only remove blanked cells if the number of cells matches the ghost array 2023-11-07 11:56:37 -07:00
Roxana Bujack
2955b834e7 use float default instead of 64 2023-11-07 10:46:38 -07:00
Roxana Bujack
48793964d0 use global ghost array name 2023-11-07 10:37:54 -07:00
Roxana Bujack
f8c9af4f11 add default empty ghost field for compatibility 2023-11-07 10:29:16 -07:00
Roxana Bujack
bc83184e70 remove ambiguity from default 2023-11-07 10:02:37 -07:00