Spanning trees

Spanning trees in the computational grid allow us to rapidly construct a particular solution that satisfies a conservation law, such as mass or momentum balance, exactly. We use this in neural network solvers, in which a network only needs to provide the remaining homogeneous part of the solution, so that conservation holds regardless of the accuracy of the network. More generally, spanning trees lead to Poincaré operators and efficient solvers for mixed finite element problems.