Development of discontinuous Galerkin methods for hyperbolic systems that preserve a curl or a divergence constraint | Synapse