meshmode
meshmode copied to clipboard
Should store per-interpolation-batch surjectivity information
In the (relatively common) surjective case, we could skip emitting these global barriers:
https://github.com/inducer/meshmode/blob/cdcc7f5e4ae883a31ac9da3629b0acd2289e2a34/meshmode/discretization/connection/direct.py#L310-L311)
https://github.com/inducer/meshmode/blob/cdcc7f5e4ae883a31ac9da3629b0acd2289e2a34/meshmode/discretization/connection/direct.py#L342-L343
I noticed this while reviewing #192.
cc @thomasgibson