Skip to content

Commit 9178d1e

Browse files
author
Lachlan Grose
committed
adding n_elements to surfe
1 parent 627ded8 commit 9178d1e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

LoopStructural/interpolators/_surfe_wrapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,6 @@ def evaluate_gradient(self, evaluation_points):
205205
@property
206206
def nx(self):
207207
return self.get_data_locations().shape[0]
208+
@property
209+
def n_elements(self)->int:
210+
return self.get_data_locations().shape[0]

0 commit comments

Comments
 (0)