Fundamental class of an orientable simplicial pseudomanifold (source code)

= Fundamental class of an orientable simplicial pseudomanifold

Compatible orientations of all top-dimensional simplices make their signed sum a cycle. For a connected pseudomanifold this cycle generates top homology over the integers; if no compatible orientation exists, top integral homology is zero.