Skip to content

Commit

Permalink
fix: kwargs in interpolator
Browse files Browse the repository at this point in the history
too add buffer in intrusion frame
  • Loading branch information
Fer071989 committed Feb 11, 2023
1 parent 32c2b7e commit 06f39d7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions LoopStructural/modelling/core/geological_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,8 @@ def create_and_add_intrusion(
nelements = kwargs.get("nelements", 1e2)

weights = [gxxgz, gxxgy, gyxgz]
interpolator = self.get_interpolator(interpolatortype=interpolatortype)

interpolator = self.get_interpolator(interpolatortype=interpolatortype, **kwargs)

intrusion_frame_builder = IntrusionFrameBuilder(
interpolator, name=intrusion_frame_name, model=self, **kwargs
Expand Down Expand Up @@ -1325,7 +1326,7 @@ def create_and_add_unconformity(self, unconformity_surface_data, **kwargs):
uc_feature_base.type = "unconformity_base"
# uc_feature = UnconformityFeature(uc_feature_base,0)
# iterate over existing features and add the unconformity as a
# region so the feature is only
# region so the feature is only
# evaluated where the unconformity is positive
return self.add_unconformity(uc_feature_base, 0)

Expand Down

0 comments on commit 06f39d7

Please sign in to comment.