You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code generated by FFCx for a form should have a bool (called something like needs_facet_permutations) that indicates whether or not this informations is actually needed in the kernel. I think it is only needed when a term like a["-"] * b["+"] is in the form.
The text was updated successfully, but these errors were encountered:
Currently, for all facet integrals, DOLFINx creates the entity permutation info and passes it into the kernel: see eg https://github.com/FEniCS/dolfinx/blob/3d11b33af6a41ebc596650b78ef347932b2b79c0/cpp/dolfinx/fem/assemble_matrix_impl.h#L474. Inside
create_entity_permutations
, all the entities are created (https://github.com/FEniCS/dolfinx/blob/1b0e5ed457fc57735c896e1732e231e3b8cdb47c/cpp/dolfinx/mesh/Topology.cpp#L246-L247). These entities can take up quite a bit of memory and aren't always needed.The code generated by FFCx for a form should have a bool (called something like
needs_facet_permutations
) that indicates whether or not this informations is actually needed in the kernel. I think it is only needed when a term likea["-"] * b["+"]
is in the form.The text was updated successfully, but these errors were encountered: