In mathematics a Dirac structure is a geometric construction generalizing both symplectic structures and Poisson structures, and having several applications to mechanics. It is based on the notion of the Dirac bracket constraint introduced by Paul Dirac and was first introduced by Ted Courant and Alan Weinstein.