Skip to content

Respect Abaqus node and element numbers a little#3640

Merged
roystgnr merged 1 commit intolibMesh:develfrom
roystgnr:abaqus_numbering
Sep 26, 2023
Merged

Respect Abaqus node and element numbers a little#3640
roystgnr merged 1 commit intolibMesh:develfrom
roystgnr:abaqus_numbering

Conversation

@roystgnr
Copy link
Copy Markdown
Member

We're not going to respect them enough to not convert from 1-based to 0-based, of course[0], but we can at least stick to just that conversion and not give them whatever (sequential for nodes and replicated meshes, sequential with spacing for distributed meshes) ids we choose instead.

[0] Dijkstra, E.W. "Why numbering should start at zero"

This is my crack at making life easier for @Traiwit in idaholab/moose#25440 ... who I'm really hoping can help test it, because it looks like we have zero test coverage of AbaqusIO right now?

@roystgnr
Copy link
Copy Markdown
Member Author

it looks like we have zero test coverage of AbaqusIO right now?

Well at least this wasn't true.

We're not going to respect them enough to not convert from 1-based to
0-based, of course[0], but we can at least stick to just that conversion
and not give them whatever (sequential for nodes and replicated meshes,
sequential with spacing for distributed meshes) ids we choose instead.

[0] Dijkstra, E.W. "Why numbering should start at zero"
@roystgnr
Copy link
Copy Markdown
Member Author

I'd used node_ptr where I meant query_node_ptr; fixing that the tests pass for me. Fingers crossed for CI.

@moosebuild
Copy link
Copy Markdown

Job Coverage on 1bcd21e wanted to post the following:

Coverage

4b0b9e #3640 1bcd21
Total Total +/- New
Rate 61.92% 61.91% -0.01% 0.00%
Hits 66897 66895 -2 0
Misses 41148 41157 +9 17

Diff coverage report

Full coverage report

Warnings

  • New new line coverage rate 0.00% is less than the suggested 90.0%

This comment will be updated on new commits.

@roystgnr
Copy link
Copy Markdown
Member Author

Going to merge this, lest I forget to do so before the next submodule update. It's at least an improvement in the few tests we do have; if we hit regressions elsewhere we can fix them then.

@roystgnr roystgnr merged commit 9465a4f into libMesh:devel Sep 26, 2023
@roystgnr roystgnr deleted the abaqus_numbering branch September 26, 2023 17:31
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