Single vertices
We had several cases of segmented network grid files that contained single vertices. When read into FoamGrid the factory inserts these vertices that do not belong to any element.
One could argue that the grid file is broken and FoamGrid does not need to support this. However, it is not always obvious in the program since some codes will e.g. never iterate over vertices. But then when you switch to another scheme where vertices are important, the code will suddenly fail.
Is is considered a feature that FoamGrid supports single vertices? Or is it a bug? The factory could be easily adjusted to only insert vertices belonging to elements. This is also done in the growth interface. Vertices not belonging to elements are not inserted.
Edited by Timo Koch