Sujin Philip
178da6c0dc
Make PointLocatorUniformGrid default constructible
...
plus some style changes to match VTK-m style.
2019-03-18 16:34:49 -04:00
Kenneth Moreland
2e426ad547
Run the update-control-signature-tags.sh script
2019-01-11 12:23:10 -07:00
ayenpure
22ca8bce15
Fixing unit test
2018-08-30 10:19:00 -07:00
ayenpure
b56d1789b0
Fixing Point Locator interface.
...
- Fixing the point locator interface to make it consistent with the CellLocator
interface
2018-08-29 19:26:37 -07:00
Kenneth Moreland
d879188de0
Make DispatcherBase invoke using a TryExecute
...
Rather than force all dispatchers to be templated on a device adapter,
instead use a TryExecute internally within the invoke to select a device
adapter.
Because this removes the need to declare a device when invoking a
worklet, this commit also removes the need to declare a device in
several other areas of the code.
2018-08-29 19:18:54 -07:00
Robert Maynard
28e0eb9da6
Replace FindDeviceAdapterTagAndCall with TryExecuteOnDevice
...
Also add a throwFailedRuntimeDeviceTransfer that throws a nicely
detailed message on why a something couldn't be transfered to
the requested device adapter.
2018-08-08 14:53:28 -04:00
Kenneth Moreland
367ca3e21d
Correct error of grabbing reference of stack variable
2018-06-27 10:04:01 +02:00
Li-Ta Lo
693c8ea8cd
Update PointLocatorUniformGrid.h
...
See if the problem is the DeviceList.
2018-06-26 18:12:53 -04:00
Li-Ta Lo
9c2fdd5745
infinite loop at ptxas
2018-06-26 13:35:22 -06:00
Li-Ta Lo
8df78aedc7
TestingPointLocatorUniformGrid works for serial backend
2018-06-25 14:17:33 -06:00
Li-Ta Lo
c4921c0e7a
fixed all most of compiler error, able to print something from point locator on execution side
2018-06-22 17:11:03 -06:00
Li-Ta Lo
1165845422
commit before mergin master
2018-06-22 14:18:55 -06:00
Li-Ta Lo
2e519f6508
Merge branch 'pointlocator' into pointlocator2
2018-06-19 12:06:54 -06:00
Allison Vacanti
93506d25e2
Change function signatures to use 'using' aliases.
...
Also cleaned up some lingering type typedefs.
2018-05-25 17:18:41 -04:00
Robert Maynard
30205be832
Make sure PointLocatorUniformGrid always uses the provided device adapter
2018-05-16 08:21:16 -04:00
Robert Maynard
74df09fbe0
Remove unneeded trailing ; from PointLocatorUniformGrid
...
These cause warnings with the nvcc compiler
2018-05-16 08:21:16 -04:00
Utkarsh Ayachit
7f58019eb6
cleanup doxygen warnings
2018-05-08 14:52:22 -04:00
Li-Ta Lo
89c30aefdd
extract PrepareForExecution() as per Ken's feedback
2018-05-03 17:19:50 -06:00
Li-Ta Lo
c27528d884
Extract neareast neighbor search functionality into an ExecutionObject
...
Modify PointLocatorUniform::Build to return an ExecutionObjec, Locator.
The Locator can the be passed to Worklets for finding neareast neighbor
point by calling the FindNeareastPoint method.
2018-05-03 13:57:44 -06:00
Robert Maynard
182f4707e7
vtkm prefers 'using' over typedef.
2018-02-23 10:47:20 -05:00
Robert Maynard
96ccf14c73
Correct bad formatting in some vtkm::cont headers
2018-01-15 10:45:16 -05:00
Li-Ta Lo
ed3a64a512
Coding style improvment
...
Capitalize the first character of data members. Rename Run() to FindNearestPoint().
2017-10-24 18:26:01 -04:00
Li-Ta Lo
508882fa21
PointLocatorUniformGrid
...
Provide an accelerated neareast neighbor search of points in the
dataset using a one layer uniform grid.
2017-10-19 11:44:36 -06:00