Commit Graph

42 Commits

Author SHA1 Message Date
Dave Pugmire
86fba68461 Create typedefs for existing filters with same name. 2021-11-22 22:20:38 -05:00
Dave Pugmire
d71e9c015b template advection filters with particle type 2021-11-22 15:10:08 -05:00
Dave Pugmire
7fea9a75db undo some errant changes. 2021-11-22 13:56:08 -05:00
Dave Pugmire
2956713174 Filters for charged particle advection. 2021-11-11 09:21:15 -05:00
Dave Pugmire
f878ba8dab Move the check for 0 inputs. With mpi, 0 input is ok for a rank. 2021-06-23 13:53:56 -04:00
Dave Pugmire
90bed8d0cf refactor particle adv-based filters and make a temporal particle adv filter. 2021-06-11 08:00:25 -04:00
dpugmire
aa713b565f Support for dist-memory pathlines. 2021-02-05 09:40:50 -05:00
Dave Pugmire
79d840a24f refactor classes. Put in different files. 2020-11-19 13:52:01 -05:00
Dave Pugmire
7a4b2ff0c5 Threaded algorithms for particle advection 2020-11-18 17:10:28 -05:00
Dave Pugmire
855e973a20 Rename the Particle classes. 2020-08-26 08:59:51 -04:00
dpugmire
4722dc67b7 Code review cleanup. 2020-08-17 16:32:27 -04:00
dpugmire
9d31d587b3 Add streamline/particle advection filters. 2020-08-13 10:01:52 -04:00
dpugmire
31c97bed89 Generalize fields for particle advection 2020-07-20 21:15:46 -04:00
Kenneth Moreland
3c4e8a2ea5 Convert filters to use precompiled field map functions where applicable 2020-05-21 08:34:32 -06:00
Dave Pugmire
85fc73fc4a Updates for streamline/pathline filter. 2019-12-11 10:01:47 -07:00
dpugmire
8054dfdafb Fixes for streamlines. 2019-12-05 15:46:41 -05:00
Robert Maynard
0e9253289f VTK-m filters now have a consistent set of header guards 2019-10-08 10:39:59 -04:00
Dave Pugmire
dff3845725 Use vtkm::FloatDefault for particle advection code. 2019-09-05 16:57:37 -04:00
Robert Maynard
89fa2c0293 Remove multiple vtkm::cont::CellSet from vtkm::cont::DataSet
By removing the ability to have multiple CellSets in a DataSet
we can simplify the following things:

  - Cell Fields now don't require a CellSet name when being constructed
  - Filters don't need to manage what the active cellset is
2019-09-02 09:04:51 -04:00
Dave Pugmire
326c04f469 Rework internals of stream surface filter. 2019-08-22 10:08:50 -04: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
nadavi
fbcea82e78 conslidate the license statement 2019-04-17 10:57:13 -06:00
Dave Pugmire
04487965e1 Create a pathline filter. 2019-03-25 16:10:58 -04:00
Dave Pugmire
5f453ca504 fix compiler warnings. 2019-01-31 09:41:29 -05:00
Dave Pugmire
8a1ac3a8d8 Add a single grid evaluator class for particle advection. 2019-01-30 13:47:27 -05:00
Kenneth Moreland
bddad9b386 Remove TryExecute from filters
Now that the dispatcher does its own TryExecute, filters do not need to
do that. This change requires all worklets called by filters to be able
to execute without knowing the device a priori.
2018-10-16 15:59:53 -06:00
Kenneth Moreland
d49c29cef9 Make particle advection integrators and evaluators ExecObject
By making these helper classes ExecObject, they no longer need to have a
device to be constructed. This is important for future plans to make the
filters not determine a device adapter now that dispatchers no longer
require a device adapter.
2018-10-16 09:53:18 -06:00
Kenneth Moreland
a2602183a4 Make integrators have a virtual superclass
This will make it easier to support integrators as an ExecObject.

One side effect is that the integrators and partical advection
are not templated by the type of the field.
Regardless of the type of the field, there is probably little reason to
compute particle advection with less than 64 bit floats to account for
accumulated errors. This will make it easier to use these classes.
2018-10-16 09:53:18 -06:00
Robert Maynard
d0fc332cc0 Correct conversion warnings in the streamline filter.
The strealine filter was incorrectly converting all inputs to
vtkm::FloatDefault which can cause a warning when FloatDefault is double
2018-05-08 13:25:49 -04:00
Utkarsh Ayachit
3da8b5be66 Remove vtkm::filter::Result
This commit removes `vtkm::filter::Result`. All methods that used
`vtkm::filter::Result` simply change to use `vtkm::cont::Dataset` instead.
The utility API on `Result` that was used to add fields to the resulting
dataset is now available via `vtkm::filter::internal::CreateResult`.
2018-04-03 16:55:03 -04:00
Utkarsh Ayachit
86bd81de3f streamline: handle different storage types for fields.
this is required now that, in theory, streaminlines filter can be
executed treating the coordinate system as the vector field.
2018-03-07 13:42:23 -05:00
Utkarsh Ayachit
de4e840eae enhance filter API
Filters now support executing on a dataset to produce a result dataset
with automatic mapping of fields to the output dataset. Fields to map
can be selected using `vtkm::filter::FieldSelection` class, which provides
constructors to map all or no fields, along with a selection of fields.

This updates all tests to use the new filter API.
2018-03-07 13:42:23 -05:00
Robert Maynard
182f4707e7 vtkm prefers 'using' over typedef. 2018-02-23 10:47:20 -05:00
Dave Pugmire
3f4a31f43a copyright changes. 2017-09-28 07:23:43 -04:00
Dave Pugmire
4b74c4d506 Fix copyright statement. 2017-09-28 07:09:05 -04:00
Dave Pugmire
78d7f5ba72 Fix return value to reflect that no mapping was done. 2017-09-27 21:38:38 -04:00
Dave Pugmire
33e25c7aa9 Ken inspired fix for compiler errors. 2017-09-27 21:38:38 -04:00
Dave Pugmire
0a0ee460d3 Formating. 2017-09-27 21:38:38 -04:00
Dave Pugmire
ca57343a9b compiler warnings. 2017-09-27 21:38:37 -04:00
Dave Pugmire
99672d75a2 format warnings. 2017-09-27 21:38:37 -04:00
Dave Pugmire
ee9c158449 Compiler errors and warnings. 2017-09-27 21:38:37 -04:00
Dave Pugmire
e7fac3d873 Wrap the streamline functionality with a filter. 2017-09-27 21:38:37 -04:00