Structure preserving numerical methods for partial differential equations, Bernoulli Center, EPFL, Switzerland.