Description
This is a library that provides Discrete Exterior Calculus operators on triangle and quad meshes. Currently, 2D simplicial manifolds embedded in 3-space are supported only for 0-forms. An example constrained Laplacian problem solution is shown at the end. Planned support is for a complete set of operations on 2D, 3D, and 4D simplicial complexes.
Subdivisional surfaces based on quad meshes have been implemented for 0 and 1-forms (almost, boundaries need work). This implementation is independent of embedding/metric, and is templated to support arbitrary data at vertices, edges, and faces, so long as suitable mathematical operators are defined for the data types.
Simple planar mesh with single edge value: 
Single subdivision of above: 
Vertex of valence 11 with single edge value on a neighboring edge: 
Single subdivision of above: 
Single edge value in regular setting on pre-subdivided cube: 
Single subdivision of above: 
Single edge value at valence 3 vertex on pre-subdivided cube: 
Single subdivision of above: 
Presubdivided torus with ~100 values at random edges: 
Two subdivisions of above: 
Download
See the main vDEC page for the download.