libMesh
Functions
libMesh::MeshTools::Private Namespace Reference

Functions

void globally_renumber_nodes_and_elements (MeshBase &)
 There is no reason for a user to ever call this function. More...
 

Function Documentation

◆ globally_renumber_nodes_and_elements()

void libMesh::MeshTools::Private::globally_renumber_nodes_and_elements ( MeshBase mesh)

There is no reason for a user to ever call this function.

This function determines partition-agnostic global indices for all nodes and elements in the mesh.

Note
After this function is called, the mesh will likely be in an inconsistent state, i.e. mesh.nodes(i)->id() != i in the nodes container. Direct node/element access via the mesh.node(n) or mesh.elem(e) functions will likely fail. The original numbering can (and should) be restored with a subsequent call to fix_node_and_element_numbering().

Definition at line 2411 of file mesh_tools.C.

2412 {
2414 }

References libMesh::MeshCommunication::assign_global_indices(), and mesh.

Referenced by libMesh::EquationSystems::_read_impl(), libMesh::RBEvaluation::read_in_vectors_from_multiple_files(), libMesh::EquationSystems::write(), and libMesh::RBEvaluation::write_out_vectors().

mesh
MeshBase & mesh
Definition: mesh_tools.C:2137
libMesh::MeshCommunication::assign_global_indices
void assign_global_indices(MeshBase &) const
This method assigns globally unique, partition-agnostic indices to the nodes and elements in the mesh...
Definition: mesh_communication_global_indices.C:178
libMesh::MeshCommunication
This is the MeshCommunication class.
Definition: mesh_communication.h:50