Commit Graph

11234 Commits

Author SHA1 Message Date
Abhishek Yenpure
adcb42455f Removing unnecessary file 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
78ca3f3017 Fixing linking issues for flow Analysis class 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
0e1ade83a0 Fixing linking issues for flow Analysis class 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
12a3bc94e6 Adding test dependency of filter_flow on tests 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
c69023cba3 Separating Analysis into header and source 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
2a7149481e Moving base class flow filters into CXX 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
6f57f33318 Fixing streamline output for no step 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
1026b6dbaf Removing particle property num punctures 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
9c83bd983b Removing XGC Filter 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
9d840a88bd Fixing WarpXStreamlines compile problems 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
e6545f0ca4 Fixing issues after rebasing 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
0b76f44c8d Removing cout from device code 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
6f85dee2f6 Changing solver type for WarpX to Euler 2023-08-16 18:23:22 -07:00
Abhishek Yenpure
e6291a9b91 Adding specialization for Particle/Field for XGC
Adding XGC Field
Adding updates to XGCField
Adding Updates for generalization
Adding WarpXStreamlines and Streamsurface
Adding changes to support XGC Poincare
Finalizing XGC analysis
2023-08-16 18:23:22 -07:00
Kenneth Moreland
34f07c37cf Merge topic 'ghost-cell-remove-interface'
a62eb7eb8 Update the interface and documentation of GhostCellRemove

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3110
2023-08-15 10:16:56 -04:00
Kenneth Moreland
3581248233 Merge topic 'save-partition-statistics'
8ae76c27f Save statistics of each partition

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3109
2023-08-15 10:13:12 -04:00
Vicente Bolea
c7a165f870 Merge topic 'disable-hip-UnitTestWorkletParticleAdvection'
8cb79129d ci: disable UnitTestWorkletParticleAdvection in hip build

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3106
2023-08-11 19:39:31 -04:00
Vicente Adolfo Bolea Sanchez
8cb79129da ci: disable UnitTestWorkletParticleAdvection in hip build 2023-08-11 16:52:47 +00:00
Kenneth Moreland
a62eb7eb88 Update the interface and documentation of GhostCellRemove
The `GhostCellRemove` filter had some methods inconsistent with the naming
convention elsewhere in VTK-m. The class itself was also in need of some
updated documentation. Both of these issues have been fixed.

Additionally, there were some conditions that could lead to unexpected
behavior. For example, if the filter was asked to remove only ghost cells
and a cell was both a ghost cell and blank, it would not be removed. This
has been updated to be more consistent with expectations.
2023-08-08 21:43:38 -04:00
Kenneth Moreland
508cc3accb Improve = operators in VecFromPortal
Previously, `VecFromPortal` could only be set to a standard `Vec`.
However, because this is a `Vec`-like object with a runtime-size, it is
hard to do general arithmetic on it. It is easier to do in place so
there is some place to put the result. To make it easier to operate on
this as the result of other `Vec`-likes, extend the operators like `+=`,
`*=`, etc to support this.
2023-08-08 21:43:01 -04:00
Kenneth Moreland
8ae76c27f1 Save statistics of each partition
The original intent of calling the `Statistics` filter on a
`PartitionedDataSet` was that the resulting `PartitionedDataSet` would
have partitions matching the input giving the statics of each partition
(as well as the overall statistics in global fields). There is a comment
in the code that says as much.

However, the partitioned version of `Execute` deleted the statistics.
This corrects the behavior by leaving in the partitions' statistics.
This is also now being tested.
2023-08-08 21:41:04 -04:00
Vicente Bolea
5c6716f8e8 Merge topic 'fix-macos-build'
d800a33c2 remove unused variables
bba3f1fa5 macos: use Xcode 14.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3117
2023-08-07 20:20:55 -04:00
Vicente Adolfo Bolea Sanchez
d800a33c2e remove unused variables 2023-08-07 14:51:06 -04:00
Vicente Adolfo Bolea Sanchez
bba3f1fa58 macos: use Xcode 14.2 2023-08-07 14:48:45 -04:00
Abdelilah Essiari
544b882ce3 Merge topic 'fix-contour-tree-analysis-kokkos-crash'
75b4998de added fix using read portal after sort and unit test using on the fly dataset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3102
2023-08-01 10:35:58 -04:00
abessiari
75b4998de7 added fix using read portal after sort and unit test using on the fly dataset 2023-07-31 23:45:32 -04:00
Kenneth Moreland
44569ec4fa Merge topic 'more-copyright'
898115a41 Add copyright notice to scipts and configuration files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !3104
2023-07-26 11:51:29 -04:00
Kenneth Moreland
898115a410 Add copyright notice to scipts and configuration files
There are numerous scripts and configuration files defined in the CI setup
and elsewhere that were missing the copyright statement. Add more types
of files to check in the CopyrightStatement test, and update the files
with the appropriate statement.
2023-07-25 11:05:40 -06:00
Kenneth Moreland
5dfdd5f8f1 Merge topic 'composite-vectors-cuda'
728ca6366 Compile CompositeVectors filter with regular compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3101
2023-07-10 18:32:22 -04:00
Vicente Bolea
bffa25a607 Merge branch 'release-1.9' into release 2023-07-10 11:56:45 -04:00
Vicente Bolea
206227f1c5 Merge branch 'release' into master 2023-07-10 11:56:45 -04:00
Vicente Bolea
03dd44c593 Merge topic 'backport-cuda12-fix' into release-1.9
ac943ac3d Merge topic 'cuda-12-fixes'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3100
2023-07-10 11:56:45 -04:00
Kenneth Moreland
728ca6366f Compile CompositeVectors filter with regular compiler
The CompositeVectors filter does not run any worklet of its
own. It uses precompiled array manipulation and copies for
its implementation.

It shouldn't matter if a device compiler is used. (It should
be a quick compile.) But for some reason the nvcc compiler
was choking on an `auto`. Rather than figure out why nvcc is
barfing, I just stopped using it for this file.
2023-07-09 20:17:53 -04:00
Sujin Philip
ac943ac3dd Merge topic 'cuda-12-fixes'
5d0481342 Fix compile issues when using cuda 12

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2960
(cherry picked from commit f8af0b17f4cc771ceb2cc2e2b40947be450099cc)
2023-07-08 16:52:54 -04:00
Vicente Bolea
cec74d4e52 Merge topic 'update-kokkos-ci'
1d0e43e96 ci,docker: update serial kokkos image to 4.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3098
2023-07-06 11:51:18 -04:00
Sujin Philip
90f09e8bcc Merge topic 'advanced-compute-range'
01bacbcde Advanced Compute Range

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3082
2023-07-05 14:48:12 -04:00
Vicente Adolfo Bolea Sanchez
1d0e43e969 ci,docker: update serial kokkos image to 4.1 2023-07-05 12:09:46 -04:00
Sujin Philip
01bacbcde0 Advanced Compute Range
Add support for masks, vector magnitude range (L2 norm), and finite values only
range computations.
2023-07-04 11:54:56 -04:00
Kenneth Moreland
7ccf62c797 Merge topic 'external-face-miss-pair'
194ddb5b4 Fix error in checking paired faces in ExternalFaces filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3097
2023-07-04 07:59:37 -04:00
Kenneth Moreland
194ddb5b41 Fix error in checking paired faces in ExternalFaces filter
The `ExternalFaces` filter uses hash codes to find duplicate (i.e.
internal) faces. The issue with hash codes is that you have to deal with
unique entries that have identical hashes. The worklet to count how many
unique, unmatched faces were associated with each hash code was correct.
However, the code to then grab the ith unique face in a hash was wrong.
This has been fixed.

Fixes #789
2023-07-03 18:56:42 -04:00
Zhe Wang
f9d88bc3c5 Merge topic 'adding_hist_sampling'
2a1ac12fe add histsampling filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !3083
2023-06-30 12:25:15 -04:00
Dave Pugmire
56588b6244 Merge topic 'getActiveParticles_performance'
c109d3dde kick the dashboards.
9acb482a2 init maxnumsteps
ba3571f74 More efficient GetActiveParticles()
064501214 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m
ff4cc5e00 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m
51435f227 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !3091
2023-06-30 11:33:44 -04:00
Kenneth Moreland
faced47c65 Merge topic 'kokkos-atomics-fix'
284d479ee Switch Kokkos atomic functions to use desul library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Mark Bolstad <mbolsta@sandia.gov>
Merge-request: !3092
2023-06-30 08:55:48 -04:00
Jay
2a1ac12fe2 add histsampling filter 2023-06-30 03:57:49 +00:00
Dave Pugmire
c109d3dde7 kick the dashboards. 2023-06-29 08:25:13 -04:00
Kenneth Moreland
84dc806b8c Merge topic 'convert-to-point-cloud'
8b6c5250d Add a ConvertToPointCloud filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3088
2023-06-28 14:41:26 -04:00
Mark Bolstad
284d479ee7 Switch Kokkos atomic functions to use desul library
Kokkos 4 switches from their interal library based off of desul to using desul directly.
This removes VTK-m's dependency on the Kokkos internal implementation (Kokkos::Impl) to
using desul directly.
2023-06-28 14:34:54 -04:00
Kenneth Moreland
8b6c5250d2 Add a ConvertToPointCloud filter
This filter takes a `DataSet` and returns a point cloud representation that
has a vertex cell associated with each point in it. This is useful for
filling in a `CellSet` for data that has points but no cells. It is also
useful for operations in which you want to throw away the cell geometry and
operate on the data as a collection of disparate points.
2023-06-28 12:38:49 -04:00
Dave Pugmire
9acb482a26 init maxnumsteps 2023-06-28 08:00:31 -04:00
Dave Pugmire
ba3571f740 More efficient GetActiveParticles() 2023-06-28 07:58:22 -04:00