-
Notifications
You must be signed in to change notification settings - Fork 7
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
DO NOT SQUASH Absorb FInAT and GEM #104
Conversation
These will be used for shape-based operations on tensors to allow compilation of Slate via GEM. Additionally, expose FlexiblyIndexed in the public API.
Fixes #166.
Will be used in new pointwise expressions compiler. This avoids a case where an indexsum accumulates directly into an output variable. This is only safe if the output tensor is zero on entry (which need not be the case for pointwise expressions).
…cumulate wence/feature/return accumulate
… decompose_variable_view, so that this can be reused for generating Slate blocks.
Allow for ComponentTensor(NotAFlexiblyIndexed())
Catches a case where someone built an enriched element with only a single subelement, which subsequently dies in tree_map(max, ...) because that implicitly relies on there being at least two arguments (such that mapping max works). Fixes firedrakeproject/firedrake#1762.
Co-authored-by: Pablo Brubeck <[email protected]>
hex: enable interior facet integration
Co-authored-by: Pablo Brubeck <[email protected]>
Co-authored-by: Francis Aznaran <[email protected]>
67fa35e
to
7c725d8
Compare
This looks great! Only one request: Could CI test FIAT and FInAT separately? |
It could, but why is that important to have? Then we need to duplicate various bits of installation logic. The CI isn't exactly slow. |
I am mostly concerned about the ordering of the tests. Right now, FInAT is tested before FIAT. Since FInAT depends on both GEM and FIAT, could we not have it at the end? |
No problem. I will change it. |
18e30f3
to
39247cb
Compare
You can always add an |
TODOs
Goes with firedrakeproject/firedrake#3904