@lru_cache(maxsize=1)
def quads(self):
    "Retrieves an array of quad element node indices\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        npt.NDArray\n            2D array of element nodes for quadrangle nodes\n\n        Notes\n        -----\n        The result of this method is cached, so that multiple calls\n        to it won't result in multiple calculations. If the mesh\n        is modified and the cache is not properly clear the calls\n        to this method can result in invalid return values.\n        "
    return np.array([list(map(self.mesh.nodes.get_index_by_id, element)) for element in self().values() if (len(element) == 4)])
Retrieves an array of quad element node indices

Parameters
----------

Returns
-------
npt.NDArray
    2D array of element nodes for quadrangle nodes

Notes
-----
The result of this method is cached, so that multiple calls
to it won't result in multiple calculations. If the mesh
is modified and the cache is not properly clear the calls
to this method can result in invalid return values.
@lru_cache(maxsize=1)
def quads(self):
    "Retrieves an array of quad element node indices\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        npt.NDArray\n            2D array of element nodes for quadrangle nodes\n\n        Notes\n        -----\n        The result of this method is cached, so that multiple calls\n        to it won't result in multiple calculations. If the mesh\n        is modified and the cache is not properly clear the calls\n        to this method can result in invalid return values.\n        "
    return np.array([list(map(self.mesh.nodes.get_index_by_id, element)) for element in self().values() if (len(element) == 4)])