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

Write the Basix hash into generated code (or 0 if the element is not plain C++ Basix element) #688

Merged
merged 13 commits into from
May 2, 2024

Conversation

mscroggs
Copy link
Member

@mscroggs mscroggs commented Apr 29, 2024

Required for FEniCS/dolfinx#3169.

DOLFINx PR that follows on from this: FEniCS/dolfinx#3186

ffcx/codegeneration/ufcx.h Outdated Show resolved Hide resolved
Copy link
Member

@garth-wells garth-wells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add _hash to the variable names in ufcx.h?

Copy link
Member

@garth-wells garth-wells left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is u the right suffix?

Looks like it's all rather messy in C, https://en.cppreference.com/w/c/language/integer_constant.

@mscroggs mscroggs added this pull request to the merge queue May 2, 2024
Merged via the queue into main with commit 32320ef May 2, 2024
9 checks passed
@mscroggs mscroggs deleted the mscroggs/basix-hash branch May 2, 2024 15:27
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

Successfully merging this pull request may close these issues.

2 participants