Skip to content

Use is_effectively_ghosted() in PetscVector#4430

Merged
roystgnr merged 2 commits intolibMesh:develfrom
roystgnr:petsc_serial_ghosted
Apr 7, 2026
Merged

Use is_effectively_ghosted() in PetscVector#4430
roystgnr merged 2 commits intolibMesh:develfrom
roystgnr:petsc_serial_ghosted

Conversation

@roystgnr
Copy link
Copy Markdown
Member

@roystgnr roystgnr commented Apr 6, 2026

Now that we're storing general metadata for a constructed PetscVector in type() but sometimes doing something different with our specific Vec object for efficiency, we need to have our Vec operations match the Vec, not the metadata.

This fixes a MOOSE regression for me, thanks to @loganharbour for pointing out the CI failure.

roystgnr added 2 commits April 6, 2026 16:13
I only need this for PetscVector, for several layers of reasons at this
point, but I suppose it is the sort of thing that could be useful in
general and from user code, so we'll make it public and leave it in the
base class.
Now that we're storing general metadata for a constructed PetscVector in
type() but sometimes doing something different with our specific Vec
object for efficiency, we need to have our Vec operations match the Vec,
not the metadata.

This fixes a MOOSE regression for me.
@moosebuild
Copy link
Copy Markdown

Job Coverage, step Generate coverage on 16c3fb3 wanted to post the following:

Coverage

62e5b3 #4430 16c3fb
Total Total +/- New
Rate 65.47% 65.47% -0.00% 100.00%
Hits 78226 78226 - 19
Misses 41251 41253 +2 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

@roystgnr roystgnr merged commit 3ca87a2 into libMesh:devel Apr 7, 2026
25 checks passed
@roystgnr roystgnr deleted the petsc_serial_ghosted branch April 7, 2026 15:28
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.

2 participants