mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
rename vtkm::Massless to Particle
This commit is contained in:
parent
596ec20e90
commit
d64deb00f2
@ -51,10 +51,10 @@ void BenchParticleAdvection(::benchmark::State& state)
|
||||
vtkm::cont::DataSet ds = dataSetBuilder.Create(dims);
|
||||
ds.AddPointField("vector", vectorField);
|
||||
|
||||
vtkm::cont::ArrayHandle<vtkm::Massless> seedArray =
|
||||
vtkm::cont::make_ArrayHandle({ vtkm::Massless(vtkm::Vec3f(.2f, 1.0f, .2f), 0),
|
||||
vtkm::Massless(vtkm::Vec3f(.2f, 2.0f, .2f), 1),
|
||||
vtkm::Massless(vtkm::Vec3f(.2f, 3.0f, .2f), 2) });
|
||||
vtkm::cont::ArrayHandle<vtkm::Particle> seedArray =
|
||||
vtkm::cont::make_ArrayHandle({ vtkm::Particle(vtkm::Vec3f(.2f, 1.0f, .2f), 0),
|
||||
vtkm::Particle(vtkm::Vec3f(.2f, 2.0f, .2f), 1),
|
||||
vtkm::Particle(vtkm::Vec3f(.2f, 3.0f, .2f), 2) });
|
||||
|
||||
vtkm::filter::ParticleAdvection particleAdvection;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user