Skip to content

Commit

Permalink
lint with black
Browse files Browse the repository at this point in the history
  • Loading branch information
kieran-mackle committed Feb 14, 2024
1 parent 5b59f31 commit e8dc534
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion hypervehicle/components/swept.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion hypervehicle/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion hypervehicle/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e8dc534

Please sign in to comment.