Commit Graph

6386 Commits

Author SHA1 Message Date
Robert Maynard
c6e3424696 Merge topic 'move_create_result_out_of_internal'
cec717015 CreateResult is now part of vtkm::filter instead of being inside internals

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1763
2019-08-12 11:16:45 -04:00
Robert Maynard
cec717015a CreateResult is now part of vtkm::filter instead of being inside internals 2019-08-09 12:44:43 -04:00
Robert Maynard
bc440670f6 Merge topic 'vtkm_filters_use_invoker_to_hightlight_best_practises'
3a7d3cb5f VTK-m filters now launch all worklets via a vtkm::cont::Invoker

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1760
2019-08-09 11:40:59 -04:00
Robert Maynard
3a7d3cb5ff VTK-m filters now launch all worklets via a vtkm::cont::Invoker
This has been done as to showcase the recommend best practices
for new VTK-m contributors.
2019-08-09 10:37:35 -04:00
Abhishek Yenpure
321f1b6201 Merge topic 'particle_status_merge'
f1e9282b2 Adding changelog for the changes
39e278cf0 Fixing unreachable statement nvcc warning
2798c737a Fixing issues raised by Ken on Gitlab
a6df11732 Removing unnecessary commented code
aefc5faca Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into particle_status_merge
647afd159 Passing point to evaluate by reference
577694579 Adding binary search for Rectilinear locator
06d05196b Adding fast path to Uniform Grid Locator
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1756
2019-08-08 17:08:04 -04:00
Nickolas Davis
f931583877 Merge topic 'implicit-gradient-tests'
b929b6413 Adding Gradient tests for Implicit Functions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1730
2019-08-08 16:49:12 -04:00
Abhishek Yenpure
f1e9282b23 Adding changelog for the changes
1. 2D cell locators
2. Particle advection module statuses
2019-08-08 12:33:53 -07:00
Kenneth Moreland
2b704edbbe Merge topic 'gcc-4-8-alignas-bug-workaround'
bf6d6cc60 Get around alignas bug in GCC 4.8

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1761
2019-08-08 14:14:08 -04:00
Abhishek Yenpure
39e278cf0b Fixing unreachable statement nvcc warning 2019-08-08 09:41:44 -07:00
Abhishek Yenpure
2798c737a2 Fixing issues raised by Ken on Gitlab 2019-08-08 09:15:28 -07:00
nadavi
b929b6413e Adding Gradient tests for Implicit Functions 2019-08-08 10:03:27 -06:00
Allison Vacanti
db6a7c1650 Merge topic 'SurfaceNormals_document_defaults'
a143c7c5c Mention default for SurfaceNormals::AutoOrientNormals option.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1762
2019-08-08 10:36:49 -04:00
Allison Vacanti
a143c7c5ca Mention default for SurfaceNormals::AutoOrientNormals option. 2019-08-08 10:35:38 -04:00
Allison Vacanti
ac5841805b Merge topic '358-declare-user-log-level'
ccb939fe0 added VTKM_DEFINE_USER_LOG_LEVEL as a convenience macro

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1749
2019-08-08 10:27:21 -04:00
Kenneth Moreland
bf6d6cc604 Get around alignas bug in GCC 4.8
I ran into a bug with GCC 4.8 where if you use the alignas keyword
with a number declared with a constexpr, it gives an error about
the expression not being a constant expression (even though it
is). A workaround to the issue is to wrap the alianas in a class
templated by the size you want to align with. GCC does not
complain when you use a constexpr with a template parameter, and
it is happy to use that template parameter in the alignas
expression.

Workaround found here:
https://stackoverflow.com/questions/29879609/g-complains-constexpr-function-is-not-a-constant-expression
2019-08-08 07:59:43 -06:00
Abhishek Yenpure
a6df117321 Removing unnecessary commented code 2019-08-07 14:35:15 -07:00
Kenneth Moreland
5373b0f39d Merge topic 'simplify-examples'
7321f7175 Increase timeout for example install build tests
9fc9796cd Change HelloWorklet filter to use simplified field specification
045094e1b Fix warning about unused variable in catch
c50843cdb Add changedoc for simplifying examples
fc65bc533 Fix failure with UnitTestSerializationDataSet
721b25a12 Get rid of unified_memory directory in examples
dc59d7ebe Get rid of tau_timing directory in examples
eb5094818 Update tetrahedra examples
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1750
2019-08-07 16:56:46 -04:00
Abhishek Yenpure
aefc5faca6 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into particle_status_merge 2019-08-07 13:06:34 -07:00
Abhishek Yenpure
647afd159a Passing point to evaluate by reference 2019-08-07 12:33:52 -07:00
Abhishek Yenpure
5776945798 Adding binary search for Rectilinear locator 2019-08-07 12:33:52 -07:00
Abhishek Yenpure
06d05196b5 Adding fast path to Uniform Grid Locator 2019-08-07 12:32:37 -07:00
Nick Davis
ccb939fe0f added VTKM_DEFINE_USER_LOG_LEVEL as a convenience macro 2019-08-07 09:49:29 -06:00
Abhishek Yenpure
5219d82aab Fixing unreachable code compiler warning 2019-08-07 08:43:11 -07:00
Kenneth Moreland
7321f71752 Increase timeout for example install build tests
When both examples and tests are on, there are a few tests created that
will install VTK-m and build the example against the install to make
sure that all expected components are installed. Since it requires the
full compile of a VTK-m application (and some VTK-m applications can
take a while to compile), increase the timeout for these tests.

The timeout is currently set to 10 minutes (600 seconds).
2019-08-07 09:42:30 -06:00
Kenneth Moreland
9fc9796cda Change HelloWorklet filter to use simplified field specification 2019-08-07 09:30:25 -06:00
Kenneth Moreland
045094e1bb Fix warning about unused variable in catch 2019-08-07 09:24:54 -06:00
Kenneth Moreland
c50843cdb1 Add changedoc for simplifying examples 2019-08-07 09:14:04 -06:00
Kenneth Moreland
fc65bc5336 Fix failure with UnitTestSerializationDataSet
For demonstration purposes, I added a vector field to one of the data
sets (the cow nose). However, the serialization test was not expecting a
field of that type and therefore had not compiled the case to serialize
that type of field, which caused a failure. Fixed the problem by
instructing the test to also consider the correct type of vector fields.
2019-08-07 09:14:03 -06:00
Kenneth Moreland
721b25a127 Get rid of unified_memory directory in examples
This was not actually referenced by the CMake build anywhere. According
to Ollie, this "did not serve its purpose."
2019-08-07 09:14:02 -06:00
Kenneth Moreland
dc59d7ebe0 Get rid of tau_timing directory in examples
This was not actually referenced by the CMake build anywhere. According
to Dave, this is a "dead turd."
2019-08-07 09:14:01 -06:00
Kenneth Moreland
eb50948181 Update tetrahedra examples
The examples were way more complicated than necessary.
2019-08-07 09:14:00 -06:00
Kenneth Moreland
7194592603 Remove streamline example
This is a very old example. Just about everything it does is using an
old style that is either not well supported or discouraged. The whole
example should be rewritten to be more modern.
2019-08-07 09:14:00 -06:00
Kenneth Moreland
b42b839a11 Remove rendering example
This is an old example that uses the OpenGL rendering units that are
largely deprecated. Other more modern rendering examples exist, such as
in demo.
2019-08-07 09:13:59 -06:00
Kenneth Moreland
f2ce7a44ca Remove isosurface example
The demo example already creates an isosurface. Between this and the
marching cubes test, this is covered.
2019-08-07 09:13:58 -06:00
Kenneth Moreland
bd94573020 Remove hello_world example
This example was way too complicated to be considered "hello_world" and
it's graphics are too much of a pain to maintain. The demo example
covers the high points.
2019-08-07 09:13:57 -06:00
Kenneth Moreland
738ab0e9ad Simplify demo example 2019-08-07 09:13:56 -06:00
Kenneth Moreland
fb3c9e8186 Modernize clipping example
That example was written way before the filter classes ever existed. Now
by using the clip filter, everything becomes very simple.
2019-08-07 09:13:56 -06:00
Kenneth Moreland
7a0a35b29f Add hello worklet example
This is a simple "hello world" example in VTK-m of implementing some
algorithm that runs in parallel.
2019-08-07 09:13:55 -06:00
Kenneth Moreland
cc4d927955 Fix type conversion warnings in PolyLineArchimedeanHelix example 2019-08-07 09:13:54 -06:00
Robert Maynard
5fce2b9ff2 Merge topic 'simplify_specifying_filter_allowed_value_types'
d7b2ff04c Provide a simpler way to restrict value types for filters

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Acked-by: Allison Vacanti <allison.vacanti@kitware.com>
Merge-request: !1755
2019-08-07 08:23:40 -04:00
Abhishek Yenpure
0231d0de13 Return proper field indices for cells 2019-08-06 15:13:50 -06:00
Robert Maynard
d7b2ff04c9 Provide a simpler way to restrict value types for filters 2019-08-06 17:04:07 -04:00
Allison Vacanti
19344416da Merge topic 'fix_topo_typo'
f2901aedd Fix typo in legacy class name.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1757
2019-08-06 16:11:12 -04:00
Allison Vacanti
f2901aeddc Fix typo in legacy class name. 2019-08-06 16:05:02 -04:00
Allison Vacanti
09a70aed98 Merge topic 'rename_topo_map_worklets'
5db762ee7 Refactor topology mappings to clarify meaning.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1751
2019-08-06 15:15:19 -04:00
Abhishek Yenpure
c957c9a9d5 Fixing compiler warnings 2019-08-06 11:23:07 -06:00
Abhishek Yenpure
06fcf49059 Merge branch '2DLocators' of gitlab.kitware.com:ayenpure/vtk-m into particle_status_merge 2019-08-06 11:12:54 -06:00
Abhishek Yenpure
caecbb3760 Fixing problem with uniform cell locator 3D 2019-08-06 11:10:49 -06:00
Abhishek Yenpure
18a3b892ca Merge branch 'particle_status_merge' of gitlab.kitware.com:ayenpure/vtk-m into particle_status_merge 2019-08-06 11:05:19 -06:00
Abhishek Yenpure
3cd5d3c216 Merge branch '2DLocators' of gitlab.kitware.com:ayenpure/vtk-m into particle_status_merge 2019-08-06 10:56:38 -06:00