Commit Graph

6410 Commits

Author SHA1 Message Date
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
Abhishek Yenpure
92beae9e00 Fixing LCS unit test 2019-08-06 15:12:12 -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
66f629a571 Merge branch 'particle_status_merge' of gitlab.kitware.com:ayenpure/vtk-m into lcs 2019-08-06 11:29:35 -06: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
4f5052c377 Merge branch '2DLocators' of gitlab.kitware.com:ayenpure/vtk-m into lcs 2019-08-06 11:07:38 -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
Abhishek Yenpure
4e7b59c65e Adding changes for 2D uniform cell locator 2019-08-06 10:52:10 -06:00
Abhishek Yenpure
cfff86c0db Adding fixes to LCS calculation 2019-08-06 10:21:08 -06:00
Allison Vacanti
5db762ee71 Refactor topology mappings to clarify meaning.
The `From` and `To` nomenclature for topology mapping has been confusing for
both users and developers, especially at lower levels where the intention of
mapping attributes from one element to another is easily conflated with the
concept of mapping indices (which maps in the exact opposite direction).

These identifiers have been renamed to `VisitTopology` and `IncidentTopology`
to clarify the direction of the mapping. The order in which these template
parameters are specified for `WorkletMapTopology` have also been reversed,
since eventually there may be more than one `IncidentTopology`, and having
`IncidentTopology` at the end will allow us to replace it with a variadic
template parameter pack in the future.

Other implementation details supporting these worklets, include `Fetch` tags,
`Connectivity` classes, and methods on the various `CellSet` classes (such as
`PrepareForInput` have also reversed their template arguments. These will need
to be cautiously updated.

The convenience implementations of `WorkletMapTopology` have been renamed for
clarity as follows:

```
WorkletMapPointToCell --> WorkletVisitCellsWithPoints
WorkletMapCellToPoint --> WorkletVisitPointsWithCells
```

The `ControlSignature` tags have been renamed as follows:

```
FieldInTo --> FieldInVisit
FieldInFrom --> FieldInMap
FromCount --> IncidentElementCount
FromIndices --> IncidentElementIndices
```
2019-08-06 11:27:26 -04:00
Robert Maynard
7fc0ff86e5 Merge topic 'fix_example_rendering_polyline'
88f2d63b4 Only build polyline example when rendering is enabled.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1754
2019-08-06 08:43:48 -04:00
Kenneth Moreland
8369467470 Merge topic 'encourage-release-builds'
992be25e1 Change building instructions to favor official distribution

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1729
2019-08-05 19:47:14 -04:00
Abhishek Yenpure
5bd6046b95 Adding LCS example 2019-08-05 13:15:10 -07:00
Abhishek Yenpure
5f099ecb2b Merge branch '2DLocators' of gitlab.kitware.com:ayenpure/vtk-m into lcs 2019-08-05 12:04:27 -07:00
Abhishek Yenpure
9219aff3e7 Adding lagrangian unit test 2019-08-05 11:00:20 -07:00
Abhishek Yenpure
bbe101cf66 Adding changes for validating integrator step 2019-08-05 10:39:25 -07:00
Abhishek Yenpure
e3e71c54a3 Merging Dave's particle status rename changes 2019-08-05 10:58:52 -06:00
Abhishek Yenpure
48cc2471e4 Merging Deve's particle status changes 2019-08-03 15:28:45 -06:00
Abhishek Yenpure
7906145345 Merge branch 'particleStatusRename' of gitlab.kitware.com:dpugmire/vtk-m into particle_status_merge 2019-08-03 15:27:48 -06:00
Abhishek Yenpure
f30a7ac94c Resolving compiler warnings 2019-08-02 09:40:54 -06:00
Abhishek Yenpure
d2ad29412b Fixing compiler warnings 2019-08-01 15:52:46 -06:00
Abhishek Yenpure
dc90a838e0 Updating copyright statement for Integrators.h 2019-08-01 15:31:55 -06:00
Robert Maynard
793702cf62 Merge topic 'symbol_vis_warnings_with_worklets'
d8cc39eb8 Always export VTK-m functor symbols

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1753
2019-08-01 17:13:50 -04:00
Robert Maynard
d38a23e55b Merge topic 'find_package_vtkm_dont_check_cuda_arch'
8f3681171 When importing VTK-m don't recheck the CUDA host architecture

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1748
2019-08-01 17:09:14 -04:00
NAThompson
88f2d63b4e Only build polyline example when rendering is enabled. 2019-08-01 14:21:37 -04:00
ayenpure
5b1d1c999d Fixing compiler warnings 2019-08-01 11:56:12 -06:00
ayenpure
d55b9e3eb5 Fixing problems with Streamline unit test
- Fixing issues with temporal bounds to take a step large enough to end
  advection beyond which it is no longer possible
2019-08-01 11:45:47 -06:00
Robert Maynard
c7c2cd6d92 Merge topic 'documented_intel_tested_versions'
0c4e0a695 Document versions of the Intel compiler VTK-m has been tested on

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1752
2019-08-01 13:39:08 -04:00
Robert Maynard
0c4e0a695c Document versions of the Intel compiler VTK-m has been tested on 2019-08-01 13:34:51 -04:00
Robert Maynard
d8cc39eb8d Always export VTK-m functor symbols
This is done to avoid warnings when compiling VTK-m consumers
with different defaults for symbol visiblity. AKA avoid warnings
like:

```
warning: ‘vtkm::worklet::WorkletMapField’ declared with greater visibility than the type of its field ‘vtkm::worklet::WorkletMapField::<anonymous>’ [-Wattributes]
 class WorkletMapField : public vtkm::worklet::internal::WorkletBase
       ^~~~~~~~~~~~~~~
```
2019-08-01 12:53:54 -04:00
Robert Maynard
2eeeafc1f5 Merge topic 'move_invoker_to_cont'
7e04b0511 Move Invoker into vtkm/cont

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kenneth Moreland <kmorel@sandia.gov>
Merge-request: !1745
2019-08-01 12:36:00 -04:00
Robert Maynard
7e04b0511f Move Invoker into vtkm/cont
The Invoker is a control side object that handles the construction
of the relevant worklet dispatcher. Moving it to control makes it
obvious that it isn't an algorithm itself but a way to launch
worklets.
2019-08-01 12:34:27 -04:00
Allison Vacanti
9b0d70203b Merge topic 'orient_normals'
91e7c4d0b Add orientation and winding options to SurfaceNormals.
320a5257a Add TriangleWinding worklet.
ab627b61d Add OrientNormals worklet.
112024dae Fix CUDA shfl usage.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !1614
2019-08-01 12:18:31 -04:00
Allison Vacanti
91e7c4d0b9 Add orientation and winding options to SurfaceNormals. 2019-08-01 11:02:13 -04:00
Allison Vacanti
320a5257ad Add TriangleWinding worklet. 2019-08-01 10:57:58 -04:00
Allison Vacanti
ab627b61d6 Add OrientNormals worklet. 2019-08-01 10:57:58 -04:00
Allison Vacanti
112024dae2 Fix CUDA shfl usage.
There was a bug in the implementations of CountSetBits and
BitFieldToUnorderedSet.
2019-08-01 10:57:57 -04:00
Dave Pugmire
bdf98ff987 Change status types to avoid collision in Windows. 2019-07-31 16:28:22 -06:00
Robert Maynard
8f36811718 When importing VTK-m don't recheck the CUDA host architecture 2019-07-31 18:16:22 -04:00
ayenpure
d636dea4e3 Resolving error introduced in merge 2019-07-31 16:02:30 -06:00
Dave Pugmire
e26e3ef621 Better naming for particle and integrator status 2019-07-31 15:46:04 -06:00