Unstructured Grid/Mesh Library Supporting Efficient Representation and Topological Queries