You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A field cannot be accessed with a slice. However, this could sometimes be convenient. Take the following code:
displacement=fe.Field(region, dim=3)
# this is the current way to obtain "u1"u1=displacement.values.ravel()[dof1]
# this should be possible...u1=displacement[dof1]
The text was updated successfully, but these errors were encountered:
A field cannot be accessed with a slice. However, this could sometimes be convenient. Take the following code:
The text was updated successfully, but these errors were encountered: