Skip to content

Units-model rotated solve with cdim 3 fails in _rigid_rotation_modes (UnitAwareArray coordinates) #877

Open

Description

@lmoresi

rotated_bc._rigid_rotation_modes builds the rigid-rotation modes from solver.Unknowns.u.coords, which are dimensional in a units model; in three dimensions np.zeros_like on that UnitAwareArray raises TypeError. Reproduced 2026-10-28 with a Maxwell ThinSheet on a SphericalManifold in a units model (reference length 1000 km, viscosity 1e21 Pa s, time 1 Myr), first solve; the code is on development since July, so a free-slip spherical shell in a units model should fail the same way. Behind it, on feature/fault-split-multigrid, ThinSheet._keep_history_tangent writes a plain array back through .array to a history store that carries units. Build the modes from non-dimensional coordinates.

Activity

  1. added
    bug
    on Oct 28, 2026
  2. added a commit that references this issue on Nov 6, 2026
  3. added
    fixed-in-PR
    on Nov 6, 2026
  4. added 2 commits that reference this issue on Nov 6, 2026
  5. added
    fixed-in-development
    and removed
    fixed-in-PR
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfixed-in-development

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions