Skip to content

Conversation

pbrubeck
Copy link
Contributor

@pbrubeck pbrubeck commented Apr 9, 2025

Description

Some physically-mapped elements (Argyris, HCT) have vertex DOFs scaled by the local cell diameter to prevent poor conditioning, and we store this as Mesh.cell_sizes (an attribute that should arguably become private). We obtain the scaling factor at vertices by projecting the CellDiameter into P1.

However CellDiameter is not implemented on high order meshes (it should be very difficult to compute), but in principle we just need any O(h) scaling. This PR circumvents the issue by always computing the CellDiameter on an affine mesh obtained from the vertices of the high-order mesh.

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.

1 participant