Commit Graph

1079 Commits

Author SHA1 Message Date
Li-Ta Lo
0511f52061 add one layer of namepsace 2022-01-06 15:55:01 -07:00
Li-Ta Lo
bff92a7d88 reenable All_BACKENDS 2022-01-06 15:17:45 -07:00
Li-Ta Lo
f5bbc6fc83 migrate clean_grid and extract_entity filters 2022-01-06 14:52:27 -07:00
Li-Ta Lo
e5639b1f91 Merge topic 'NewFilter'
0801b2423 add newline
c9b8a31b5 add NewFilterField.cxx so EXPORT_CORE would work
548df8436 add CORE_EXPORT
9ff52a98c Set default ActiveCoordinateSystemIndex to 0.
90992406f Merge branch 'NewFilter' of gitlab.kitware.com:ollielo/vtk-m into NewFilter
4a63b745a uniform treatment of primary/secondary field/coordinate_system
6461857e4 Merge branch 'master' into NewFilter
3720006d0 change based on code review
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2648
2022-01-06 09:31:25 -05:00
Li-Ta Lo
0801b24233 add newline 2022-01-05 14:40:10 -07:00
Li-Ta Lo
c9b8a31b5d add NewFilterField.cxx so EXPORT_CORE would work 2022-01-05 14:39:18 -07:00
Li-Ta Lo
548df84369 add CORE_EXPORT 2022-01-05 13:20:19 -07:00
Li-Ta Lo
9ff52a98c7 Set default ActiveCoordinateSystemIndex to 0. 2022-01-05 11:52:23 -05:00
Li-Ta Lo
4a63b745aa uniform treatment of primary/secondary field/coordinate_system 2022-01-05 09:28:55 -07:00
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
Li-Ta Lo
6461857e4e Merge branch 'master' into NewFilter 2022-01-04 07:54:04 -07:00
Kenneth Moreland
12e1164179 Redefine RenderTest interface for library
The previous functions that enabled the render regression tests were
heavily templated, which required every test using rendering to
recompile the entire rendering system being used. Changed the interface
to not rely on templating so that the RenderTest method can be moved
into a library.

Also moved the options into a struct where they can be better managed.
The render testing functions tended to have lots of arguments that were
difficult to manage. Instead, created a single `struct` that holds all
the potential options. That way when someone specifies on option, it is
clear what option is being set.
2021-12-30 10:53:23 -07:00
Kenneth Moreland
9173d6bba9 Rename RegressionTests to RenderTests
The tests that used rendering and image comparison were named
`RegressionTest*`. However, this name is not very descriptive as all the
tests are regression tests. These have all been renamed to be
`RenderTest*` to more clearly indicate that they are tests that use
rendering as part of the test.
2021-12-29 13:12:36 -07:00
Li-Ta Lo
3720006d0b change based on code review 2021-12-17 09:49: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
1dc3d145a5 Allow UnknownCellSet::Cast return a reference
The replacement method, `AsCellSet`, will not support returning a
reference. However, we can continue to allow the deprecated method to
return the reference and correct that later when we move from the
deprecated method.
2021-12-16 08:48:04 -07:00
Li-Ta Lo
a3c4460077 add changelog 2021-12-15 16:29:38 -07: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
Kenneth Moreland
6da5aa4564 Replace DynamicCellSet implementation with UnknownCellSet
Soon, the `DynamicCellSet` interface will be deprecated so that code can
move to `UnknownCellSet`.
2021-12-15 12:59:31 -07:00
Li-Ta Lo
08c1b5a113 Merge branch 'master' into NewFilter 2021-12-15 12:52:54 -07:00
Li-Ta Lo
bc890dc470 Merge topic 'DataSetBuilder'
6c3799f80 revert CLion's auto change
04b05ac84 remove ArrayCopy from CopyInto
bb383ab76 remove #include Algorithms
1b2ea8ea8 remove ArrayCopy
942653bbe Extract implementation of MakeTestDataSet to .cxx

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2649
2021-12-15 09:16:45 -05:00
Li-Ta Lo
6c3799f802 revert CLion's auto change 2021-12-14 15:56:07 -07:00
Roxana Bujack
557055b9cc Merge topic 'amrFilter'
11d770659 add worklet include
7139a1c8c add amr capability as filter

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2646
2021-12-14 15:57:19 -05:00
Li-Ta Lo
a1b98287f5 support multiple input fields 2021-12-14 13:43:42 -07:00
Li-Ta Lo
6ae6a68923 Remove SupportedType and Policy 2021-12-14 09:05:37 -07:00
Li-Ta Lo
942653bbe2 Extract implementation of MakeTestDataSet to .cxx 2021-12-13 19:11:40 -07:00
Li-Ta Lo
8b94764f18 Add and migrate NewFilterField 2021-12-13 16:20:39 -07:00
Li-Ta Lo
1469d34b43 rename DoExecutePartitions 2021-12-13 12:17:15 -07:00
Roxana Bujack
11d7706594 add worklet include 2021-12-13 09:50:18 -07:00
Roxana Bujack
7139a1c8c4 add amr capability as filter 2021-12-13 09:33:47 -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
c19e5eaabf Remove newline that was added. 2021-11-28 20:48:37 -05:00
Dave Pugmire
108f4f1f28 fix compile error. 2021-11-23 08:18:48 -05:00
Dave Pugmire
86fba68461 Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
Dave Pugmire
09f4ff3807 fix compiler errors. 2021-11-22 15:27:41 -05:00
Dave Pugmire
9ee00e3958 Fix examples and test 2021-11-22 15:19:31 -05:00
Dave Pugmire
d71e9c015b template advection filters with particle type 2021-11-22 15:10:08 -05:00
Dave Pugmire
7fea9a75db undo some errant changes. 2021-11-22 13:56:08 -05:00
Dave Pugmire
91de783f40 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m 2021-11-22 13:47:37 -05:00
Dave Pugmire
2956713174 Filters for charged particle advection. 2021-11-11 09:21:15 -05:00
Vicente Adolfo Bolea Sanchez
555013cdda CMAKE: add unity builds support 2021-11-10 15:03:11 -05:00
Gunther Weber
d974477e40 Merge topic 'add/hybrid_hypersweep'
02789a0d4 Improve comments
ed6b0f008 Fix CMakeLists.txt after moving header file.
5fd1b8ce8 Moved I/O functions to testing directory.
b6db5ddaa Make GlobalBlockId int to reduce casts. Renamed BlockIndex to LocalBlockNo.
bec58bd73 Make DIY own blocks and delete them to prevent memory leak on exception
50ca0318b Added missing ExecutionSignature.
f96020a24 Consolidated two copies of NotNoSuchElementPredicate.h
65352d7f0 Remove extranous Allocate in HierarchicalAugmenter
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Acked-by: Sujin Philip <sujin.philip@kitware.com>
Merge-request: !2587
2021-11-10 13:55:32 -05:00
Gunther H. Weber
02789a0d4d Improve comments 2021-11-08 15:24:07 -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
3d88d7f8dc Updated comment. Fixed coding style violation. 2021-11-03 11:39:40 -07:00