diff --git a/hypervehicle/components/swept.py b/hypervehicle/components/swept.py index 242bb91..07ae494 100644 --- a/hypervehicle/components/swept.py +++ b/hypervehicle/components/swept.py @@ -83,7 +83,6 @@ def __init__( ) def generate_patches(self): - self.patches["swept_patch_north"] = SweptPatchMultiFace( cross_sections=self.cross_sections, sweep_axis=self.sweep_axis, diff --git a/hypervehicle/geometry.py b/hypervehicle/geometry.py index b397579..b12c45b 100644 --- a/hypervehicle/geometry.py +++ b/hypervehicle/geometry.py @@ -735,7 +735,6 @@ def __repr__(self): return "Swept Patch Multi Face" def __call__(self, r, s) -> Vector3: - if callable(self._method_to_call): s_dash = self._method_to_call(s) else: diff --git a/hypervehicle/utilities.py b/hypervehicle/utilities.py index 0e9e443..46b3278 100644 --- a/hypervehicle/utilities.py +++ b/hypervehicle/utilities.py @@ -127,7 +127,6 @@ def create_cells( cell_ids = [] for i in range(ni): for j in range(nj): - ############################################################ ### Amir - adding ni != nj capability for tagging sub_patchs @@ -162,6 +161,7 @@ def create_cells( return (vertices, cell_ids) + def default_vertex_func(lb, ub, steps, spacing=1.0): span = ub - lb dx = 1.0 / (steps - 1)