Commit Graph

6612 Commits

Author SHA1 Message Date
Allison Vacanti
b3df7da222 Allow external cellsets to be used by TriangleWinding worklet. 2019-08-09 16:45:33 -04:00
Allison Vacanti
384163aa43 Prevent floating point exceptions in Marching Cubes.
Normalizing this vector caused a divide-by-zero in the VTK unit test
VTK::AcceleratorsVTKmCxx-TestVTKMMarchingCubes.
2019-08-09 15:51:04 -04:00
Allison Vacanti
33562561db Remove Set method from ArrayPortalImplicit.
All it did was abort, and defining this method meant that the
IsWritableArrayHandle check was incorrect for this handle type.
2019-08-09 15:14:00 -04:00
Abhishek Yenpure
da3983d213 Changes from Ken's review
- Fixing nvcc compiler warnings
- Changes from Ken's review
2019-08-09 10:34:01 -07: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
6b8aa3f24c Fixing missing header in install issue 2019-08-08 15:28:19 -07:00
Abhishek Yenpure
9634924e15 Fixing issues with LCS Filter files 2019-08-08 15:20:11 -07:00
Abhishek Yenpure
386a30d288 Fix issues introduced during merging 2019-08-08 14:52:59 -07:00
Abhishek Yenpure
0b09f56be8 Removing trailing whitespace 2019-08-08 14:28:37 -07:00
Abhishek Yenpure
f5db0e85a0 Merge branch 'master' of gitlab.kitware.com:ayenpure/vtk-m into lcs 2019-08-08 14:21:29 -07: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
3dbc659509 Resolving compiler warnings 2019-08-07 12:45:20 -07:00
Abhishek Yenpure
2718376788 Passing point to evaluate by reference 2019-08-07 12:45:20 -07:00
Abhishek Yenpure
a37f385fcd Adding binary search for Rectilinear locator 2019-08-07 12:45:20 -07:00
Abhishek Yenpure
d63fe8e363 Adding fast path to Uniform Grid Locator 2019-08-07 12:45:20 -07:00
Abhishek Yenpure
edfdb82d56 Fixing unreachable code compiler warning 2019-08-07 12:45:20 -07:00
Abhishek Yenpure
8ca15d54f8 Return proper field indices for cells 2019-08-07 12:45:20 -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