Skip to content

TRI7 center node adjustment and TRI6/7 degeneracy checks after midpoint relocation#4481

Open
miaoyinb wants to merge 3 commits into
libMesh:develfrom
miaoyinb:QuadraticElemImprovement
Open

TRI7 center node adjustment and TRI6/7 degeneracy checks after midpoint relocation#4481
miaoyinb wants to merge 3 commits into
libMesh:develfrom
miaoyinb:QuadraticElemImprovement

Conversation

@miaoyinb

Copy link
Copy Markdown
Contributor

closes #4480

@miaoyinb

Copy link
Copy Markdown
Contributor Author

As this PR moves TRI7 center node, MOOSE's meshgenerators/xy_delaunay_generator.xydelaunay/quadratic_tri7 test needs to be regolded.

@moosebuild

moosebuild commented Jun 12, 2026

Copy link
Copy Markdown

Job Coverage, step Generate coverage on 0c245e1 wanted to post the following:

Coverage

304e97 #4481 0c245e
Total Total +/- New
Rate 65.61% 65.62% +0.02% 100.00%
Hits 78653 78711 +58 58
Misses 41232 41232 - 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

@roystgnr

Copy link
Copy Markdown
Member

As a general rule "midpoint goes at the centroid" isn't always right, since you can do some clever things with boundary layers by using slightly-off-center higher order nodes in the grading, but in this context I think this is exactly the right thing to do.

If you don't want to create a big "have to get the submodule updated to regold" vs "can't merge the PR without breaking a ton of recipes" chicken-and-egg problem, the general way to do that is to add new behavior as an option before we change behavior by default. Default the new behavior to "off", then after MOOSE is updated turn it on there and regold, then change the default to "on".

@miaoyinb

Copy link
Copy Markdown
Contributor Author

Good point, I will make it optional.

@moosebuild

Copy link
Copy Markdown

Job Distributed make check sweep (odd) on 4659afd : invalidated by @miaoyinb

@miaoyinb

Copy link
Copy Markdown
Contributor Author

Added the option and made the original approach default.

Are the two failed tests related? Thanks @roystgnr

@miaoyinb miaoyinb marked this pull request as ready for review June 22, 2026 15:31
@roystgnr

roystgnr commented Jul 2, 2026

Copy link
Copy Markdown
Member

Sorry, I've been out on vacation for a couple weeks.

The failed tests are definitely related. I can reproduce the failures with a configure --enable-distmesh build of libMesh, with LIBMESH_RUN='mpirun -np 3' LIBMESH_OPTIONS='--re Poly2TriEdge' make -j 65 check -C tests/ (substitute your own -j argument there). I haven't dug more deeply than identifying the failing test, but it looks like rank 0 thinks it's passing but one of the other two ranks is returning a non-0 exit code, probably failing a CppUnit assertion.

@roystgnr roystgnr closed this Jul 2, 2026
@roystgnr roystgnr reopened this Jul 2, 2026
@miaoyinb

miaoyinb commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Sorry, I've been out on vacation for a couple weeks.

The failed tests are definitely related. I can reproduce the failures with a configure --enable-distmesh build of libMesh, with LIBMESH_RUN='mpirun -np 3' LIBMESH_OPTIONS='--re Poly2TriEdge' make -j 65 check -C tests/ (substitute your own -j argument there). I haven't dug more deeply than identifying the failing test, but it looks like rank 0 thinks it's passing but one of the other two ranks is returning a non-0 exit code, probably failing a CppUnit assertion.

Thanks, let me look into this.

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.

Quadratic Triangulation Degeneracy After Midpoint Relocation

3 participants