Haocheng LIU
5c797169ec
Use the strong typed enums for vtkm::cont::Field
...
Since Field association is used either when creating or working
with 'vtkm::cont::Field', it's put in the class itself.
2018-05-22 11:44:51 -04:00
Sujin Philip
0c1634bbc3
Fix a few more warnings
...
These warnings were detected on my local machine.
2018-05-09 17:49:45 -04:00
Robert Maynard
8808b41fbd
Merge branch 'master' into vtk-m-cmake_refactor
2018-03-29 22:51:26 -04:00
Robert Maynard
7c54125b66
Switch over from static const to static constexpr where possible.
2018-03-10 11:39:58 -05:00
Robert Maynard
ee69c7a4b7
Remove VS2013 workarounds from VTK-m.
2018-02-23 15:39:39 -05:00
Robert Maynard
e630ac5aa4
Merge branch 'master' into vtk-m-cmake_refactor
2018-02-23 14:52:00 -05:00
luz.paz
80b11afa24
Misc. typos
...
Found via `codespell -q 3` via downstream VTK
2018-01-30 06:51:47 -05:00
Robert Maynard
4f239ed3b9
Correct casting warnings found with new cmake code
2018-01-16 15:42:36 -05:00
Sujin Philip
70fcd1d1cc
Update CoordinateSystem to use the Virtual Array
2018-01-10 10:19:19 -05:00
Dave Pugmire
1d8165344f
Local var for the array portal instead of inside the for loop.
2017-12-19 11:48:38 -05:00
Robert Maynard
fe8b75f7bf
Consistenly use nullptr in vtk-m.
2017-09-25 09:57:23 -04:00
Robert Maynard
311618a15f
Enable highest level of warnings(W4) under MSVC
...
This will make VTK-m warning level match the one used by VTK. This commit
also resolves the first round of warnings that W4 exposes.
2017-09-22 13:04:28 -04:00
Robert Maynard
abf038b181
vtkm/io now prefers 'using' over typedef.
2017-09-21 13:54:36 -04:00
Kenneth Moreland
c3a3184d51
Update copyright for Sandia
...
Sandia National Laboratories recently changed management from the
Sandia Corporation to the National Technology & Engineering Solutions
of Sandia, LLC (NTESS). The copyright statements need to be updated
accordingly.
2017-09-20 15:33:44 -06:00
Dave Pugmire
1c0f721b96
Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into streamline_returntype
2017-08-28 15:27:04 -04:00
Dave Pugmire
3759887aed
Merge branch 'master' of gitlab.kitware.com:dpugmire/vtk-m
2017-07-28 10:07:37 -04:00
Dave Pugmire
6a480bad65
Fix compiler warnings. Add ArrayHandle method for getting cell id
2017-07-27 10:10:43 -04:00
ayenpure
f209d670be
Merge branch 'master' of https://gitlab.kitware.com/vtk/vtk-m into PICS
2017-07-07 15:01:24 -04:00
ayenpure
0495b2f224
Updated BOV reader and removed unnecessary files.
...
Removed the PICS.h file which was the initial file for the particle advection
filter. Updated the BOV reader for compile warning fixes and formatting issues.
2017-07-07 14:05:56 -04:00
ayenpure
b2765881df
removing most of the compile warnings, and adding CUDA and TBB tests for rectilinear grids
2017-07-07 13:46:45 -04:00
ayenpure
fc8d2a27b2
improved regular grid evaluator and added rectilinear grid evaluator
2017-07-07 13:46:45 -04:00
Dave Pugmire
e1ca111b9c
remove warning for now...
2017-07-07 13:45:52 -04:00
Dave Pugmire
b38ace16f9
temp fix for path issues in BOV
2017-07-07 13:45:52 -04:00
Dave Pugmire
9fb82e9832
Fix for BOV files and relative paths.
2017-07-07 13:45:52 -04:00
Dave Pugmire
d956f000e4
Enhanced PICS filter and added BOV reader.
...
Add a particle advection test program for doing studies using BOV files.
Added state recording particles
Cleanup in the filter.
2017-07-07 13:43:58 -04:00
Dave Pugmire
d04a1043ab
Add a BOV file reader.
2017-07-07 13:43:58 -04:00
Robert Maynard
5dd346007b
Respect VTK-m convention of parameters all or nothing on a line
...
clang-format BinPack settings have been disabled to make sure that the
VTK-m style guideline is obeyed.
2017-05-26 13:53:28 -04:00
Kitware Robot
4ade5f5770
clang-format: apply to the entire tree
2017-05-25 07:51:37 -04:00
Sujin Philip
3a7a62673c
Fix VTKRectilinearGridReader
...
Fix for cases when the coordinate types in the file do not match
vtkm::FloatDefault. This resulted in bad dynamic cast exceptions.
2017-05-24 11:47:46 -04:00
Kitware Robot
efbde1d54b
clang-format: sort include directives
2017-05-18 12:59:33 -04:00
David C. Lonie
4807b3c472
Silence warnings about unavoidable weak vtables.
...
- Exception classes cannot be exported due to MSVC's design decisions.
See http://stackoverflow.com/questions/24511376 . We must leave these
classes as header only and silence the warnings.
- TransferResource in BufferState.h must remain a header-only class since
there is no vtkm_interop library to compile the class into.
- The VTKDataSetReader hierarchy must similarly remain header-only since
there is no vtkm_io library.
- The OptionParser Action classes are part of a header-only utility and
cannot be easily compiled into a library.
-
2017-04-13 14:06:33 -04:00
Dave Pugmire
ca93142512
Merge branch 'master' of gitlab.kitware.com:dpugmire/vtk-m
2017-03-28 09:30:13 -04:00
Dave Pugmire
69f9125663
Experiment with speeding up the GetHexahedronClassification.
2017-03-28 09:28:03 -04:00
Sujin Philip
07cb111904
Fix more issues with the readers
...
1) Fix parsing issues related to visit style field data
2) Create appropriate dimension cellset for structured cell sets
2017-03-13 13:46:26 -04:00
Sujin Philip
6d6b599115
Support reading VTK files with empty title
2017-03-09 15:48:25 -05:00
Sujin Philip
a88807fd7e
Catch all exceptions by reference
2017-02-23 13:25:01 -05:00
David C. Lonie
f601e38ba8
Simplify exception hierarchy.
...
Remove the ErrorControl class such that all subclasses now inherit from
error. Renamed all exception classes via s/ErrorControl/Error/.
See issue #57 .
2017-02-07 15:42:38 -05:00
Robert Maynard
bd1ff7a5ac
Allow vtkm errors to properly work with shared libraries.
2017-01-16 09:17:38 -05:00
Kenneth Moreland
713cf4228a
Make it not possible to create a cell set without specifying num points
...
The CellSetExplicit and CellSetSingleType classes have an ivar that
marks the number of points. There were several instances of code
creating cell sets without specifying the number of points. This can be
very bad if subsequent code needs that information.
2017-01-12 13:02:10 -07:00
Dave Pugmire
cef40f853e
Fix compiler warnings.
2016-11-30 12:52:40 -05:00
Dave Pugmire
3046d45900
Fix some compiler warnings.
...
Add another rectilinear test.
2016-11-30 12:41:59 -05:00
Dave Pugmire
8383f21a81
Add VTK reader for rectilinear grids.
2016-11-30 10:39:32 -05:00
Kenneth Moreland
fdaccc22db
Remove exports for header-only functions/methods
...
Change the VTKM_CONT_EXPORT to VTKM_CONT. (Likewise for EXEC and
EXEC_CONT.) Remove the inline from these macros so that they can be
applied to everything, including implementations in a library.
Because inline is not declared in these modifies, you have to add the
keyword to functions and methods where the implementation is not inlined
in the class.
2016-11-15 22:22:13 -07:00
Matt Larsen
e15c858f8c
Merge topic 'fix/dataset_reader'
...
4f482474 Fixing error in data set reader that zeroed out cell asscociated fields in unstructured data sets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !587
2016-10-21 12:35:18 -04:00
Robert Maynard
5ec273aade
Remove all occurrences of boost::lexical_cast from vtk-m.
...
Replaced with the new std::stof/stoi functions.
2016-10-20 16:55:15 -04:00
Robert Maynard
37efba159c
CellSetSingleType now can be constructed with proper number of points
...
This is important so that when we execute a Cell->Point worklet we
don't have to compute the number of points from the connectivity array.
2016-10-20 08:33:16 -04:00
Matt Larsen
4f482474e9
Fixing error in data set reader that zeroed out cell asscociated fields in unstructured data sets
2016-10-19 15:00:39 -07:00
Matt Larsen
69d4ced2ac
Fixing typo
2016-09-21 14:14:27 -07:00
Matt Larsen
a564ca0f3e
Casting size_t
2016-09-21 14:14:26 -07:00
Matt Larsen
0015e3150b
Adding static cast to suppress warnings
2016-09-21 14:14:26 -07:00