Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parallel boundary statistics in SaveScalars #462

Merged
merged 1 commit into from May 6, 2024
Merged

Conversation

fgillet
Copy link
Contributor

@fgillet fgillet commented Apr 16, 2024

Fix bug reported in http://elmerfem.org/forum/viewtopic.php?t=8290

Issue is that the solver % Matrix structure is related to the main solver variable; If statistics are done on a given component the number of DOFs is 1, and not the DOFs of the solver % variable.

Maybe we could still rely on the old test :
IF( Mesh % ParallelInfo % NeighbourList(j) % Neighbours(1) /= ParEnv % MyPE ) CYCLE to skip nodes that are ot owned by the current PE?

Fix bug reported in http://elmerfem.org/forum/viewtopic.php?t=8290

Issue is that the solver % Matrix structure is related to the main solver variable; If statistics are done on a given component  the number of DOFs is 1, and not the DOFs of the solver % variable.

Maybe we could still rely on the old test :
IF( Mesh % ParallelInfo % NeighbourList(j) % Neighbours(1) /= ParEnv % MyPE ) CYCLE to skip nodes that are ot owned by the current PE?
@raback raback merged commit f081163 into devel May 6, 2024
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.

None yet

2 participants