Switch NodeIndexSet to bulk compuation of global indices
This replaces void NodeIndexSet::index(localIndex)
for a single index with BufferIterator NodeIndexSet::indices(BufferIterator)
which writes all global indices into the buffer passed via the iterator argument. The return statement should be the incremented iterator pointing past the last written entry. This MR does the following:
- Update concept check for
NodeIndexSet
- Switch to
indices()
in allNodeIndexSet
implementations - Use
indices()
fromDefaultLocalIndexSet
to fill a newly added index buffer - Use concept check in
PowerNodeFactory
andCompositeNodeFactory
The user interface of the LocalIndexSet
remains untouched. However, calling LocalIndexSet::index(localIndex)
will now be faster because the global indices have been precomputed and are handed out from a buffer.