Skip to content

Commit

Permalink
Add comment for fe_interpolate output to user
Browse files Browse the repository at this point in the history
  • Loading branch information
hatch-tyler committed Nov 30, 2023
1 parent ec675b2 commit da59de1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pywfm/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11423,6 +11423,7 @@ def fe_interpolate(self, x, y):
# get node IDs
node_ids = self.get_node_ids()

# convert node index to node ID
nodes = node_ids[np.array(nodes_idx) - 1]

return element, nodes, np.array(coeff)
Expand Down

0 comments on commit da59de1

Please sign in to comment.