Commit Graph

2305 Commits

Author SHA1 Message Date
Kenneth Moreland
4650a1da96 Deprecate old methods from DynamicCellSet
The `DynamicCellSet` (and the related `DynamicCellSetBase`) are
deprecated and replaced with `UnknownCellSet` (and `UncertainCellSet`).
Thus, `UnknownCellSet` has some methods inherited from `DynamicCellSet`
but replaced with other functionality. These methods are now marked as
deprecated and their use is removed.
2022-01-05 08:18:17 -07:00
Kenneth Moreland
0b84787f78 Deprecate DynamicCellSet and remove from code
The `DynamicCellSet` class is now marked as deprecated (as is the header
that contains it), and all non-deprecated code is moved to its
`UnknownCellSet` replacement.

Also added a deprecation warning for the VariantArrayHandle.h header
file and deleted a couple inappropriate uses of it.
2022-01-04 15:38:18 -07:00
Kenneth Moreland
0a89a5fff5 Store UnknownCellSet instead of DynamicCellSet in DataSet
`UnknownCellSet` is an updated replacement for `DynamicCellSet`. The
next step in the replacement is to change `DataSet` to use the new
class.

Also replaced `DynamicCellSet` with `UnknownCellSet` in a few
places where `DynamicCellSet.h` was not directly included (and
therefore now no longer included at all). This change would have
to be made at some point anyway.
2022-01-03 13:52:30 -07:00
Kenneth Moreland
a2ab460f5d Compile more sources without device compiler
We have been doing a better job at hiding device code (and moving code
into libraries). Smoke out source that no longer needs to be compiled by
device compilers.
2022-01-03 08:23:04 -07:00
Kenneth Moreland
d7a4e0d757 Merge topic 'unknown-cell-set'
1dc3d145a Allow `UnknownCellSet::Cast` return a reference
030ac1fff Fix some copy/paste errors with comments and variable names
4cb392ca2 Make DynamicCellSet directly an UnknownCellSet
6da5aa456 Replace DynamicCellSet implementation with UnknownCellSet
ac024587a Add UncertainCellSet

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Li-Ta Lo <ollie@lanl.gov>
Merge-request: !2647
2021-12-17 09:44:53 -05:00
Dave Pugmire
88bedf34f8 Merge topic 'template_particletype'
69af0f003 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into template_particletype
34a2e762f Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into template_particletype
c19e5eaab Remove newline that was added.
108f4f1f2 fix compile error.
7dc0194ea Fix compile error.
86fba6846 Create typedefs for existing filters with same name.
09f4ff380 fix compiler errors.
9ee00e395 Fix examples and test
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Abhishek Yenpure <abhishek@uoregon.edu>
Merge-request: !2636
2021-12-16 19:59:58 -05:00
Kenneth Moreland
4cb392ca24 Make DynamicCellSet directly an UnknownCellSet
Before it was a DynamicCellSetBase<VTKM_DEFAULT_CELL_SET_LIST>. This
change causes some calls to templated DynamicCellSetBase arguments to
fail to resolve, but there were only 4 in the code base. In exchange,
DynamicCellSet requires a lot less characters in its symbol.
2021-12-15 13:00:12 -07:00
Li-Ta Lo
942653bbe2 Extract implementation of MakeTestDataSet to .cxx 2021-12-13 19:11:40 -07:00
Li-Ta Lo
74905a05cd use new header file 2021-12-13 10:41:42 -07:00
Li-Ta Lo
0e3cc80767 restore deprecated filter::GenerateIds
update comments

privatize DoExecute

remove Pre|PostExecute

more Eecute -> DoExecute changes

fixed a typo so GeneratedIds.h gets installed
2021-12-13 09:28:17 -07:00
Li-Ta Lo
130d0d9dfe Updated Doxygen comments
fixed some typo

more Dosygen updates, remove necessary #include

clarify on name lookup for overloaded virtural function

minor refine on the name lookup rule

rename subdirectory

move virtual functions to .cxx, apply NVI pattern

fixed EXPORT macro

make namespace reflect directory structure
2021-12-13 09:28:13 -07:00
Li-Ta Lo
8cf02d3632 New Filter Interface Design 2021-12-03 13:44:51 -07:00
Dave Pugmire
d71e9c015b template advection filters with particle type 2021-11-22 15:10:08 -05:00
Gunther H. Weber
ed6b0f0082 Fix CMakeLists.txt after moving header file. 2021-11-08 11:41:21 -08:00
Gunther H. Weber
5fd1b8ce87 Moved I/O functions to testing directory. 2021-11-08 11:41:15 -08:00
Gunther H. Weber
b6db5ddaa6 Make GlobalBlockId int to reduce casts. Renamed BlockIndex to LocalBlockNo. 2021-11-04 20:56:12 -07:00
Gunther H. Weber
bec58bd735 Make DIY own blocks and delete them to prevent memory leak on exception 2021-11-04 17:05:09 -07:00
Gunther H. Weber
50ca0318b8 Added missing ExecutionSignature. 2021-11-03 17:13:43 -07:00
Gunther H. Weber
f96020a24a Consolidated two copies of NotNoSuchElementPredicate.h 2021-11-03 17:13:38 -07:00
Oliver Ruebel
65352d7f07 Remove extranous Allocate in HierarchicalAugmenter 2021-11-03 13:14:40 -07:00
Oliver Ruebel
3d5ba9968f Merge branch 'add/hybrid_hypersweep' of gitlab.kitware.com:ghweber/vtk-m into add/hybrid_hypersweep 2021-11-03 12:25:03 -07:00
Oliver Ruebel
61319f1895 Updated docstring for ResizeVector method 2021-11-03 12:24:39 -07:00
Gunther H. Weber
b28e0ac73a Removed unnecessary cast. 2021-11-03 12:20:32 -07:00
Gunther H. Weber
5fbcb4145e Removed unnecessary cast. 2021-11-03 12:03:02 -07:00
Gunther H. Weber
c584364122 Finish and clean-up unit test of HierarchicalHyperSweeper 2021-10-20 14:46:25 -07:00
Gunther H. Weber
b3582b9b48 Disable debug print of combined block IDs 2021-10-20 14:46:25 -07:00
Oliver Ruebel
9a9b7a6ec0 Fix bug in PrepareAugmentedTree and add DebugSave 2021-10-20 14:46:25 -07:00
Oliver Ruebel
1a16049c78 Add missing include for Types in Branch.h 2021-10-20 14:46:25 -07:00
Oliver Ruebel
61a86973d0 Update comparator based on latests fixes 2021-10-20 14:46:25 -07:00
Gunther H. Weber
7411f85213 Re-enable unit test for combining meshes 2021-10-20 14:46:25 -07:00
Gunther H. Weber
a81c5ca862 Open files with test data in binary mode 2021-10-20 14:46:25 -07:00
Gunther H. Weber
6aed5b376a Fix CUDA test crash 2021-10-20 14:46:24 -07:00
Gunther H. Weber
2b6fd71c5b Make volume metric data filter output and print tree in app; general clean up 2021-10-20 14:46:24 -07:00
Gunther H. Weber
6cd7e0894d Explictly cast data value tyoe to avoid warning 2021-10-20 14:46:24 -07:00
Gunther H. Weber
57a27225c5 Fix incorrect function method modifier 2021-10-20 14:46:24 -07:00
Gunther H. Weber
cb541051c7 Add missing files to CMakeLists.txt 2021-10-20 14:46:24 -07:00
Gunther H. Weber
264011ec1f Fix incorrect filename in CMakeLists.txt 2021-10-20 14:46:24 -07:00
Gunther H. Weber
1163cfa563 Fix crash caused by AttachmentSuperparentAndIndexComparator.h 2021-10-20 14:46:24 -07:00
Gunther H. Weber
f22af2d1c3 Add missing IdRelabeler. include to GetOwnedVerticesByGlobalIdWorklet.h 2021-10-20 14:46:24 -07:00
Oliver Ruebel
6849c6015d Fix crash in sort due to bad AttachmentSuperparentAndIndexComparator 2021-10-20 14:46:24 -07:00
Oliver Ruebel
bfffff9b20 Fix bug in HierarchicalHyperSweeper call to TransferWeightsUpdateLHEWorklet 2021-10-20 14:46:24 -07:00
Oliver Ruebel
c48f707bdd Fix bug in TreeGrafter::CopyIterationDetails
Fix bug in TreeGrafter::CopyIterationDetails to set last FirstSupernodePerIteration
2021-10-20 14:46:23 -07:00
Gunther H. Weber
17f5ead924 Moved hypersweep block and functor classes into separate files 2021-10-20 14:46:23 -07:00
Gunther H. Weber
331e63fed4 Added missing LoadArrays include. 2021-10-20 14:46:23 -07:00
Gunther H. Weber
3cf68a512e Start creating test for HierarchicalHyperSweeper and fix various bugs in it 2021-10-20 14:46:23 -07:00
Oliver Ruebel
45a3570270 Fix bad array resize in HierarchicalAugmenter
Fix bad array resize in HierarchicalAugmenter to do true resize to preserve values and initalize arrays, not just allocate
Fix bad array resize in HierarchicalAugmenter::RetrieveInAttachmentPoints to do a true resize to preserve values and initalize arrays, not just allocate
2021-10-20 14:46:23 -07:00
Oliver Ruebel
77276f2847 Moved ResizeVector funtion from TreeGrafter to Types so that we can reuse it 2021-10-20 14:46:23 -07:00
Oliver Ruebel
3a48f4a8e0 Add missing array init in HierarchicalAugmenter.CopyBaseRegularStrucutre 2021-10-20 14:46:23 -07:00
Oliver Ruebel
0176f72dac Fix missing array resize in HierarchicalAugmenter::RetrieveOldSupernodes 2021-10-20 14:46:23 -07:00
Oliver Ruebel
e2423a2924 Fix array init in HierarchicalAugmenter.ResizeArrays 2021-10-20 14:46:23 -07:00