Skip to content

Commit

Permalink
add prototypes to satisfy mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
kinnala committed Oct 4, 2024
1 parent 243a3cf commit a1435da
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions skfem/mapping/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ def detDG(self,
"""
raise NotImplementedError

def H(self,
X: ndarray,
eind: Optional[ndarray] = None) -> ndarray:
"""Perform a mapping from the reference to global edge."""
raise NotImplementedError

def detDH(self,
X: ndarray,
eind: Optional[ndarray] = None) -> ndarray:
"""The jacobian determinant of H."""
raise NotImplementedError

def normals(self,
X: ndarray,
tind: ndarray,
Expand Down

0 comments on commit a1435da

Please sign in to comment.