Skip to content

Conversation

@pbrubeck
Copy link
Contributor

@pbrubeck pbrubeck commented Oct 15, 2025

Description

Ensures that the preprocessed Interpolate used for codegeneration has both arguments in the reference space.

Currently there is no analog of ReferenceValue for BaseForm, so we construct dummy symbols on the reference space.

@pbrubeck pbrubeck requested a review from leo-collins October 15, 2025 11:21

# Reconstructed Interpolate with mapped operand
# Reconstructed Interpolate in the reference space
expression = ufl.Interpolate(operand, v)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this now become a Firedrake Interpolate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In theory yes, but there's no need at this depth of the codegen

test -> trial

fix hypre-ads
cofunction docstring
typing
commit 3aeb517
Author: Pablo Brubeck <brubeck@protonmail.com>
Date:   Wed Oct 1 17:17:44 2025 +0100

    Test the MixedInterpolator 0-form across different meshes

commit fee366a
Author: Pablo Brubeck <brubeck@protonmail.com>
Date:   Wed Oct 1 16:56:56 2025 +0100

    Implement missing functionality in CrossMeshInterpolator

commit e400fc9
Author: Pablo Brubeck <brubeck@protonmail.com>
Date:   Wed Oct 1 15:16:39 2025 +0100

    cleanup

commit 997e638
Author: Pablo Brubeck <brubeck@protonmail.com>
Date:   Wed Oct 1 12:57:59 2025 +0100

    cleanup

commit f1080ea
Author: Pablo Brubeck <brubeck@protonmail.com>
Date:   Wed Oct 1 09:11:07 2025 +0100

    Interpolate: support fieldsplit

commit 76ec367
Author: Pablo Brubeck <brubeck@protonmail.com>
Date:   Wed Oct 1 07:26:07 2025 +0100

    Fixup

commit 3bd935e
Author: Pablo Brubeck <brubeck@protonmail.com>
Date:   Wed Oct 1 00:23:21 2025 +0100

    MixedInterpolator
fix options

fixes
@leo-collins leo-collins force-pushed the leo/refactor_interpolate branch from 6d080b1 to 0934e61 Compare October 16, 2025 12:32
@leo-collins leo-collins force-pushed the leo/refactor_interpolate branch from cc0276b to 15bdd53 Compare October 16, 2025 14:57
@pbrubeck pbrubeck force-pushed the pbrubeck/fix/interp-reference-value branch from 0c2a7a1 to d54994e Compare October 16, 2025 15:14
@pbrubeck pbrubeck requested a review from leo-collins October 16, 2025 15:15
@pbrubeck
Copy link
Contributor Author

@leo-collins should I merge this to your branch?

@leo-collins
Copy link
Contributor

#4595 is now passing the tests. Can you rebase this to check if it is passing

@leo-collins leo-collins force-pushed the leo/refactor_interpolate branch 4 times, most recently from a964f80 to 514f24d Compare October 31, 2025 11:50
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.

3 participants