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

Template mesh::Geometry over scalar type #2457

Merged
merged 29 commits into from
Feb 22, 2023
Merged

Conversation

garth-wells
Copy link
Member

This is a first attempt at dealing with compatibility between mesh geometry scalar types and form type by templating mesh::Geometry over the scalar type. To get the performance benefits of reduced precision, we need the scalar types in a form to match, otherwise expensive casting is done behind the scenes.

No guarantee that this is right approach, and if it is there is more work to handle the sharing of data. Putting it out there are this stage for comment. @IgorBaratta @jhale @chrisrichardson?

@garth-wells garth-wells added the enhancement New feature or request label Nov 27, 2022
@chrisrichardson
Copy link
Contributor

I'm wondering if there is a way to do this without templating Geometry everywhere, if it is only really needed in the assembler.

@garth-wells
Copy link
Member Author

@chrisrichardson suggestions?

@garth-wells
Copy link
Member Author

@IgorBaratta?

@garth-wells garth-wells marked this pull request as ready for review January 27, 2023 09:40
@garth-wells
Copy link
Member Author

@jhale, @chrisrichardson, @IgorBaratta any further views? I'm coming around to this being the right approach.

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

Successfully merging this pull request may close these issues.

None yet

3 participants