Skip to content
New issue

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

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

Already on GitHub? # to your account

Simplify Form constructor by adding a struct for integral data #3045

Merged
merged 38 commits into from
Feb 13, 2024

Conversation

jpdean
Copy link
Member

@jpdean jpdean commented Feb 7, 2024

The integrals argument in the Form constructor isn't very easy to read. I've added a struct to simplify things (this will also help make the code more readable when mixed-domain support is added), and I've removed a std::map. The struct is templated over container type to avoid some copies, but maybe this isn't the best solution.

@jpdean jpdean requested a review from garth-wells February 7, 2024 17:32
@garth-wells
Copy link
Member

I'm not 100% sure on the syntax suggestions with auto. It would though help with inlining kernels.

@garth-wells garth-wells added this pull request to the merge queue Feb 13, 2024
Merged via the queue into main with commit 4f57596 Feb 13, 2024
19 checks passed
@garth-wells garth-wells deleted the jpdean/simplify_form_ctor branch February 13, 2024 17:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants