We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
map_to_points
segments
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
ValueError: cannot assign slice from input of different size
The same error occurs for example for (DP,0), (RWG,0).
(DP,0)
(RWG,0)
The text was updated successfully, but these errors were encountered:
Sounds to be related to:
bempp-cl/bempp/api/fmm/helpers.py
Line 466 in c673ea8
When using segments, elem is no longer equal to 0,1,2,3 ....
elem
0,1,2,3 ...
Sorry, something went wrong.
I started working on it: #221. It resolves the error, but it doesn’t seem sufficient to have the FMM work properly for spaces with segments.
No branches or pull requests
While working on #218, I noticed that
map_to_points
exhibits an issue with restrictions on segments (multishape):This script gives:
ValueError: cannot assign slice from input of different size
The same error occurs for example for
(DP,0)
,(RWG,0)
.The text was updated successfully, but these errors were encountered: