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

Sort CombinerMG input mesh to avert error #29853

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

miaoyinb
Copy link
Contributor

closes #29843

@moosebuild
Copy link
Contributor

moosebuild commented Feb 10, 2025

Job Documentation, step Docs: sync website on 7b33fca wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild
Copy link
Contributor

Job Coverage, step Generate coverage on 7b33fca wanted to post the following:

Framework coverage

2de6bf #29853 7b33fc
Total Total +/- New
Rate 85.29% 85.29% -0.00% 80.95%
Hits 108454 108464 +10 17
Misses 18702 18705 +3 4

Diff coverage report

Full coverage report

Modules coverage

Coverage did not change

Full coverage reports

Reports

Warnings

  • framework new line coverage rate 80.95% is less than the suggested 90.0%

This comment will be updated on new commits.

@miaoyinb miaoyinb marked this pull request as ready for review February 11, 2025 15:55
@GiudGiud
Copy link
Contributor

I would rather not do that as the boundary & subdomain name /id deconfliction relies on the order of the input meshes (for its id assignments). The number of elements is not as good a criterion for ordering as the parameter order

the right fix is likely in LibMesh here

@miaoyinb
Copy link
Contributor Author

I agree that fixing it in libMesh makes more sense.

Comment on lines +141 to +143
// Sort the _meshes by the number of elements so that we start with the largest input mesh
// calling libMesh's copy_nodes_and_elements() in distributed mesh mode with the destination
// mesh with only one element and big source mesh leads to a crash
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, @lindsayad and @roystgnr

I also opened a libMesh issue for this libMesh/libmesh#4075

Copy link
Member

Choose a reason for hiding this comment

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

great, thanks @miaoyinb

@GiudGiud GiudGiud self-assigned this Feb 13, 2025
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.

Seg Fault in CombinerGenerator
4 participants