-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: added new constraint class for interpolation
- Loading branch information
1 parent
d450060
commit 30f5ab3
Showing
8 changed files
with
196 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
from .structural_frame_builder import StructuralFrameBuilder | ||
from ..datatypes import ConstraintType, InterpolationConstraints | ||
from .structural_frame_builder import Builder | ||
from ..input import OptData | ||
from ..datatypes import CoordinateType, InterpolationConstraints | ||
from LoopStructural import LoopInterpolator, BoundingBox | ||
import numpy | ||
|
||
|
||
class FoldFrameBuilder(StructuralFrameBuilder): | ||
class FoldFrameBuilder(Builder): | ||
|
||
def __init__(self, constraints: InterpolationConstraints, bounding_box: BoundingBox): | ||
def __init__(self, constraints: OptData, bounding_box: BoundingBox): | ||
super().__init__(constraints, bounding_box) | ||
|
||
def build_axial_surface_field(self): | ||
pass | ||
|
||
self.set_constraints() | ||
|
||
def build_fold_axis_field(self): | ||
pass | ||
|
||
def build_x_axis_field(self): | ||
pass | ||
|
||
def build(self): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from .probability_distributions import NormalDistribution, VonMisesFisherDistribution | ||
from .input_geological_knowledge import InputGeologicalKnowledge | ||
from .enums import KnowledgeType, OptimisationType, ObjectiveType, DataType, SolverType, ConstraintType | ||
from .enums import * | ||
from .interpolation_constraints import InterpolationConstraints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from .input_data_checker import CheckInputData | ||
from .input_data_processor import InputDataProcessor | ||
from .data_storage import InputData, OptData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters