Skip to content
Snippets Groups Projects
Commit 78bbd85f authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

fixed failing test

parent eb1ce6bb
No related branches found
No related tags found
1 merge request!94Handle disabled mpi
...@@ -8,6 +8,7 @@ class BoundaryComp(ExplicitComponent): ...@@ -8,6 +8,7 @@ class BoundaryComp(ExplicitComponent):
def __init__(self, vertices, nTurbines, boundary_type='convex_hull'): def __init__(self, vertices, nTurbines, boundary_type='convex_hull'):
super(BoundaryComp, self).__init__() super(BoundaryComp, self).__init__()
self.nTurbines = nTurbines self.nTurbines = nTurbines
self.vertices = np.array(vertices)
self.nVertices = self.vertices.shape[0] self.nVertices = self.vertices.shape[0]
self.calculate_boundary_and_normals(vertices, boundary_type) self.calculate_boundary_and_normals(vertices, boundary_type)
self.calculate_gradients() self.calculate_gradients()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment