Skip to content

Conversation

@michalhabera
Copy link
Contributor

PR #3937 missed the case of subspaces -- there is a third DirichletBC constructor that does not unroll and multiply with blocksize, as the incoming dofs must be already unrolled.

I've reverted changes in num_owned, but compute _owned_indices0 from unrolled dofs always, later in the constructor.

Copy link
Member

@jorgensd jorgensd left a comment

Choose a reason for hiding this comment

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

Looks good to me, but let's add test to check the second constructor that I missed in the first round?

@michalhabera michalhabera added this pull request to the merge queue Sep 28, 2025
Merged via the queue into main with commit 7881459 Sep 28, 2025
20 checks passed
@michalhabera michalhabera deleted the michal/fix-bc-dof-indices branch September 28, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants