Skip to content

Commit

Permalink
refactor: removed obsolete class BoundaryCondition
Browse files Browse the repository at this point in the history
  • Loading branch information
leuraph committed Jan 22, 2024
1 parent 05c9ee7 commit fe0d207
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions p1afempy/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,6 @@ def get_directional_vectors(coordinates: np.ndarray,
return d21, d31


class BoundaryCondition:
"""
A boundary condition.
instance variables
------------------
name: str
The name of the boundary condition
boundary: np.ndarray
boundary[k] holds the indices (i, j) of the vertices making up the
k-th edge of the boundary.
"""
name: str
boundary: np.ndarray

def __init__(self, name: str, boundary: np.ndarray) -> None:
self.name = name
self.boundary = boundary


def plot_mesh(coordinates: np.ndarray,
elements: np.ndarray) -> None:
for element in elements:
Expand Down

0 comments on commit fe0d207

Please sign in to comment.