Minimum energy flattening of doubly curved surfaces or meshes?

See the definitions in this thread: