-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
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
feat: Retrieve mesh data in solution mode #3618
base: main
Are you sure you want to change the base?
Conversation
mkundu1
commented
Jan 6, 2025
•
edited
Loading
edited
e7a9d1d
to
3907f75
Compare
z: float | ||
|
||
|
||
class CellElementType(Enum): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shall have FaceElementType when we support that in future.
|
||
_id: int | ||
element_type: CellElementType | ||
node_indices: list[int] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Connectivity for polyhedral cells is not yet properly supported. This class will be bit more complex when we support that in future.
) | ||
for element in elements | ||
] | ||
elements = sorted(elements, key=lambda x: x._id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: It would be more performant to do the 0-based indexing and sorting in the server-side. Maybe we can eliminate ids at the protobuf layer also.
I have noted down the future tasks for this feature: #3585 (comment) |