Skip to content

Commit f04a43f

Browse files
committed
(FEATURE) get data locations for interpolator
1 parent 7f1ab30 commit f04a43f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

LoopStructural/interpolators/geological_interpolator.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ def get_norm_constraints(self):
158158
"""
159159
return self.data['normal']
160160

161+
def get_data_locations(self):
162+
norm = self.get_norm_constraints()
163+
grad = self.get_gradient_constraints()
164+
val = self.get_value_constraints()
165+
return np.vstack([norm[:,:3],grad[:,:3],val[:,:3]])
166+
161167
def get_interface_constraints(self):
162168
return self.data['interface']
163169
def setup_interpolator(self, **kwargs):

0 commit comments

Comments
 (0)