def get_index_by_id(self, node_id):
    'Converts mesh ID to mesh index.\n\n        Parameters\n        ----------\n        node_id : int\n            ID of the node of interest\n\n        Returns\n        -------\n        int\n            Index of the node of interest\n        '
    return self.id_to_index[node_id]
Converts mesh ID to mesh index.

Parameters
----------
node_id : int
    ID of the node of interest

Returns
-------
int
    Index of the node of interest
def get_index_by_id(self, node_id):
    'Converts mesh ID to mesh index.\n\n        Parameters\n        ----------\n        node_id : int\n            ID of the node of interest\n\n        Returns\n        -------\n        int\n            Index of the node of interest\n        '
    return self.id_to_index[node_id]