Skip to content

Conversation

@leo-collins
Copy link
Contributor

@leo-collins leo-collins commented Dec 12, 2025

Allow assembly of matfree interpolation operators by passing mat_type="matfree".

Also changes the interfaces to the matrix classes and ImplicitMatrixContext to make them simpler.

@leo-collins leo-collins force-pushed the leo/assemble-matfree-interpolate branch from 57e5d2d to 5019974 Compare December 12, 2025 14:46
@leo-collins leo-collins force-pushed the leo/assemble-matfree-interpolate branch from 75de8e2 to 5464cce Compare December 19, 2025 15:30
@leo-collins leo-collins marked this pull request as ready for review December 19, 2025 15:40
Copy link
Contributor

@connorjward connorjward left a comment

Choose a reason for hiding this comment

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

I'm only reviewing this from a high level, but this seems pretty much fine.

@leo-collins
Copy link
Contributor Author

@connorjward Thanks for the review. I'm at a workshop this week and then on holiday again next week so I'll take a look after these. Thanks!

@leo-collins leo-collins force-pushed the leo/assemble-matfree-interpolate branch from d25e1f2 to 9a9af0f Compare January 19, 2026 18:10
The underlying matrix object. Either a PyOP2 Mat or a PETSc Mat.
bcs
An iterable of boundary conditions to apply to this :class:`Matrix`.
May be `None` if there are no boundary conditions to apply.
Copy link
Contributor

Choose a reason for hiding this comment

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

Docstring out of date

@leo-collins leo-collins force-pushed the leo/assemble-matfree-interpolate branch from 63bd9e1 to 0c16219 Compare February 3, 2026 12:01
@@ -138,6 +138,7 @@
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

The underlying matrix object. Either a PyOP2 Mat or a PETSc Mat.
bcs
An iterable of boundary conditions to apply to this :class:`Matrix`.
May be `None` if there are no boundary conditions to apply.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
May be `None` if there are no boundary conditions to apply.

@leo-collins leo-collins force-pushed the leo/assemble-matfree-interpolate branch from 41816d6 to 3336b12 Compare February 9, 2026 16:35
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.

4 participants