Skip to content

Commit

Permalink
fix: fault interpolation taking a long time
Browse files Browse the repository at this point in the history
faults were being given too many DOF. because the bounding box was
not correct.
  • Loading branch information
Lachlan Grose committed Dec 8, 2021
1 parent 20588c5 commit 78fa916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LoopStructural/modelling/fault/fault_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def __init__(

StructuralFrameBuilder.__init__(self, interpolator, interpolators, **kwargs)
self.model = model
self.origin = np.zeros(3) # self.model.bounding_box[0, :]
self.maximum = np.zeros(3) # self.model.bounding_box[1, :]
self.origin = np.array([np.nan, np.nan, np.nan])
self.maximum = np.array([np.nan, np.nan, np.nan]) # self.model.bounding_box[1, :]
# define a maximum area to mesh adding buffer to model
# buffer = .2
self.minimum_origin = self.model.bounding_box[
Expand Down

0 comments on commit 78fa916

Please sign in to comment.