Replies: 2 comments
-
Yes, that is something we have considered and would totally make sense. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I second Ivar's opinion. It is not clear to me what is the standard way of defining such types (separate module or something else), but I'm sure the internet has an answer to it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
in several places in the package there are definitions of Type Annotations like
GridLike = Union[pp.Grid, pp.MortarGrid]
or
VarLike = Union[pp.ad.Variable, pp.ad.MergedVariable]
.Is there some motivation (and would it make sense) to formally introduce PorePy types and define them clearly in a submodule for a uniform and consistent usage throughout the package?
BR,
Veljko
Beta Was this translation helpful? Give feedback.
All reactions