Skip to content

Enable V.sub(i) for blocked real-spaces#4260

Open
jorgensd wants to merge 8 commits into
mainfrom
dokken/blocked_real_space
Open

Enable V.sub(i) for blocked real-spaces#4260
jorgensd wants to merge 8 commits into
mainfrom
dokken/blocked_real_space

Conversation

@jorgensd

@jorgensd jorgensd commented Jul 2, 2026

Copy link
Copy Markdown
Member

Resolve #4259.
Tensor spaces, e.g. (2, 3), (3,4,2, ...) are flattened so that one can only do V.sub(i) not V.sub(i).sub(j).

Tensor spaces, e.g. (2, 3), (3,4,2, ...) are flattened so that one can only do V.sub(i) not V.sub(i).sub(j).
@jorgensd jorgensd requested review from chrisrichardson, jhale and schnellerhase and removed request for jhale July 2, 2026 14:16
Comment thread cpp/dolfinx/fem/dofmapbuilder.cpp
Comment thread cpp/dolfinx/fem/dofmapbuilder.cpp Outdated
Co-authored-by: Paul T. Kühner <56360279+schnellerhase@users.noreply.github.com>
Comment thread cpp/dolfinx/fem/dofmapbuilder.cpp Outdated
jorgensd and others added 2 commits July 2, 2026 16:54
Co-authored-by: Jørgen Schartum Dokken <dokken92@gmail.com>
Comment thread cpp/dolfinx/fem/dofmapbuilder.cpp Outdated
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.

[BUG]: RuntimeError: Invalid component when accessing subspace of a Vector Real Element

3 participants