Skip to content

Conversation

@leo-collins
Copy link
Contributor

Allows assembly of interpolation matrices between mixed spaces over different domains.

Change default sub_mat_type for nested MixedInterpolator from 'baij' to 'aij' for greater compatibility.

Need to run through and make sure we collapse to unique mesh as
appropriate
Copy link
Member

@dham dham left a comment

Choose a reason for hiding this comment

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

Apart from the style issue this looks good.

def __init__(self, expr: Interpolate):
super().__init__(expr)
self.target_mesh = self.target_mesh.unique()
self.source_mesh = self.source_mesh.unique()
Copy link
Member

Choose a reason for hiding this comment

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

rather than rewriting source_mesh and target_mesh, just call .unique() when they are used. This is likely to be less confusing.

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