Exemple #1
0
 def nb_boundaries(self) -> int:
     """Get the number of boundaries in the mesh."""
     if 'boundaries' not in self.__internals__:
         self.__internals__.update(compute_connectivity(self))
     return len(self.__internals__['boundaries'])
Exemple #2
0
 def ff(self) -> dict:
     """Get the face / faces connectivity dictionary."""
     if 'f_f' not in self.__internals__:
         self.__internals__.update(compute_connectivity(self))
     return self.__internals__['f_f']
Exemple #3
0
 def boundaries(self) -> list:
     """Get a list that stores lists of boundary connected vertices."""
     if 'boundaries' not in self.__internals__:
         self.__internals__.update(compute_connectivity(self))
     return self.__internals__['boundaries']
Exemple #4
0
 def vv(self) -> dict:
     """Get the vertex / vertex connectivity dictionary."""
     if 'v_v' not in self.__internals__:
         self.__internals__.update(compute_connectivity(self))
     return self.__internals__['v_v']