-
Notifications
You must be signed in to change notification settings - Fork 8
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
Redo #143 #151
Redo #143 #151
Conversation
Co-authored-by: clemens.fricke <[email protected]>
Co-authored-by: clemens.fricke <[email protected]>
meshes[i][0].BC[ | ||
f"{meshes[j][0].whatami}-nodes" | ||
] = np.unique(meshes[j][0].elements) |
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.
Do you often have BC for edges or is this some sort of masks for faces/volumes?
meshes = [ | ||
[ | ||
meshio_mapping[key][0]( | ||
vertices=vertices, elements=meshio_mesh.cells_dict[key] | ||
), | ||
meshio_mapping[key][1], | ||
] | ||
for key in meshio_mapping.keys() | ||
if key in meshio_mesh.cells_dict.keys() | ||
] |
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.
meshes = [ | |
[ | |
meshio_mapping[key][0]( | |
vertices=vertices, elements=meshio_mesh.cells_dict[key] | |
), | |
meshio_mapping[key][1], | |
] | |
for key in meshio_mapping.keys() | |
if key in meshio_mesh.cells_dict.keys() | |
] | |
meshes = [ | |
[ | |
meshio_mapping[key][0]( | |
vertices=vertices, elements=meshio_mesh.cells_dict[key] | |
), | |
meshio_mapping[key][1], | |
] | |
for key in meshio_mapping.keys() | |
if key in meshio_mesh.cells_dict.keys() | |
] |
can you please just write a normal for loop here?
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.
this is not resolved
Co-authored-by: Jaewook Lee <[email protected]>
Co-authored-by: Jaewook Lee <[email protected]>
Except for the Boundary information, this PR is superseded by #158. |
This is a redo of PR #143 and alternative (?) to #146. I was asked to rebase and I hope this is what was the intention behind that request.