This little library enumerates the objects in a tensor product chain complex, that is for instance, the k-dimensional facets in an n-dimensional Cartesian mesh.
Design goals are
- regular numbering schemes which are purely algorithmic and do not need data.
- enable as much compile time computation as possible, thus reducing runtime overhead.
- header-only library without configuration step which can be used easily by other projects
Here is an example for a tensor product chain complex in three dimension. The objects are shrunk for better visibility, in reality they are touching.
No further picture for those. These are just the vertices of the 3D bricks.