Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support conversion to single precision #92

Open
mclarsen opened this issue Feb 16, 2018 · 2 comments
Open

Support conversion to single precision #92

mclarsen opened this issue Feb 16, 2018 · 2 comments

Comments

@mclarsen
Copy link
Member

We should support this. VTKm might have evolved past the point where rectilinear grids must be float_default

@cyrush
Copy link
Member

cyrush commented Sep 9, 2018

precision convert could be a transform filter?

@mclarsen
Copy link
Member Author

mclarsen commented Sep 9, 2018

It has been a while since I wrote this, but what I think I was getting at was not to be locked into types. In the past we had to make the coordinate systems of rectilinear grids whatever the FLOAT_DEFAULT was or it would fail. Now that vtkm supports virtual coordinate systems, this is not a problem any more and we took out the static asserts.

That said, I would be generally useful to be able to convert double to float for saving space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants