Commit Graph

17 Commits

Author SHA1 Message Date
Sujin Philip
1b74eb6073 Add all data members to vtkm::cont::Field constructors' initializer lists 2015-07-13 17:14:57 -04:00
Sujin Philip
c95f265ec0 Make vtkm::cont::Field class const correct 2015-07-13 16:20:39 -04:00
Sujin Philip
9f1f1727a4 Consturct Field from given DynamicArrayHandle
Add un-templated contructors to Field that construct a Field from the given DynamicArrayHandle, without knowing the underlying type.
2015-07-13 15:50:07 -04:00
Sujin Philip
9a20b9e4b7 Changes to follow VTK-m coding conventions 2015-07-13 15:43:48 -04:00
Robert Maynard
44deb3c870 Allow creation of vtkm::cont::Field without any data.
This is needed to allow Field's to be used as output.
2015-06-08 16:14:49 -04:00
Robert Maynard
342a9989a5 Correct double to float conversion warnings. 2015-06-04 09:06:47 -04:00
Robert Maynard
0a433303e6 Correct headers to have the new copyright. 2015-06-03 15:06:43 -04:00
Robert Maynard
25722fec2e Merge 'origin/datamodel-design' into datamodel-design
Conflicts:
	vtkm/cont/ExplicitConnectivity.h
	vtkm/cont/Field.h
2015-05-29 13:54:10 -04:00
Dave Pugmire
089864d6f3 minor fixes and code cleanup for merge to trunk.
added vtkm_cont_export to ExplicitConnectivity classes.
2015-05-29 12:48:31 -04:00
Robert Maynard
42dc45c8b7 Correct the include guards on vtkm::cont::Field. 2015-05-29 09:51:11 -04:00
Robert Maynard
b8ac6d6a81 Field now uses ArrayHandle.allocate + std::copy in CopyData.
The original implementation use the naive approach of the device adapter
to copy the memory to the dynamic array handle. The issue with this approach
is that it would do a upload to device, and than a copy on device. Instead
we should prefer a copy on host, and than an upload to device.
2015-05-29 09:48:48 -04:00
Dave Pugmire
e1bbda8cae Add PrintSummary() for DataSet. 2015-05-20 15:26:10 -04:00
Jeremy Meredith
4e36d05fac moderately substantial cleanup to fields. 2015-05-19 16:49:17 -04:00
Jeremy Meredith
68d2353e6c starting some field/dataset cleanup 2015-05-19 16:21:15 -04:00
Jeremy Meredith
ed5ddc849e completing field. 2015-05-11 16:15:58 -04:00
Jeremy Meredith
2e7e3fff64 using dynamic array handle in field. 2015-04-15 12:33:27 -04:00
Jeremy Meredith
6d7e2012ab encapsulating field for data set. 2015-02-10 12:36:10 -05:00