@lru_cache(maxsize=1)
def __call__(self) -> Dict[(int, npt.NDArray[int])]:
    "Creates a mapping between element IDs and associated node IDs.\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        dict\n            Mapping between element IDs and associated node Ids\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        "
    elements = {(i + 1): (index + 1) for (i, index) in enumerate(self.mesh.msh_t.tria3['index'])}
    elements.update({((i + len(elements)) + 1): (index + 1) for (i, index) in enumerate(self.mesh.msh_t.quad4['index'])})
    return elements
Creates a mapping between element IDs and associated node IDs.

Parameters
----------

Returns
-------
dict
    Mapping between element IDs and associated node Ids

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 __call__(self) -> Dict[(int, npt.NDArray[int])]:
    "Creates a mapping between element IDs and associated node IDs.\n\n        Parameters\n        ----------\n\n        Returns\n        -------\n        dict\n            Mapping between element IDs and associated node Ids\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        "
    elements = {(i + 1): (index + 1) for (i, index) in enumerate(self.mesh.msh_t.tria3['index'])}
    elements.update({((i + len(elements)) + 1): (index + 1) for (i, index) in enumerate(self.mesh.msh_t.quad4['index'])})
    return elements