Skip to content

map_to_points for segments #219

Description

@pescap

While working on #218, I noticed that map_to_points exhibits an issue with restrictions on segments (multishape):

import bempp.api
grid = bempp.api.shapes.multitrace_cube(h=1)
segments = [1, 2, 3, 4, 5, 6]

P1 = bempp.api.function_space(grid, "P", 1, segments=segments)
P1.map_to_points()

This script gives: ValueError: cannot assign slice from input of different size

The same error occurs for example for (DP,0), (RWG,0).

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions