Commit Graph

8946 Commits

Author SHA1 Message Date
Sujin Philip
e97d72a528 Merge topic 'getfield-const'
7972070d7 PartitionedDataSet GetField should be const

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2488
2021-05-04 10:44:22 -04:00
Sujin Philip
7972070d7c PartitionedDataSet GetField should be const 2021-04-30 16:27:58 -04:00
Vicente Bolea
85a1f7c528 Merge topic 'add-cdash-release-track'
3a89b477f CI: Add release track in cdash

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <morelandkd@ornl.gov>
Merge-request: !2470
2021-04-29 17:39:16 -04:00
Vicente Adolfo Bolea Sanchez
3a89b477f1 CI: Add release track in cdash
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-04-29 16:15:23 -04:00
Kenneth Moreland
68814a22db Merge topic 'all-virtual-deprecated'
8eed21d08 Do not declare headers for virtual classes that are removed
cb3bb43ff Completely deprecate virtual methods

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Nickolas Davis <nadavi@sandia.gov>
Merge-request: !2484
2021-04-28 21:45:23 -04:00
Vicente Bolea
57ed612aea Merge topic 'update-cmake-tag-test'
6a041f6c6 CI: Fetch main repo tags from forks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !2477
2021-04-28 19:56:18 -04:00
Kenneth Moreland
8eed21d085 Do not declare headers for virtual classes that are removed 2021-04-28 15:28:06 -06:00
Kenneth Moreland
cb3bb43ff9 Completely deprecate virtual methods
Deprecate `VirtualObjectHandle` and all other classes that are used to
implement objects with virtual methods in the execution environment.

Additionally, the code is updated so that if the
`VTKm_NO_DEPRECATED_VIRTUAL` flag is set none of the code is compiled at
all. This opens us up to opportunities that do not work with virtual
methods such as backends that do not support virtual methods and dynamic
libraries for CUDA.
2021-04-28 07:28:32 -06:00
Kenneth Moreland
8d7edb4615 Merge topic 'msvc2017-no-deprecated'
e3e1a7607 Disable deprecation for MSVC 2017

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Vicente Bolea <vicente.bolea@kitware.com>
Merge-request: !2485
2021-04-28 09:25:58 -04:00
Matt Larsen
9d2340ce10 Merge branch 'release' into master 2021-04-27 17:24:22 -04:00
Matt Larsen
0d3d03b267 Merge topic 'init_ray_status_release' into release
c5cf81864 add status init to rays

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2486
2021-04-27 17:24:21 -04:00
Matt Larsen
c5cf81864f add status init to rays 2021-04-27 13:18:37 -07:00
Kenneth Moreland
e3e1a76072 Disable deprecation for MSVC 2017
Although technically supported, this version of the visual studio likes
to put the warnings where templates are defined (rather than
instantiated). That makes it impossible to suppress a warning when, for
example, when a deprecated class is legitmately used in an std template
to implement other deprecated functionality.

To prevent this, disable deprecations on MSVC compilers before 2019. I
doubt any developers are using this compiler anywhere but the dashboard,
and the warnings should legitimately appear elsewhere.
2021-04-26 12:47:44 -06:00
Vicente Adolfo Bolea Sanchez
6a041f6c61 CI: Fetch main repo tags from forks
Signed-off-by: Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
2021-04-23 20:25:18 -04:00
Li-Ta Lo
9c54941d2b Merge topic 'particle_density_cell_set'
e76387373 explicitly cast cell set to structured 3D to supress warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2483
2021-04-23 13:49:09 -04:00
Li-Ta Lo
e763873739 explicitly cast cell set to structured 3D to supress warnings 2021-04-23 09:48:29 -06:00
Nick Thompson
3c8e160229 Merge topic 'NAThompson-master-patch-56961'
25c14a7ea Fix uninitialized variable warning on gcc-10.3

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Nickolas Davis <nadavi@sandia.gov>
Merge-request: !2482
2021-04-21 14:25:56 -04:00
Nick Thompson
25c14a7ea9 Fix uninitialized variable warning on gcc-10.3 2021-04-21 16:31:31 +00:00
Nick Thompson
4f3ff257fa Merge topic 'NAThompson-master-patch-83719'
9f1ef651c Update UnitTestError.cxx

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2481
2021-04-17 16:29:55 -04:00
Nick Thompson
9f1ef651c4 Update UnitTestError.cxx 2021-04-16 17:46:43 +00:00
Nick Thompson
9d46f7981d Merge topic 'print_particle'
7e7d41a73 Make sure to #include<ostream>
dee5d209d Overload stream operator to print vtkm::Particle.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2479
2021-04-15 10:14:43 -04:00
Kenneth Moreland
237aff05e6 Merge topic 'rendering-mesh-conn-no-virtual'
6b144abe4 Remove virtual methods from MeshConnectivity in rendering

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2464
2021-04-15 10:09:24 -04:00
Nick Thompson
7e7d41a730 Make sure to #include<ostream> 2021-04-15 09:19:55 -04:00
Nick Thompson
dee5d209d4 Overload stream operator to print vtkm::Particle. 2021-04-15 08:36:53 -04:00
Nick Thompson
4df064f379 Merge topic 'meaningless_diff'
82361fc45 Better message on failure for DifferenceOfProducts.
384fea5ce Make sure arguments are placed in correct order.
cddb6f7b6 Do not flush the stream when you're just going to convert it to string.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2474
2021-04-13 21:28:57 -04:00
Nick Thompson
82361fc45e Better message on failure for DifferenceOfProducts. 2021-04-13 19:09:55 -04:00
Nick Thompson
384fea5ced Make sure arguments are placed in correct order. 2021-04-13 16:00:23 -04:00
Nick Thompson
cddb6f7b6d Do not flush the stream when you're just going to convert it to string. 2021-04-13 14:37:20 -04:00
Nick Thompson
294624adf5 Merge topic 'fix_testerror'
794872eb0 Fix error in unit test.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2472
2021-04-13 12:45:59 -04:00
Nick Thompson
794872eb07 Fix error in unit test. 2021-04-13 11:21:42 -04:00
Nick Thompson
76877b7982 Merge topic 'speed_up_tests'
021c3ff86 Print additional information on failure to facilitate debugging.
36b8c0d2a Merge branch 'speed_up_tests' of gitlab.kitware.com:NAThompson/vtk-m into speed_up_tests
9d6b73275 Use better variable names.
4133e40c0 Remove printing of expected errors.
eb760e04e Revert removal of print statements.
e7c075b5c Remove unused variable.
cb83b8179 Save another 10 seconds.
b0c2bc9d6 Ignore computationTime.
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2465
2021-04-13 10:07:50 -04:00
Li-Ta Lo
40c1b9d717 Merge topic 'particle_density'
148cad2ce Merge branch 'master' into particle_density
7bebc1c49 Disable passing input scalar field

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@acm.org>
Merge-request: !2471
2021-04-13 09:21:57 -04:00
Nick Thompson
021c3ff86d Print additional information on failure to facilitate debugging. 2021-04-13 09:08:52 -04:00
Nick Thompson
36b8c0d2a9 Merge branch 'speed_up_tests' of gitlab.kitware.com:NAThompson/vtk-m into speed_up_tests 2021-04-12 18:56:06 -04:00
Nick Thompson
9d6b732750 Use better variable names. 2021-04-12 18:51:53 -04:00
Nick Thompson
4133e40c06 Remove printing of expected errors. 2021-04-12 18:51:53 -04:00
Nick Thompson
eb760e04ef Revert removal of print statements. 2021-04-12 18:51:53 -04:00
Nick Thompson
e7c075b5c4 Remove unused variable. 2021-04-12 18:51:53 -04:00
Nick Thompson
cb83b81793 Save another 10 seconds. 2021-04-12 18:51:52 -04:00
Nick Thompson
b0c2bc9d61 Ignore computationTime. 2021-04-12 18:51:52 -04:00
Nick Thompson
dc89c79fdc Remove unused variable. 2021-04-12 18:51:52 -04:00
Nick Thompson
be2ad7dd4b Speed up bounding interval hierarchy test. 2021-04-12 18:51:52 -04:00
Nick Thompson
bdc73333c9 Speed up UnitTestMath. 2021-04-12 18:51:52 -04:00
Nick Thompson
1b11348cc3 Reduce data size to operate on in unit tests. 2021-04-12 18:51:52 -04:00
Nick Thompson
14ccd6d98f Speed up particle density unit test. 2021-04-12 18:51:51 -04:00
Nick Thompson
134c6c3d4e Speed up CellLocator tests. 2021-04-12 18:51:51 -04:00
Nick Thompson
33993db2df Reduce runtime of unit tests. 2021-04-12 18:51:51 -04:00
Kenneth Moreland
5feb9c9a9d Fix deprecation warnings with MSVC 2021-04-12 18:50:44 -04:00
Kenneth Moreland
5049de316d Fix VariantArrayHandle::AsVirtual with cast arrays
The both the underlying `UnknownArrayHandle` and `ArrayHandleVirtual`
handle `ArrayHandleCast` specially. This caused problems when passing an
`ArrayHandleCast` to `VariantArrayHandle::AsVirtual`. Solve the problem
by stripping out the cast storage tags and letting these classes handle
it internally.

It's annoying to have to fix a problem in a method of a deprecated class
that returns another class that is deprecated for a different reason. No
one should really be running this.
2021-04-12 18:50:44 -04:00
Kenneth Moreland
fb3acb8603 Add changelog for depreciating VariantArrayHandle 2021-04-12 18:50:43 -04:00