Commit Graph

173 Commits

Author SHA1 Message Date
Abhishek Yenpure
2798c737a2 Fixing issues raised by Ken on Gitlab 2019-08-08 09:15:28 -07: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
0231d0de13 Return proper field indices for cells 2019-08-06 15:13:50 -06:00
Abhishek Yenpure
c957c9a9d5 Fixing compiler warnings 2019-08-06 11:23:07 -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
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
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
Dave Pugmire
bdf98ff987 Change status types to avoid collision in Windows. 2019-07-31 16:28:22 -06: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
ayenpure
2f2230d1f4 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into 2DLocators 2019-07-31 15:05:53 -06:00
Kenneth Moreland
57440239ef Merge topic 'vec-typedefs'
53e868938 Add changedoc for common vec types
0be50c119 Update VTK-m code to use new Vec aliases
b3e295214 Add aliases for common Vec types

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1743
2019-07-31 16:24:46 -04:00
ayenpure
09883039a8 Fixing particle advection small step issues 2019-07-31 13:21:08 -06:00
Kenneth Moreland
0be50c119d Update VTK-m code to use new Vec aliases
Should make the code easier to read.
2019-07-31 12:55:40 -06:00
Dave Pugmire
19e41efb30 Add new particle status for 'took any steps' 2019-07-31 10:54:39 -06:00
ayenpure
29506fa53f Fixing spatial bounds for Temporal Grid Evaluator 2019-07-30 13:58:36 -06:00
ayenpure
2909565675 Adding updates 2019-07-18 10:25:47 -06:00
Abhishek Yenpure
ede98e8fdf Updates to Grid Evaluator and Integrators 2019-07-15 09:54:48 -07:00
Abhishek Yenpure
1e4884ec15 Adding VisIt like boundary condition handling 2019-07-15 09:10:22 -07:00
Abhishek Yenpure
c2fa0467c1 Adding support for evaluating 2D meshes.
- Adding support for evaluating 2D meshes using Rectilinear Grids
- Adding support for particle advection for 2D meshes
2019-07-11 10:45:30 -07:00
Dave Pugmire
489995782f Support for polylines. 2019-05-17 13:35:35 -04:00
Robert Maynard
d468784f00 Correct more host/device warnings from methods that should be host only 2019-04-29 13:15:42 -04:00
nadavi
fbcea82e78 conslidate the license statement 2019-04-17 10:57:13 -06:00
Robert Maynard
364bdce530 Correctly override the proper PrepareForExecution method 2019-04-05 17:14:46 -04:00
Robert Maynard
30aedf287f Refactor the design of CellLocator::PrepareForExecution
The try execute functor now doesn't need to be a member of the
class. This helps with the separation of concerns.
2019-04-04 13:17:49 -04:00
Robert Maynard
f1056affa7 Move select functions to host only to remove host/device suppressions
We previously had to mark the make_FunctionInterface function as
host/device as it could be used in either place. The ramifications
of this is that each time we launched a worklet any input parameter
had to either suppress cuda exceptions, or had to rely on the
DispatcherBase to suppress the warnings.

By making make_FunctionInterface only host callable ( as it is ),
we can remove all of our unneccesary suppression logic and better
expose real issues with code that is marked host/device but can't
be due to calling things such as std::abort
2019-04-03 12:48:33 -04:00
Allison Vacanti
2fa5b95e8d Fix warnings about __host__ / __device__ on defaulted methods.
CellInterpolationHelper.h(43): warning #2913-D: __device__ annotation is
ignored on a function("~CellInterpolationHelper") that is explicitly
defaulted on its first declaration.
2019-03-28 10:40:58 -04:00
ayenpure
5253172492 Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into temporal_particle_advect 2019-03-23 21:52:51 -07:00
ayenpure
cb8ea7dffd Adding missing APIs 2019-03-21 16:42:55 -07:00
Kenneth Moreland
0af017b038 Move virtual methods of other CellLocators to vtkm_cont
These changes caused some warnings in clang to show up based on virtual
methods in other cell locators. Hence, the rest of the cell locators
have also had some of their code moved to vtkm_cont.
2019-03-20 17:38:50 -06:00
ayenpure
a7510a3c05 Fixing out of seq init warning 2019-03-20 14:35:36 -07:00
ayenpure
f3f2469b87 Adding direct constructor and vtkm::Lerp 2019-03-20 14:07:20 -07:00
ayenpure
eca618e106 Fixing typos 2019-03-19 17:16:39 -07:00
ayenpure
be80dcc1ab Adding changes for temporal advection, and adding test 2019-03-19 17:11:36 -07:00
Dave Pugmire
de7d9cc27b fix compile errors, remove cudastack hacks. 2019-03-15 13:40:48 -04:00
Dave Pugmire
337247ad40 Add back BIH support. 2019-02-20 15:37:42 -05:00
Dave Pugmire
9101f690d8 fully rip out BIH for clean dashboards. 2019-02-20 09:18:46 -05:00
Dave Pugmire
e0ba2fc13a Remove BIH to test builds. 2019-02-19 16:31:41 -05:00
Dave Pugmire
9974cb064a Fix source file inclusion and copyright test failures. 2019-01-31 08:57:00 -05:00
Dave Pugmire
e631419d54 Fix export for BoundingIntervalHierarchy. Remove old grid evaluators. 2019-01-30 16:42:37 -05:00
Dave Pugmire
fc1bac3d70 add helper file. 2019-01-30 14:27:23 -05:00
Dave Pugmire
c6fb7b4341 move code to cxx file. 2019-01-30 14:05:50 -05:00
Dave Pugmire
8a1ac3a8d8 Add a single grid evaluator class for particle advection. 2019-01-30 13:47:27 -05:00