vtk-m/docs
Kenneth Moreland 723c9ed2f0 Support Fill for ArrayHandleStride
Previously, if you called `Fill` on an `ArrayHandleStride`, you would get
an exception that said the feature was not supported. It turns out that
filling values is very useful in situations where, for example, you need to
initialize an array when processing an unknown type (and thus dealing with
extracted components).

This implementation of `Fill` first attempts to call `Fill` on the
contained array. This only works if the stride is set to 1. If this does
not work, then the code leverages the precompiled `ArrayCopy`. It does this
by first creating a new `ArrayHandleStride` containing the fill value and a
modulo of 1 so that value is constantly repeated. It then reconstructs an
`ArrayHandleStride` for itself with a modified size and offset to match the
start and end indices.

Referencing the `ArrayCopy` was tricky because it kept creating circular
dependencies among `ArrayHandleStride`, `ArrayExtractComponent`, and
`UnknownArrayHandle`. These dependencies were broken by having
`ArrayHandleStride` directly use the internal `ArrayCopyUnknown` function
and to use a forward declaration of `UnknownArrayHandle` rather than
including its header.
2024-02-02 13:50:21 -05:00
..
changelog Support Fill for ArrayHandleStride 2024-02-02 13:50:21 -05:00
users-guide Add documentation of logging 2024-01-04 15:25:07 -05:00
batch_lsf.png ci: Add OLCF GitLab-CI 2021-12-15 13:00:47 -05:00
build_stage.png Update CONTRIBUTING.md to cover gitlab piplines 2020-03-26 13:40:47 -04:00
CI-README.md perftest: add perf regression test 2022-10-07 17:42:12 -04:00
CODEOWNERS Add CODEOWNERS to vtk-m to improve merge request reviewer suggestions 2020-02-11 12:53:07 -05:00
CodingConventions.md cxx,c++: Remove c++14 references 2023-02-23 19:30:58 -05:00
external_stage.png Update CONTRIBUTING.md to cover gitlab piplines 2020-03-26 13:40:47 -04:00
HotFixGuide.md Update HotFixGuide.md 2022-05-30 14:13:58 -04:00
HPCBuilds.md Remove deprecated virtual methods 2022-10-28 10:56:52 -06:00
Modules.md Add VTK-m User's Guide to source 2023-10-17 11:31:27 -04:00
NewRelease.md.tmpl update NewRelease.md.tmpl 2023-10-18 19:01:16 -04:00
perftest_arch.png perftest: add perf regression test 2022-10-07 17:42:12 -04:00
ReleaseProcess.md newrelease.md: templatize newrelease.md 2022-09-28 18:02:37 -04:00
ReleaseRoadmap.md update roadmap 2023-11-30 22:45:51 -05:00
requirements.in docs: edit docs/requirements.txt 2023-10-20 18:10:48 -04:00
requirements.txt docs: edit docs/requirements.txt 2023-10-20 18:10:48 -04:00