Get a sequential list of DOF-numbers for each vector-component of each node.
MatS GooseFEM::Mesh::dofs ( size_t nnode , size_t ndim )
For example for 3 nodes in 2 dimensions the output is
Renumber indices to lowest possible indices (returns a copy, input not modified).
MatS GooseFEM::Mesh::renumber ( const MatS &in )
is renumbered to
Reorder indices such that some items are at the beginning or the end (returns a copy, input not modified).
MatS GooseFEM::Mesh::renumber ( const MatS &in , const ColS &idx, std::string location="end" );
inis renumbered such that the 6th item becomes the one-before-last item (), and the 4th item become the last (). The remaining items are renumbered to the lowest index while keeping the same order. The result:
Consider also [