Simulation of magnetohydrodynamic flows - A constrained transport method | Synapse