Skip to content
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ansys/fluent/core/filereader/case_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def get_connectivity(self, surface_id) -> np.array:
key = np.unique(key)
value = np.arange(0, len(key))
replace = np.array([key, value])
mask = np.in1d(nodes, key)
mask = np.isin(nodes, key)
nodes[mask] = replace[1, np.searchsorted(replace[0, :], nodes[mask])]
obj = np.cumsum(nnodes)
obj = np.insert(obj, 0, 0)
Expand Down
Loading